Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5369

MicroPython • Re: How to configure a 4 pin PIR sensor

$
0
0
I use the same sensor for my email notification of motion detection (using Pico W). I needed to disable and re-enable pin interrupts to get clean detection with the 2s setting. You can test your wiring of the sensor with a LED on pin 4 (of the sensor)... no MCU needed, the sensor will work completely on its own with just the connections you listed.

https://github.com/charkster/motion_det ... i_email.py

Statistics: Posted by chipace — Sat Mar 16, 2024 3:26 am



Viewing all articles
Browse latest Browse all 5369

Trending Articles