Page 1 of 1

ESP32 Timer Wake Up from Deep Sleep Mode with Arduino IDE

Posted: Mon Oct 16, 2023 10:38 pm
by LEDEdit PRO
This tutorial shows how to put the ESP32 into deep sleep mode and then wake it up with a timer after a predetermined period. With the Arduino IDE, the ESP32 will be programmed.

Image

Writing a Deep Sleep Sketch

To put your ESP32 into deep sleep mode and then wake it up, you need to write a sketch.

Configure the wake-up sources first. Configuring what will wake up the ESP32 is what this means. Use one wake-up source alone or mix many. We'll show you how to set a timer to wake you up in this post.
During deep sleep, you get to choose which peripherals to keep on or shut down. However, by default, the ESP32 powers down any peripherals that are not in use with the wake-up source you provide.
Finally, you use the esp_deep_sleep_start() function to put your ESP32 into deep sleep mode.
Timer Wake Up
The ESP32 may enter deep sleep mode and then wake up at predefined times. This functionality is very useful if you are running projects that require time stamping or daily tasks while using little electricity.

Read the full article: https://lededitpro.com/esp32-timer-wake ... duino-ide/

Re: ESP32 Timer Wake Up from Deep Sleep Mode with Arduino IDE

Posted: Tue Oct 17, 2023 8:28 am
by bidrohini
Thanks for sharing. These are really good references for those who wish to use ESP32 in low power modes.