{"id":10497,"date":"2015-10-02T09:15:46","date_gmt":"2015-10-02T16:15:46","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=10497"},"modified":"2021-06-16T15:55:53","modified_gmt":"2021-06-16T22:55:53","slug":"behind-you-anti-creeper-alert","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/behind-you-anti-creeper-alert\/","title":{"rendered":"Behind You! Anti Creeper Alert"},"content":{"rendered":"<p>Have you ever been listening to music with your headphones and been scared half to death by someone coming up behind you? Well if you&#8217;d like to live a life without fear, consider the Behind You! Anti Creeper Alert System project! \u00a0Check out the video below for more information and also take a look at <a href=\"http:\/\/www.instructables.com\/id\/Behind-You-Anti-Creeper-Alert-System\/\" target=\"_blank\" rel=\"noopener\">my Instructable<\/a>.<\/p>\n<div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" width=\"735\" height=\"413\" src=\"https:\/\/www.youtube.com\/embed\/mYueQtE8Rac?feature=oembed\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe><\/div>\n<p>This project utilizes\u00a0<a href=\"http:\/\/www.ni.com\/labview\/\" target=\"_blank\" rel=\"noopener\">LabVIEW<\/a>, <a href=\"https:\/\/www.labviewmakerhub.com\/doku.php?id=libraries:linx:start\" target=\"_blank\" rel=\"noopener\">LabVIEW MakerHub LINX<\/a>, the <a href=\"https:\/\/digilent.com\/blog\/wf32\/\" target=\"_blank\" rel=\"noopener\">chipKIT WF32<\/a>, the <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,401,1272&amp;Prod=PMOD-MAXSONAR\" target=\"_blank\" rel=\"noopener\">PmodMAXSONAR<\/a>, the <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?&amp;Prod=PMOD-HB5\" target=\"_blank\" rel=\"noopener\">PmodHB5<\/a>, and a <a href=\"https:\/\/digilent.com\/blog\/Products\/Detail.cfm?NavPath=2,403,625&amp;Prod=MT-MOTOR\" target=\"_blank\" rel=\"noopener\">motor<\/a> to\u00a0let you listen to music without having to worry about someone sneaking up on you.<\/p>\n<p><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-10498\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep-600x382.png\" alt=\"testcreep\" width=\"600\" height=\"382\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep-600x382.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep-1024x651.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep-800x509.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep.png 1530w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>The chipKIT WF32 is connected to LabVIEW via WiFi and receives power from four AA batteries. The WF32 uses the PmodMAXSONAR to read the distance between the back of your chair and objects behind you. \u00a0When something gets within two feet, the chipKIT WF32 will send PWM value of 100% to the PmodHB5 which will turn on the motor to full power. \u00a0The flag elegantly attached to the motor then spins and taps you on your shoulder or arm. \u00a0Once the person is no longer within two feet from you, the motor will turn back off and you can continue to listen to your music in peace. \u00a0Check out the LabVIEW block diagram below to see how I wrote the code!<\/p>\n<p><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/PmodMAXSONAR__Demod.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-10499\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/PmodMAXSONAR__Demod-600x146.png\" alt=\"PmodMAXSONAR__Demod\" width=\"600\" height=\"146\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/PmodMAXSONAR__Demod-600x146.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/PmodMAXSONAR__Demod.png 894w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Try using this project and the PmodMAXSONAR VIs to inspire your own project! Halloween is coming up and the PmodMAXSONAR is the perfect Pmod to scare some trick-or-treaters that get too close to your spooky ghoul.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-10497 jlk' data-task='like' data-post_id='10497' data-nonce='5286a1c13f' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-10497 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-10497 jlk' data-task='unlike' data-post_id='10497' data-nonce='5286a1c13f' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-10497 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-10497 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>There might be someone behind you right now&#8230;<\/p>\n","protected":false},"author":33,"featured_media":10498,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[38,4327,1561],"tags":[],"ppma_author":[4481],"class_list":["post-10497","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-expansion-modules","category-projects","category-applications"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/09\/testcreep.png","jetpack_sharing_enabled":true,"authors":[{"term_id":4481,"user_id":33,"is_guest":0,"slug":"sudharsan-sukumar","display_name":"Sudharsan Sukumar","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/a14d4c855a4738a3b7d04f48ab9936a38ea5a056ea75b4761a407b53dac5597b?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/10497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=10497"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/10497\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/10498"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=10497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=10497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=10497"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=10497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}