Problem with PIR sensor turning on and off
Posted: Thu Mar 09, 2017 10:56 pm
To start off i want to say the PIR sensor is working perfectly on the bread board where its connected to USB . I 3d printed a housing for it and added a Hi-link AC to dc 5v module and it plugs into the wall .Now i have a problem with the PIR turning on and off every fby itself .Its a little randonm and it can stay off for 15 seconds then go on off on off
Hardware is
-Wemos d1 mini
-HC SR501 PIR sensor (D1)
-(Added) Hi-link HLK-PM01 110v to 5vdc
I am using ESPeasy and Publishing MQTT to openhab2 .In ESPeasy its set up as normal switch.
What do you think it could be ? It leads me to believe its something with adding the ac to dc convertor as it was working exactly as it should on the breadboard when it was connected to usb power.
Hardware is
-Wemos d1 mini
-HC SR501 PIR sensor (D1)
-(Added) Hi-link HLK-PM01 110v to 5vdc
I am using ESPeasy and Publishing MQTT to openhab2 .In ESPeasy its set up as normal switch.
What do you think it could be ? It leads me to believe its something with adding the ac to dc convertor as it was working exactly as it should on the breadboard when it was connected to usb power.