Re: PIR sensor - wake and sleep using CH_PD & thingspeak upd
Posted: Sat Aug 27, 2016 3:47 am
Hi, I'm out for the day so I can't do any tests untill later. A small capacitor placed in parallel with the 10K resistor should help increase the time CH_PD is held high, as it can't be discharged by the PIR going low because the diode is blocking.
Be really carefull to make sure that is in parallel with the 10k, with the 1K's between it and the GPIO's or any in rush current could dammage the GPIO's when you set GPIO 0 high.
Which PIR are you using? Is there anything in the code before you set GPIO 0 high?
When tested it only need a high of 325mS to remain stable.
Be really carefull to make sure that is in parallel with the 10k, with the 1K's between it and the GPIO's or any in rush current could dammage the GPIO's when you set GPIO 0 high.
Which PIR are you using? Is there anything in the code before you set GPIO 0 high?
When tested it only need a high of 325mS to remain stable.