{"id":5679,"date":"2015-12-20T23:22:05","date_gmt":"2015-12-21T06:22:05","guid":{"rendered":"http:\/\/www.apolonio.com\/blog\/?p=5679"},"modified":"2015-12-24T23:40:43","modified_gmt":"2015-12-25T06:40:43","slug":"iot-motion-sensor","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=5679","title":{"rendered":"IoT Motion Sensor"},"content":{"rendered":"<p>This mod was so amazingly simple. \u00a0A couple of weeks ago I saw this ad in some Harbor Freight flyer I got.<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorSale.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5680\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorSale.jpg\" alt=\"BunkerHIllMotionSensorSale\" width=\"303\" height=\"253\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorSale.jpg 718w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorSale-300x251.jpg 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/a><a href=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorCoupon.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5681\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorCoupon.jpg\" alt=\"BunkerHillMotionSensorCoupon\" width=\"246\" height=\"239\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorCoupon.jpg 495w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorCoupon-300x291.jpg 300w\" sizes=\"auto, (max-width: 246px) 100vw, 246px\" \/><\/a><\/p>\n<p>Since I had a coupon I decided to try one out. \u00a0I am sure glad I did, now I am ready to pick up a couple more.<\/p>\n<p>There are two parts, a motion sensor transmitter and a receiver chime.<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorBox.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5682\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorBox.jpg\" alt=\"BunkerHillMotionSensorBox\" width=\"774\" height=\"600\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorBox.jpg 774w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHillMotionSensorBox-300x233.jpg 300w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/a><\/p>\n<p>I wasn&#8217;t going to modify the transmitter, I just worked on the receiver part.<\/p>\n<p>It uses either 3 C Size batteries, there is a label outside saying it can take a 6 volt DC power supply as well, but I tried a 5V power supply and it works too.<\/p>\n<p>There are 6 screws holding this shut, 4 slightly larger screws were external, 2 were under the battery.<\/p>\n<p>I looked at the PC board and using a digital multimeter I was able to identify the where the chime signal came out.<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorNoMod.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5683\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorNoMod.jpg\" alt=\"BunkerHIllMotionSensorNoMod\" width=\"800\" height=\"600\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorNoMod.jpg 800w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensorNoMod-300x225.jpg 300w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>When the alarm triggers, it sends a .4V signal down the signal line. \u00a0Attaching the other link to your arduino, rasperry pi, or esp8266 ground makes this thing work.<\/p>\n<p>In my arduino code I simply use the digitalRead function. \u00a0I am decided to use a NodeMCU.<\/p>\n<p><a href=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensoronNodeMCU.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5684\" src=\"http:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensoronNodeMCU.jpg\" alt=\"BunkerHIllMotionSensoronNodeMCU\" width=\"800\" height=\"600\" srcset=\"https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensoronNodeMCU.jpg 800w, https:\/\/www.apolonio.com\/blog\/wp-content\/uploads\/2015\/12\/BunkerHIllMotionSensoronNodeMCU-300x225.jpg 300w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>The actual hardware mod took less than an hour, \u00a0now that I know what plugs where, I would say it would take me half an hour to do one.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This mod was so amazingly simple. \u00a0A couple of weeks ago I saw this ad in some Harbor Freight flyer I got. Since I had a coupon I decided to try one out. \u00a0I am sure glad I did, now &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=5679\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,14,11,3],"tags":[],"class_list":["post-5679","post","type-post","status-publish","format-standard","hentry","category-arduino","category-new-toys","category-technical","category-training"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5679"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5679\/revisions"}],"predecessor-version":[{"id":5685,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5679\/revisions\/5685"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}