-->
Page 5 of 5

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

PostPosted: Tue Jul 14, 2020 3:53 am
by sblantipodi
schufti wrote:can you please inform us on what version of the arduino core you are using?
57min is a very strange value, not related to the sdk limits in any version ...


Using the
NonOS SDK 2.2.2
Arduino 2.7.2 SDK

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

PostPosted: Tue Jul 14, 2020 3:54 am
by sblantipodi
btidey wrote:Also post the exact hardware set up and code you are using where you see the problem and / or try the simplest test possible using the code I posted.


I have tried a simple sketch that does only this:
ESP.deepSleep(0);
it wake up after 57 minutes.

here you can find the hardware setup and the schematic.
https://github.com/sblantipodi/solar_station

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

PostPosted: Tue Jul 14, 2020 6:20 am
by btidey
I would try out the sketch I indicated as I found that sequence was a reliable way to start deepSleep.

Also your hook up indicates the capacative sensor is also wired to reset. Have you tried a test with this disconnected to keep it simple?

I think you should also be using schottky diodes in the feeds from GPIO16 and the sensor to reset otherwise there is a conflict of two outputs driving.