{"id":437,"date":"2016-12-31T23:06:57","date_gmt":"2016-12-31T23:06:57","guid":{"rendered":"https:\/\/zhutarduino.wordpress.com\/?page_id=437"},"modified":"2019-10-20T18:17:55","modified_gmt":"2019-10-20T18:17:55","slug":"arduino-bluetooth-mouse-trap-monitor","status":"publish","type":"page","link":"https:\/\/thezhut.com\/?page_id=437","title":{"rendered":"ARDUINO BLUETOOTH MOUSE TRAP MONITOR"},"content":{"rendered":"<h1><\/h1>\n<h1>Click below for a video tutorial on how to build and use this project.<\/h1>\n<p><iframe loading=\"lazy\" title=\"How To Build a ARDUINO Bluetooth Smart Phone Monitored Mouse Trap Tutorial\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/eORL7UmVPXE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h1><\/h1>\n<h1><a href=\"https:\/\/www.facebook.com\/zarduino\/\">Check us out on Facebook!<\/a><\/h1>\n<h1>THE ANDROID APP:<\/h1>\n<h2><a href=\"https:\/\/drive.google.com\/open?id=0B0ZYw2jO5Q3DQldxNVlNeWwtVWc\" target=\"_blank\" rel=\"noopener noreferrer\">CLICK HERE TO DOWNLOAD THE APP.<\/a><\/h2>\n<h1>The Schematic:<\/h1>\n<p>When you build the circuit do not put R2 resistor in untill last, Start with a high value (around 100k) then power up the circuit with between 6 and 12 volts. with the trap open so the alarm would go off start trying smaller value resistors untill the alarm goes off.<\/p>\n<p>In this schematic I used a 8 channel logic level converter but a two channel will work the best and save space on your board.<\/p>\n<p><a href=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-443\" src=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap.jpg?w=300\" alt=\"bt_mouse_trap\" width=\"644\" height=\"348\" srcset=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap.jpg 1581w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap-300x162.jpg 300w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap-768x415.jpg 768w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/01\/bt_mouse_trap-1024x554.jpg 1024w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/a><\/p>\n<h1>Parts List:<\/h1>\n<p>affiliate links<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=ARDUINO BOARD&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=e0bd38dcb3f60c8a52dd5c86f92bc468\" target=\"_blank\" rel=\"noopener noreferrer\">ARDUINO BOARD.<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=hc-06&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=26fdc786a18bcce951a0b10509aea5fc\" target=\"_blank\" rel=\"noopener noreferrer\">HC-06 or HC-05 Bluetooth Board.<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=Logic Level Converter&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=a06d599916dc984c38874fac6e201ff1\" target=\"_blank\" rel=\"noopener noreferrer\">Logic LVL Converter.<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=Photo Interupter&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=8a32c6be2f44c2baf9bb63cfc00b17e4\" target=\"_blank\" rel=\"noopener noreferrer\">Photo Interupter<\/a>.<\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=resistors&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=190a68e5ee21f1f0ffb3b97d8f96e810\" target=\"_blank\" rel=\"noopener noreferrer\">Resistors.<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino bread board&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=71b4fb57580807d4b97dfbe850f4358f\" target=\"_blank\" rel=\"noopener noreferrer\">Bread Board.<\/a><\/p>\n<p><a href=\"https:\/\/www.amazon.com\/gp\/search\/ref=as_li_qf_sp_sr_il_tl?ie=UTF8&amp;tag=zhut01-20&amp;keywords=arduino jumper wires&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=5b9f6c44eec4b003d781b854a512ca26\" target=\"_blank\" rel=\"noopener noreferrer\">Jumper Wires.<\/a><\/p>\n<h1>THE ARDUINO SKETCH:<\/h1>\n<h1>(remember to disconnect the bluetooth board\u00a0or its power before uploading the sketch.)<\/h1>\n<p>int val;<br \/>\nvoid setup() {<br \/>\nSerial.begin(9600);<\/p>\n<p>}<\/p>\n<p>void loop() {<\/p>\n<p>val = analogRead(A7);<br \/>\nif (val&gt;100)<br \/>\n{<br \/>\nSerial.println(&#8220;YOU GOT A MOUSE&#8221;);<br \/>\n}<br \/>\nelse<br \/>\n{<br \/>\nSerial.println(&#8220;TRAP IS ARMED&#8221;);<br \/>\n}<br \/>\ndelay(10000);<\/p>\n<p>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Click below for a video tutorial on how to build and use this project. Check us out on Facebook! THE ANDROID APP: CLICK HERE TO DOWNLOAD THE APP. The Schematic: When you build the circuit do not put R2 resistor &hellip; <a href=\"https:\/\/thezhut.com\/?page_id=437\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":421,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-437","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/437","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=437"}],"version-history":[{"count":2,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/437\/revisions"}],"predecessor-version":[{"id":1480,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/437\/revisions\/1480"}],"up":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/421"}],"wp:attachment":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=437"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}