Feature #490


ESP8266 sleep while maintaining wifi

Added by Gale over 7 years ago. Updated over 3 years ago.

In Progress
Device Node
Target version:
Start date:
24 Jan 2016
Due date:
% Done:


Estimated time:
03 - Medium


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 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.

Actions #1

Updated by Hammel over 7 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.

Actions #2

Updated by Hammel over 3 years ago

  • Category set to Device Node
  • Assignee set to Hammel
  • Target version set to 1.0.0 - Hari Seldon

Also available in: Atom PDF