Recommended Free Tools
ESP32 deep sleep does not pause and later resume your application. It powers down the CPUs, most RAM, and APB-clocked digital peripherals. After a wake event, the chip starts through its boot path again. Only state deliberately kept in powered RTC memory can persist across that restart.
What stays on during ESP32 deep sleep?
For the ESP32 covered by Espressif’s ESP-IDF guide, the powered domains listed for deep sleep are the RTC controller, ULP coprocessor, RTC FAST memory, and RTC SLOW memory. The CPUs, most RAM, and digital peripherals clocked from APB are powered off. Wireless connections are not maintained. Espressif notes that RTC domains not needed by the selected wake sources are generally powered down by default, though an application can configure power behavior. See Espressif’s ESP32 sleep-mode guide.
RTC memory can retain deliberately saved state
Data placed in RTC memory can survive a deep-sleep wake if its memory domain remains powered. Espressif places variables marked with RTC_DATA_ATTR in RTC SLOW memory by default and keeps that domain powered by default when such variables are used. Power configuration can override that behavior, so retention depends on both where data is stored and whether the relevant RTC domain stays on.
Ordinary variables in RAM that is powered off should be treated as fresh application state after wake. If the device needs to remember a reading, counter, or other value, store it in retained RTC memory or use another appropriate persistence method rather than assuming the old task state will still exist.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minutePC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11#1 Best Overall
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Support LWIP protocol, Freertos
- SupportThree Modes: AP, STA, and AP+STA
- Ultra-Low power consumption, Compatible with Arduino IDE
- ESP32 is a safe, reliable, and scalable to a variety of applications
Does the ESP32 resume where it left off?
No. Deep-sleep wake starts the application again through a boot path; it does not restore the former task stack or ordinary CPU state. Most peripherals are in reset state. This differs from light sleep, where CPUs, digital peripherals, and most RAM resume with state preserved.
An optional wake stub can execute before normal initialization. It must reside in RTC FAST memory, and at that early stage it can call only ROM code or code also located in RTC FAST memory. Espressif describes a partial initialization before the stub runs: RTC FAST memory is validated, most peripherals remain reset, and SPI flash has not yet been mapped. See Espressif’s deep-sleep wake-stub guide.
Rank #2
- Dual-Core Performance Up to 240 MHz: Run sensor processing, wireless communication, automation logic and connected-device tasks on a 32-bit dual-core ESP32 platform designed for responsive embedded and IoT projects
- Built-in Wi-Fi and Bluetooth 4.2: Connect to 2.4 GHz Wi-Fi networks or use Bluetooth Classic and BLE for wireless sensors, smart devices, remote controls, home automation and other connected projects
- Flexible Power-Saving Modes: ESP32 power-management features support dynamic clock scaling and low-power operating modes, helping developers reduce energy use in compatible sensing, monitoring and connected-device applications, suitable for battery-powered Internet of Things (IoT) devices.
- USB-C Programming with CP2102: Connect through USB-C for power, sketch uploads and serial monitoring, while GPIO, UART, SPI and I2C interfaces support sensors, displays, motor drivers and other modules (USB-C cable not included)
- Over-the-Air Update Support: Configure OTA functionality through a compatible ESP-32 software framework to update deployed firmware over Wi-Fi without reconnecting the board by USB for every revision
What can wake an ESP32 from deep sleep?
Espressif’s ESP32 guide documents several wake routes. They can be combined; the chip wakes when a configured source triggers. A wake source may remain configured after a wake, so disable it if it should not apply to a later sleep cycle.
| Wake source | What triggers wake | Practical requirements and limits |
|---|---|---|
| RTC timer | A configured time interval elapses. | The API takes microseconds, but actual timing resolution depends on the RTC slow-clock source. |
| Touch sensor | A configured touch-pad interrupt occurs. | Configure the touch-pad interrupt before entering deep sleep. |
| ext0 | One RTC GPIO reaches a selected logic level. | Keeps the RTC peripheral domain on. Configure RTC GPIO pull-up or pull-down as needed; after wake, call rtc_gpio_deinit() before using that pad as a digital GPIO. |
| ext1 | Selected RTC GPIOs meet a chosen condition: any selected pin high, or all selected pins low. | Internal pulls require RTC peripheral power or suitable hold behavior; otherwise external resistors may be needed. |
| ULP coprocessor | A program running while the main CPU sleeps detects a programmed condition, such as a sensor or ADC/GPIO change. | The ULP program runs from RTC SLOW memory and can wake the main CPU when its condition is met. |
| Deep-sleep GPIO wake | A supported GPIO condition occurs on a pin powered by VDD3P3_RTC. | Supported pins depend on the exact chip and target datasheet; do not assume every GPIO or ESP32-family chip supports the same mechanism. |
Choose a trigger based on the signal and wiring
- Use the RTC timer when the board should wake on a schedule rather than wait for an external event.
- Use ext0 for a single RTC GPIO level, or ext1 when a condition across multiple RTC GPIOs is needed.
- Use touch wake for a configured touch-pad event, or the ULP when a condition must be checked while the main CPU is off.
- Check the target chip’s documentation before wiring a deep-sleep wake signal. Valid pins and capabilities are chip-specific; the family name alone does not establish compatibility.
How do I tell what woke the ESP32?
Call esp_sleep_get_wakeup_cause() after wake to obtain a wake-source cause. Espressif warns that this API reports only one source, so if multiple sources trigger at the same time, the returned cause may not preserve all trigger information.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #3
- Powerful ESP-32 Board: Unlock the world of Internet of Things (IoT) and advanced electronics with the heart of this kit: the ESP-32 board. It features a powerful dual-core processor, integrated Wi-Fi and Bluetooth 4.2, making it perfect for building connected, smart devices that communicate with your phone or the cloud. It's fully compatible with the Arduino IDE for easy programming.
- Super Starter Kit: This kit contains over 35 different modules and electronic components, including sensors, displays, motors, and input devices. From LEDs and buttons to an OLED screen, servo motor, and keypad, you have everything needed to explore a vast range of projects in one box.
- Step by Step Online Tutorial: Jump right in with our detailed, beginner-friendly tutorial. Access 30+ projects with complete code, clear circuit diagrams, and step-by-step instructions. Learn the fundamentals of electronics, coding, and how to utilize the ESP-32's unique capabilities without any prior experience.
- Hands-on Learning for All Skill Levels: Perfect for students, makers, engineers, and hobbyists. Start with basic circuits and coding, then progress to intermediate and advanced IoT applications. Build practical projects like weather stations, smart home controllers, remote-controlled devices, and interactive gadgets. The skills you learn are the foundation for real-world innovation.
- Quality & Great Support: Elegoo is committed to quality. We provide a clear, detailed tutorial guide, refined code, and a well-organized component kit. All modules are carefully selected for reliability and ease of use. Our dedicated technical support team and active online community are ready to help you succeed in your learning journey.
For ext1 wake, use esp_sleep_get_ext1_wakeup_status() to identify the GPIOs reported as wake inputs. Touch wake has its own status API. If your application combines sources and needs to know precisely which input changed, use the source-specific status information where available rather than relying only on the single general cause.
Deep sleep or light sleep?
Choose deep sleep when the device can restart its application after waking and you can preserve any required state deliberately. Choose light sleep when the application needs CPU, peripheral, and most RAM state preserved across the sleep interval. In either case, confirm that the specific wake source and pin are supported by your target ESP32 chip.
Quick Recap
Best Value
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Ultra-Low power consumption, works perfectly with the Arduino IDE
- Support LWIP protocol, Freertos
- SupportThree Modes: AP, STA, and AP+STA
- ESP32 is a safe, reliable, and scalable to a variety of applications
Rank #4
- 2.4GHz Dual Mode WiFi + Bluetooth Development Board
- Support LWIP protocol, Freertos;ESP32 is a safe, reliable, and scalable to a variety of applications
- SupportThree Modes: AP, STA, and AP+STA
- Ultra-Low power consumption, Compatible with Arduino IDE
- 1PCS 30Pin ESP32 Development Board 2.4GHz WiFi Dual Cores Microcontroller Integrated with Antenna RF Low Noise Amplifiers Filters
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

