<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[PIR Sensor + Raspi]]></title><description><![CDATA[<p dir="auto">Hi everyone!<br />
I’ve got a doubt. I’ve been watching a few videos on youtube on how to connect the pir sensor to the raspi.<br />
In every video, they use an arduino or a protoboard. Is this really necesary, or with the female-female cable, the PIR sensor and the raspi is enought?</p>
<p dir="auto">Kind regards</p>
]]></description><link>https://forum.magicmirror.builders/topic/2713/pir-sensor-raspi</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 16:46:40 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2713.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jun 2017 14:01:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PIR Sensor + Raspi on Thu, 15 Jun 2017 08:24:52 GMT]]></title><description><![CDATA[<p dir="auto">i have the same problem, my magic mirror installation is fine, but when it comes to pir motion sensor installation , i have not able to set it up it correctly, my pir will sense it when there is a movement but my magic mirror has no reaction, it will just stays on.any suggestion…i have rasp pi 3, pir motion sens conn to gpio 18. no error message. …</p>
<pre><code>{
module: 'MMM-PIR-Sensor',
    config: {
        sensorPIN: '18',
        powerSaving: 'true'
    }
},
</code></pre>
<p dir="auto">(my module config)</p>
]]></description><link>https://forum.magicmirror.builders/post/22984</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22984</guid><dc:creator><![CDATA[hans2012]]></dc:creator><pubDate>Thu, 15 Jun 2017 08:24:52 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Wed, 14 Jun 2017 09:00:19 GMT]]></title><description><![CDATA[<p dir="auto">Try again what PtrBld suggested with calibrating the PIR Sensor Tuning by turning the knobs so see if you get different results.</p>
<p dir="auto">Otherwise, this image show you which pins you have connected. If oyou have it set up the way PtrBld suggested, you change the code to 24.</p>
<p dir="auto"><img src="https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/images/gpio-numbers-pi2.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/22960</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22960</guid><dc:creator><![CDATA[McSorley]]></dc:creator><pubDate>Wed, 14 Jun 2017 09:00:19 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Sat, 10 Jun 2017 00:58:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcsorley" aria-label="Profile: McSorley">@<bdi>McSorley</bdi></a> Hi I have tested, and always says motion detected, never ends, even when there is no motion</p>
]]></description><link>https://forum.magicmirror.builders/post/22552</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22552</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Sat, 10 Jun 2017 00:58:35 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Fri, 09 Jun 2017 14:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcsorley" aria-label="Profile: McSorley">@<bdi>McSorley</bdi></a> so, the (4) you’ve put in the example before, wich of the 3 cables is?<br />
Sorry, I’m pretty new in this, and I can’t get it easyly</p>
]]></description><link>https://forum.magicmirror.builders/post/22525</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22525</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Fri, 09 Jun 2017 14:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Fri, 09 Jun 2017 13:44:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pepemujica" aria-label="Profile: pepemujica">@<bdi>pepemujica</bdi></a> <a href="http://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/" target="_blank" rel="noopener noreferrer nofollow ugc">www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/</a></p>
<p dir="auto">You have 5v, Ground, then GPIO.</p>
]]></description><link>https://forum.magicmirror.builders/post/22524</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22524</guid><dc:creator><![CDATA[McSorley]]></dc:creator><pubDate>Fri, 09 Jun 2017 13:44:34 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Thu, 08 Jun 2017 13:48:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcsorley" aria-label="Profile: McSorley">@<bdi>McSorley</bdi></a> said in <a href="/post/22482">PIR Sensor + Raspi</a>:</p>
<blockquote>
<p dir="auto">Keeping in mind for both this code and the module that you have the correct pin number.</p>
</blockquote>
<p dir="auto">How do I know in what pin are the 3 cables connected?</p>
]]></description><link>https://forum.magicmirror.builders/post/22487</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22487</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Thu, 08 Jun 2017 13:48:46 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Thu, 08 Jun 2017 08:53:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pepemujica" aria-label="Profile: pepemujica">@<bdi>pepemujica</bdi></a> Good way to make sure you have it connected correctly and that the PIR is operating is to try out the python code in the link I sent.</p>
<pre><code>from gpiozero import MotionSensor

pir = MotionSensor(4)
while True:
    if pir.motion_detected:
        print("Motion detected!")
</code></pre>
<p dir="auto">Keeping in mind for both this code and the module that you have the correct pin number.</p>
]]></description><link>https://forum.magicmirror.builders/post/22482</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22482</guid><dc:creator><![CDATA[McSorley]]></dc:creator><pubDate>Thu, 08 Jun 2017 08:53:49 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Thu, 08 Jun 2017 07:28:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pepemujica" aria-label="Profile: pepemujica">@<bdi>pepemujica</bdi></a> said in <a href="/post/22477">PIR Sensor + Raspi</a>:</p>
<blockquote>
<p dir="auto">Any idea why is not working?</p>
</blockquote>
<p dir="auto">Maybe you should calibrate your PIR sensor tuning. There are two little orange knobs where you can adjust the sensitivity of the sensor.<br />
<img src="https://www.raspberrypi.org/learning/parent-detector/images/pir_potentiometers.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/22481</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22481</guid><dc:creator><![CDATA[PtrBld]]></dc:creator><pubDate>Thu, 08 Jun 2017 07:28:34 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Thu, 08 Jun 2017 03:01:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ptrbld" aria-label="Profile: PtrBld">@<bdi>PtrBld</bdi></a> Hi! I am trying yo use the PIR-Sensor module, but I have no result, the screen never goes black.<br />
I have connected the cables as the picture you post. Any idea why is not working?</p>
]]></description><link>https://forum.magicmirror.builders/post/22477</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22477</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Thu, 08 Jun 2017 03:01:12 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Wed, 07 Jun 2017 17:50:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ptrbld" aria-label="Profile: PtrBld">@<bdi>PtrBld</bdi></a> Thank you very much!</p>
]]></description><link>https://forum.magicmirror.builders/post/22458</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22458</guid><dc:creator><![CDATA[pepemujica]]></dc:creator><pubDate>Wed, 07 Jun 2017 17:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Wed, 07 Jun 2017 15:10:53 GMT]]></title><description><![CDATA[<p dir="auto">I have it wired a little different. I have it connected to a different GPIO Pin.</p>
<p dir="auto">Following this guide worked beautifully.<br />
<a href="https://www.raspberrypi.org/learning/parent-detector/worksheet/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/learning/parent-detector/worksheet/</a></p>
]]></description><link>https://forum.magicmirror.builders/post/22450</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22450</guid><dc:creator><![CDATA[McSorley]]></dc:creator><pubDate>Wed, 07 Jun 2017 15:10:53 GMT</pubDate></item><item><title><![CDATA[Reply to PIR Sensor + Raspi on Wed, 07 Jun 2017 15:02:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you do not need to use an arduino or anything else. Just connect the Pir-Sensor to the raspberry pi like this:</p>
<p dir="auto"><img src="https://tutorials-raspberrypi.de/wp-content/uploads/pir-455x625.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/22449</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/22449</guid><dc:creator><![CDATA[PtrBld]]></dc:creator><pubDate>Wed, 07 Jun 2017 15:02:46 GMT</pubDate></item></channel></rss>