Page 1 of 1
ESP32 and DeepSleep
Posted: Tue Jun 09, 2026 4:53 pm
by RS_Jim
I have an ESP32 C3 that has been programed for deep sleep mode waking up every 5 seconds to take a measurement on a BME680 device and send that measurement via ESP-Now. The program writes to the serial monitor during each wake up period and confirms that the message was successfully sent. I need to reprogram the ESP with a different sleep interval and I cannot seem to be able to make that happen as the tools that I am trying to use cannot connect to the ESP while it is asleep. The wake up period is too short for the web tools to connect and burn new software. I have the bin file for the boot loader and have used ESPWEBTool successfully to replace a corrupted boot partition. Any suggestions as to how I might be able to recover this ESP32C3?
RS_Jim
Re: ESP32 and DeepSleep
Posted: Wed Jun 10, 2026 1:39 am
by Sprite
Yes. You can always (that is, unless you have actively messed with fuses to e.g. put the chip into SecureBoot mode) get an ESP32 back into download mode. On the C3, you do that by pulling down GPIO9 (and GPIO8 up if needed) and making reset low for a moment. If you're using a development board: press the BOOT button, press and release the RESET button, release the BOOT button.
Re: ESP32 and DeepSleep
Posted: Thu Jun 11, 2026 12:57 am
by RS_Jim
Thanks, I will give this a try. I have XAIO ESP32C3 and will try the bootbutton and reset button trick first. If that doesn't work I will try the other. I will let you know which worked.
thanks again,
Jim
Re: ESP32 and DeepSleep
Posted: Thu Jun 25, 2026 9:09 pm
by RS_Jim
Holding down the boot button and pressing and releasing the reset button did the trick. Thanks for the help.
Jim
Re: ESP32 and DeepSleep
Posted: Mon Jun 29, 2026 11:49 pm
by lichurbagan
One thing I've found helpful when experimenting with deep sleep ..... is to add a short startup delay (even 3–5 seconds) during development ..... before entering the sleep loop. It gives you enough time to reconnect the programmer or serial monitor if you need to flash new firmware, and you can remove or reduce the delay once everything is stable.
Re: ESP32 and DeepSleep
Posted: Tue Jun 30, 2026 3:02 am
by krzychb
I was not aware of ESPWEBTool. Thank you for sharing.
TIL one extra option

to connect.
It can be done by using esptool and configuring it to open the serial port repeatedly (with a short 0.1-second delay between attempts). It's specifically designed for similar situations where the chip is in deep sleep and only wakes up briefly. The mode is configured by setting
environmental variable, ref.
Connect Loop.