Does anyone else run into issues with PIR sensors constantly reporting a true value (1)?
I’ve tried both my pi zero ws and two sensors, one on a breadboard and one with GPIO pins.
Wires are all connected correctly and have tried several different GPIO pins as well.
Double checked that the sensor does indeed return an integer as well.
The script aways returns a 1 when the wire is plugged in and will only return 0 when I unplug it from it’s GPIO pin.
I was facing the same issue with PIR sensor and esp8266 which work fine but sometimes randomly triggers every 20 sec… when I watched @bruhautomation latest video about multi-sensor he said that it happens when PIR and ESP8266 are close to each other…keep distance between both and it worked fine. I don’t know if there PIR and Pi having the same issue when they are close. you can give it a shot.
Thanks for the suggestions - you want to know what the crazy thing was?
After testing on 2 pi zeros / 3 sensors using different pins and different power sources - I finally gave it a shot to change the ground pin I was using like “WHY NOT!?”
That was it… -____- it started working after that.