Feature #490
openESP8266 sleep while maintaining wifi
10%
Description
In order to save power for IoT devices, the ESP8266 should be placed into the lowest possible power state where it can be awakened by network access. In order for this to work, the receive side of the modem (at least) must remain powered and active. The MAC will need to be powered and clocked. It will ultimately be the MAC that wakes the rest of the microcontroller. From the datasheet, page 18, it appears that this is the "SLEEP" state, which is not the lowest power state but current consumption should be < 1mA, according to http://bbs.espressif.com/viewtopic.php?t=133 and the datasheet.
The datasheet page 8 says: "ESP8266 consumes less than 12uA in sleep mode and less than 1.0mW (DTIM=3) or less than 0.5mW (DTIM=10) to stay connected to the access point." That would appear to indicate that we can power it down to DTIM10 while maintaining wifi connectivity. Whether or not it will detect being addressed at that level remains to be seen.
Updated by Hammel almost 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Apparently there is an API for this. See ESP.deepSleep. However, use of GPIO 16 means it may not work with the lower cost ESP-01. It may require the ESP-12 instead.
Updated by Hammel over 4 years ago
- Category set to Device Node
- Assignee set to Hammel
- Target version set to 1.0.0 - Hari Seldon