ESP8266 Developer Zone The Official ESP8266 Forum 2015-07-20T21:22:33+08:00 https://bbs.espressif.com:443/feed.php?f=15&t=18 2015-07-20T21:22:33+08:00 2015-07-20T21:22:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=2756#p2756 <![CDATA[Re: [request] Example with deep sleep / sleep]]>
I am wondering if there is a way to use wake mode WAKE_RF_DISABLED to delay powering up the wifi chip while I initialize and gather data from several sensors (takes several seconds), then power up the WiFi chip when I want to later in the software, without doing another sleep cycle and losing the contents of volatile RAM (since this undoes my data acquisition).

Thanks in advance!

Statistics: Posted by owendelong — Mon Jul 20, 2015 9:22 pm


]]>
2014-11-08T00:09:39+08:00 2014-11-08T00:09:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=106#p106 <![CDATA[Re: [request] Example with deep sleep / sleep]]>
Quoting the specs PDF (which was translated I believe)
"DEEP_SLEEP: Only RTC is powered on – the rest of the chip is powered off. Recovery memory of RTC can keep basic Wi-Fi connecting information.
SLEEP: Only the RTC is operating. The crystal oscillator is disabled. Any wakeup events (MAC, host, RTC timer, external interrupts) will put the chip into the WAKEUP state."

Meaning, other than driving the RSTB pin as an external interrupt, can we use normal interrupts or not.

Thanks

Statistics: Posted by Fadi — Sat Nov 08, 2014 12:09 am


]]>
2014-11-07T23:57:07+08:00 2014-11-07T23:57:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=105#p105 <![CDATA[Re: [request] Example with deep sleep / sleep]]> Is there a way to get deep sleep to resume the main loop/instructions after it wakes up? or is this limitation/action by design since everything shuts down, it has to wake up and
load from flash as a hard reset.

thanks

Statistics: Posted by Fadi — Fri Nov 07, 2014 11:57 pm


]]>
2014-11-06T19:37:50+08:00 2014-11-06T19:37:50+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=97#p97 <![CDATA[Re: [request] Example with deep sleep / sleep]]> Statistics: Posted by reaper7 — Thu Nov 06, 2014 7:37 pm


]]>
2014-11-06T19:03:40+08:00 2014-11-06T19:03:40+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=96#p96 <![CDATA[Re: [request] Example with deep sleep / sleep]]> 1.After going into deep_sleep, the chip close all network connection and mcu except RTC module ,and current consumption is about 10-15uA.
2.When time-up , the chip reload program from spi flash, the whole procedure looks like a hardware reset.

WAKE-UP:
1.Stand alone mode: (GPIO16 HAS TO BE CONNECTED TO THE rstb PIN)
The gpio16(pin name:XPD_DCDC) ,different from other gpio pins, is inside the RTC module. So it can still work during deep-sleep.
RTC timer will trigger the gpio16, and then trigger the reset signal to wake up the chip.
2.Co-work with MCU
trigger the rstb to wakeup......

Statistics: Posted by costaud — Thu Nov 06, 2014 7:03 pm


]]>
2014-11-06T14:11:09+08:00 2014-11-06T14:11:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=93#p93 <![CDATA[Re: [request] Example with deep sleep / sleep]]>

If the time is reached, system will restart.


restart like after command system_restart() ??
or only return to normal work?

Statistics: Posted by reaper7 — Thu Nov 06, 2014 2:11 pm


]]>
2014-11-06T10:52:07+08:00 2014-11-06T10:52:07+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=92#p92 <![CDATA[Re: [request] Example with deep sleep / sleep]]>
reaper7 wrote:
Please give some example for standalone application with maximum power save mode
(without additional mcu which can control CH_PD).

For example ESP check some GPIOs, send their condition via TCP or UDP
and goes to sleep for the next eg 15mins.

regards!


For eg, go to deep sleep for 15 mins.

Code:

system_deep_sleep(15*60*1000*1000);

If the time is reached, system will restart.

Statistics: Posted by jackon — Thu Nov 06, 2014 10:52 am


]]>
2014-11-06T09:53:19+08:00 2014-11-06T09:53:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=91#p91 <![CDATA[Re: [request] Example with deep sleep / sleep]]> Statistics: Posted by Her Mary — Thu Nov 06, 2014 9:53 am


]]>
2014-10-31T19:04:47+08:00 2014-10-31T19:04:47+08:00 https://bbs.espressif.com:443/viewtopic.php?t=18&p=38#p38 <![CDATA[[request] Example with deep sleep / sleep]]> (without additional mcu which can control CH_PD).

For example ESP check some GPIOs, send their condition via TCP or UDP
and goes to sleep for the next eg 15mins.

regards!

Statistics: Posted by reaper7 — Fri Oct 31, 2014 7:04 pm


]]>