Open untitledlt opened 6 years ago
You can use any GPI pin with a PIR sensor, along with the usual +/- DC load. Usually all the PIR sensors are the same (i.e. something like this https://www.amazon.com/DIYmall-HC-SR501-Motion-Sensor-Module/dp/B012ZZ4LPM/ref=sr_1_3?ie=UTF8&qid=1512558367&sr=8-3&keywords=pir+sensor+raspberry+pi ).
And no, unfortunately you still need to pool the sensor to see if anything is detected by the sensor.
Could you please provide example for PIR sensor usage? Which sensor should I buy and which GPIO pins should I use? Will it work in polling mode as
fetchInterval
as other sensors or will it trigger event action?