Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By josephchrzempiec
#36965 Hello I'm using the arduino ide to program my esp module. I'm not good at working with coding but I'm trying. The problem I'm having with my esp is that I'm running it on batteries With a PIR sensor right now it's just lighting up a led on Gpio0 pin and PIr sensor is on Gpio2 pin they work but the thing i want to do is put the Esp to sleep because of the batteries and only have it wake up When something goes past the PIR sensor and turn on the led then wake for 10 seconds and put the Esp back into sleep mode. I'm not sure how to put the Esp in what i have seen Deep Sleep Can someone please help me out?


I don't want it to go to sleep and wake up on it's own Just to only wake up when something triggers the PIR sensor. Thank you.
User avatar
By josephchrzempiec
#36993 Hello torntrousers thank you for the reply back i was looking into it some I don't know much about coding but from what I'm seeing. It's not sleep or power down mode. What i think they are doing is taking the CH_PD pin from high to low in coding that turns off the wifi but the Processor it's self. Is still fully awake and can take some power. Not sure how much because every time i put my meter to it the esp freaks out.