-->
Page 1 of 1

Conditional Deep Sleep

PostPosted: Tue Mar 15, 2022 1:31 pm
by dea ayd
Hi all,

I'm wondering that can we put esp8266 nodemcu into deep sleep mode and when it wakes can we provide a condition to go back to sleep? ie. d1 == high go to sleep, wake up with external interrupt if d1 is low don't sleep and do the stuff?

regards,
dea

Re: Conditional Deep Sleep

PostPosted: Wed Mar 16, 2022 10:08 am
by rpiloverbd
Yes. Conditional deep sleep is possible. To wake up, you can use a button connected to the RST pin or timer wake up.