-->
Page 1 of 5

How long to wake up from deep sleep and connect to AP?

PostPosted: Thu May 21, 2015 9:18 pm
by helpme
Deep sleep (<10uA) is very impressive. May I ask whether ESP8266 can remain connected to the Access Point even in deep sleep?

The ESP-Wroom module datasheet has the following line;
- Wake up and transmit packets in < 2ms

Does it mean that the modue can wake up from deep sleep and starting sending out packets through the Access Point within 2ms?

Re: How long to wake up from deep sleep and connect to AP?

PostPosted: Thu May 21, 2015 10:22 pm
by lethe
helpme wrote:Deep sleep (<10uA) is very impressive. May I ask whether ESP8266 can remain connected to the Access Point even in deep sleep?

No, the device is basically off in deep sleep, only the on-board RTC keeps running. It will do a full reset on wake-up.

helpme wrote:Does it mean that the modue can wake up from deep sleep and starting sending out packets through the Access Point within 2ms?

While that number might technically be true, don't expect the device to be fully connected after 2ms. That number most likely means, that the ESP will send its first probe request after 2ms, from there it needs to wait for replies, begin association and finally request an IP via dhcp. While this process is pretty fast, it will take a lot longer than 2ms (in my very unscientific tests, the ESP started replying to pings approx. 1-2s after powerup).

Re: How long to wake up from deep sleep and connect to AP?

PostPosted: Thu May 21, 2015 11:30 pm
by helpme
Thanks for your helpful reply. What is the lowest current consumption the ESP8266 can be in when it is idle and connected to an AP? Is that a specific state to be in? Something like deep sleep?

Re: How long to wake up from deep sleep and connect to AP?

PostPosted: Fri May 22, 2015 12:26 am
by cal
Moin,

I expect the startup to be faster if you don't do dhcp every time but most times to set the ip
directly.

I didn't tested it myself.

Cal