-->
Page 1 of 5

ESP.deepSleep(0); does not power off my ESP8266...

PostPosted: Fri Jul 10, 2020 12:07 pm
by sblantipodi
Hi all,
If I run
ESP.deepSleep(60000);
my ESP8266 sleeps for 60 seconds.

if I run
ESP.deepSleep(0);
I expect that it should sleep forever but it wake up after an hours or so.

Is there a way to tell my ESP8266 to sleep forever or until I manually reset it?

Re: ESP.deepSleep(0); does not power off my ESP8266...

PostPosted: Fri Jul 10, 2020 6:08 pm
by AcmeUK
it wake up after an hours or so
71min perhap?
Any clues here:-https://thingpulse.com/max-deep-sleep-for-esp8266/?

Re: ESP.deepSleep(0); does not power off my ESP8266...

PostPosted: Fri Jul 10, 2020 7:52 pm
by sblantipodi
AcmeUK wrote:
it wake up after an hours or so
71min perhap?
Any clues here:-https://thingpulse.com/max-deep-sleep-for-esp8266/?


Thanks for the answer.

Yes but is there a way to say esp to shutdown forever and not to sleep for X seconds?

Re: ESP.deepSleep(0); does not power off my ESP8266...

PostPosted: Fri Jul 10, 2020 8:05 pm
by davydnorris
Remove the connection between the reset and GPIO - then when you tell it to sleep for any amount of time it will not wake up