{"id":740,"date":"2017-04-17T22:06:32","date_gmt":"2017-04-17T22:06:32","guid":{"rendered":"https:\/\/zhutarduino.wordpress.com\/?page_id=740"},"modified":"2020-10-12T16:45:23","modified_gmt":"2020-10-12T16:45:23","slug":"how-to-control-a-relay-with-a-pir-motion-sensor","status":"publish","type":"page","link":"https:\/\/thezhut.com\/?page_id=740","title":{"rendered":"How to control a relay with a PIR motion sensor"},"content":{"rendered":"<h1>This tutorial will show you how to control a relay using a PIR motion sensor.<\/h1>\n<h2>Click on video for full tutorial.<\/h2>\n<p><iframe loading=\"lazy\" title=\"How to control a relay with a PIR motion sensor\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/KcHTH2WBS-0?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<h2>PARTS LIST:<\/h2>\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=pir sensor&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=34b13812707000a3a56b853f072223cf\">PIR<\/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=relay&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=92212fd1da79fe814cd8ca8ffe1384ae\">Relay<\/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=l7805&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=d073e375774a64a1794df098847967a3\">L7805 \u00a05 volt regulator<\/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=capacitor&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=7d329af34c465a0b342a8b8f87800011\">capacitors<\/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=2n2222&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=cb53d6e8033eccb65e9ebd22f26ce58d\">2N2222 transistor<\/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=resistor&amp;index=aps&amp;camp=1789&amp;creative=9325&amp;linkCode=xm2&amp;linkId=bdfe00f0e79c3d6aa5f789b661f90f7a\">resistor<\/a><\/p>\n<h2>SCHEMATIC:<\/h2>\n<p><a href=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/04\/pirrelay_schem.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-744\" src=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/04\/pirrelay_schem.jpg?w=300\" alt=\"\" width=\"639\" height=\"441\" srcset=\"https:\/\/thezhut.com\/wp-content\/uploads\/2017\/04\/pirrelay_schem.jpg 918w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/04\/pirrelay_schem-300x207.jpg 300w, https:\/\/thezhut.com\/wp-content\/uploads\/2017\/04\/pirrelay_schem-768x530.jpg 768w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to control a relay using a PIR motion sensor. Click on video for full tutorial. PARTS LIST: #affiliate links# PIR Relay L7805 \u00a05 volt regulator capacitors 2N2222 transistor resistor SCHEMATIC:<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":37,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-740","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/740","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=740"}],"version-history":[{"count":2,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/740\/revisions"}],"predecessor-version":[{"id":1618,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/740\/revisions\/1618"}],"up":[{"embeddable":true,"href":"https:\/\/thezhut.com\/index.php?rest_route=\/wp\/v2\/pages\/37"}],"wp:attachment":[{"href":"https:\/\/thezhut.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}