{"id":4946,"date":"2015-01-18T16:37:48","date_gmt":"2015-01-18T16:37:48","guid":{"rendered":"http:\/\/randomnerdtutorials.com\/?p=4946"},"modified":"2019-04-02T10:23:36","modified_gmt":"2019-04-02T10:23:36","slug":"modifying-cheap-pir-motion-sensor-to-work-at-3-3v","status":"publish","type":"post","link":"https:\/\/randomnerdtutorials.com\/modifying-cheap-pir-motion-sensor-to-work-at-3-3v\/","title":{"rendered":"Modifying Cheap PIR Motion Sensor to Work at 3.3V"},"content":{"rendered":"<p>This\u00a0<a href=\"http:\/\/ebay.to\/1xGwht6\" target=\"_blank\" rel=\"noopener noreferrer\">PIR motion sensor<\/a>\u00a0is a $2 sensor that\u00a0is used to detect movement from humans or pets.\u00a0You can read my previous tutorial on <a href=\"https:\/\/randomnerdtutorials.com\/arduino-with-pir-motion-sensor\/\">how to use this sensor with an Arduino<\/a>.<!--more--><\/p>\n<p><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-29749\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=300%2C251&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"\" width=\"300\" height=\"251\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?w=300&amp;quality=100&amp;strip=all&amp;ssl=1 300w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=150%2C126&amp;quality=100&amp;strip=all&amp;ssl=1 150w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=80%2C67&amp;quality=100&amp;strip=all&amp;ssl=1 80w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=220%2C184&amp;quality=100&amp;strip=all&amp;ssl=1 220w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=120%2C100&amp;quality=100&amp;strip=all&amp;ssl=1 120w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=179%2C150&amp;quality=100&amp;strip=all&amp;ssl=1 179w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2014\/08\/pir.jpg?resize=284%2C238&amp;quality=100&amp;strip=all&amp;ssl=1 284w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I&#8217;m currently working on a new project and I needed to make this module operate\u00a0at 3.3V. By default this module runs at\u00a05V, but it has an on board voltage regulator that drops that voltage to 3.3V. \u00a0With a quick online search I&#8217;ve found a\u00a0blog <a href=\"http:\/\/techgurka.blogspot.pt\/2013\/05\/cheap-pyroelectric-infrared-pir-motion.html\" target=\"_blank\" rel=\"noopener noreferrer\">post<\/a>\u00a0that\u00a0explains how you can bypass the voltage regulator and use this module at 3.3V, which is exactly what I needed.<\/p>\n<h2>Where to buy one?<\/h2>\n<p>You can <a href=\"https:\/\/makeradvisor.com\/tools\/pir-motion-sensor-hc-sr501\/\" target=\"_blank\" rel=\"noopener noreferrer\">click here<\/a> to compare the PIR motion sensor (HC-SR501) at different stores and find the best price.<\/p>\n<h2>Before soldering<\/h2>\n<p>Some of these modules\u00a0come with pins soldered in that top right corner, so you don&#8217;t have to solder anything. You would simply connect a jumper wire\u00a0to that\u00a0pin that is highlighted in red (see Figure below). With my particular sensor\u00a0I had to solder a small wire.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter wp-image-4947 \" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino.jpg?resize=480%2C377&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"pir_motion_sensor_arduino\" width=\"480\" height=\"377\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino.jpg?w=736&amp;quality=100&amp;strip=all&amp;ssl=1 736w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino.jpg?resize=300%2C236&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<h2>After soldering<\/h2>\n<p>Here&#8217;s how it looks, now if you supply\u00a03.3V through that red wire\u00a0your module\u00a0works at 3.3V.<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino_3.3V.jpg?quality=100&#038;strip=all&#038;ssl=1\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"aligncenter size-full wp-image-4948\" src=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino_3.3V.jpg?resize=600%2C398&#038;quality=100&#038;strip=all&#038;ssl=1\" alt=\"pir_motion_sensor_arduino_3.3V\" width=\"600\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino_3.3V.jpg?w=600&amp;quality=100&amp;strip=all&amp;ssl=1 600w, https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino_3.3V.jpg?resize=300%2C199&amp;quality=100&amp;strip=all&amp;ssl=1 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h2>Testing<\/h2>\n<p>I&#8217;ve tested this sensor\u00a0with an <a href=\"https:\/\/randomnerdtutorials.com\/arduino-with-pir-motion-sensor\/\">Arduino using this code<\/a>. The only difference between that previous blog post is that now I can power my\u00a0module with the\u00a03.3V pin of the Arduino!<\/p>\n<h4>Do you have any questions?\u00a0Leave a comment down below!<\/h4>\n<p>Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my\u00a0Facebook Page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This\u00a0PIR motion sensor\u00a0is a $2 sensor that\u00a0is used to detect movement from humans or pets.\u00a0You can read my previous tutorial on how to use this sensor with an Arduino.<\/p>\n","protected":false},"author":1,"featured_media":4948,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[305,2,256,269,264,215,10],"tags":[],"class_list":["post-4946","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-0-other","category-arduino","category-electronics","category-guide-project","category-project","category-sensors","category-a-tutorials"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/randomnerdtutorials.com\/wp-content\/uploads\/2015\/01\/pir_motion_sensor_arduino_3.3V.jpg?fit=600%2C398&quality=100&strip=all&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/4946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/comments?post=4946"}],"version-history":[{"count":0,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/posts\/4946\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media\/4948"}],"wp:attachment":[{"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/media?parent=4946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/categories?post=4946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomnerdtutorials.com\/wp-json\/wp\/v2\/tags?post=4946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}