How to Configure the ESP32 for Light and Deep Sleep Modes

Published at : 22 Dec 2025

In this video we look at how to implement ESP32 S3 light and deep sleep modes using the Arduino programming environment. We also look at how to implement multiple ways to wake the ESP32 up from sleep and see some of the tradeoffs between light sleep and deep sleep. Finally we see an example where we connect to WiFi and get data from the internet in between sleep states.

You can access the code from the video on Patreon: https://www.patreon.com/forcetronics

ESP32 S3 Sleep mode API: https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-reference/system/sleep_modes.html

NTP WiFi example was leveraged from: https://lastminuteengineers.com/esp32-ntp-server-date-time-tutorial/