-->
Page 3 of 3

Re: deep sleep for more than 35 minutes possible?

PostPosted: Thu Feb 12, 2015 2:58 pm
by Finnduino

Re: deep sleep for more than 35 minutes possible?

PostPosted: Thu Feb 12, 2015 9:24 pm
by Sleepy Head
I have ordered the DS1337 now.

Here is an other interesting link to a project where they used the DS1337 in combination with mosfet AO3401 to turn on a sensor. I'm hoping it would work with the esp8266 as well.

http://letsmakerobots.com/node/34872
http://letsmakerobots.com/node/33532

Re: deep sleep for more than 35 minutes possible?

PostPosted: Fri Feb 13, 2015 4:56 am
by alonewolfx2
i am following your results ;)

Re: deep sleep for more than 35 minutes possible?

PostPosted: Fri Feb 13, 2015 9:00 pm
by Fr4gg0r
Sleepy Head wrote:well i think the context here is saving battery power so the sensor can run for weeks.
Waking the esp8266 every half hour just to go to sleep again is going to consume too much power.

I'm reading up on RTC modules now. They can run a long time with battery backup.


Assuming the chip draws 20mA with wifi functionality turned off, and it needs 600ms for the startup and go to sleep again:
http://www.wolframalpha.com/input/?i=20 ... eek+in+mAh
You lose 1mAh of charge per week.

Does not seem worth to add an external timer for that..
Instead I would modify the lua sleep() method, so that a sleep check is performed in C before the lua machine starts.
That should significantly reduce the time the chip is actually on.