- Thu Jul 16, 2015 8:07 pm
#23462
I'm trying to use a PIR to trigger an ESP-01 to send an email alert when motion is detected. The PIR by itself works perfectly and triggers motion as expected. When I connect the PIR to GPIO2 and use the ESP-01 to monitor, the PIR continually triggers on and off every few seconds regardless of motion or not. I've read several threads here and elsewhere and found a few suggestions. Here's what I have tried so far, but nothing has stopped the oscillation triggers:
Battery power and/or regulated 3V3 1A supply
470uf cap on power rail
.01 cap bypass cap close to ESP-01 power pins
.01 caps from GPIO2 to ground and VCC
various pullup and pull down resistors on GPIO2
Nothing seems to stop the problem. Any suggestions?