ESP8266 Deep Sleep Mode

My Adafruit HUZZAH Feather ESP8266 consumes 0.080 amps (80 ma) in normal operation. With one wire and a single line of code, I can drop that to about 0.010 amps (10 ma), according to my USB power monitor.

I connected a wire from GPIO16 (pin 16) to RESET (RST).

I’m using the Arduino IDE to program my ESP8266, so at the end of my loop, I insert

void loop() {
// other code in my sketch


Which puts the ESP8266 to sleep for 60 seconds, and then reboots, running through my code once more before going back to sleep. This greatly extends my battery life. You can change the 60 to whatever number of seconds you want the unit to sleep.”