Categories

ESP8266 Deep Sleep with Arduino IDE

Posted on Monday, October 30th, 2017 in Arduino, tutorials by DP

Deep-sleep-blog-1280-600

Rui Santos has written a great guide shows us what’s Deep Sleep and how to use it with the ESP8266 in the Arduino IDE.

With most of the ESP8266 modules, you can’t change the hardware to save power, but you can write software to do it. If you use the sleep functions with the ESP8266, it will draw less power and your batteries will last longer. In this guide, we’re going to talk about Deep Sleep with the ESP8266.

See the full post on his blog, Random Nerd Tutorials.

Check out the video after the break.

This entry was posted on Monday, October 30th, 2017 at 10:21 pm and is filed under Arduino, tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

2 Responses to “ESP8266 Deep Sleep with Arduino IDE”

  1. Max says:

    Except for some lucky corner cases the ESP8266 is pretty useless for sleep / battery operation in the first place. There are a number of reasons for that starting with the botched “need to reset the whole chip each time you want to wake up” mechanic, all the way through each wifi reconnection and transmission eating more than your sleep current for any reasonable wake-up interval / the adjacent memory chip not being in sleep mode / most boards featuring various additional stuff like LEDs or regulators that far exceed sleep current unless you go in with a soldering iron etc. etc. etc… But hey – if you want One More Thing that needs to be charged all the time…

  2. KH says:

    Agree that best results require a soldering iron. There’s nothing much one can do about resetting the chip on waking up from deep sleep, because given the speed of the chip and the process used, sleeping with SRAM powered will be costly. Even many modern PICs do not fully power SRAM on deep sleep, IIRC they give you something like two special register words on the same power rail as the deep sleep circuits to store your program state. Want super fast wake? Maybe we should ask manufacturers to make a FRAM MCU, heh. ;-P

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Daniel: Looks like someone made an order with Arrow. ;)
  • Paul Robertson: Count me in
  • Chris Jennings: I too like the cold and snow (it means no grass mowing). Now I can focus on fun stuff like hobby boards and woodworking.
  • flubba86: Commenting for fun and profit.
  • Sohan: If wishes were PCBs, beggars would be soldering!