Page 1 of 1

ESP32 sleep mode and resume the code

Posted: Mon May 27, 2019 5:13 pm
by vinimac
We are creating an application that needs to save power so we are putting the ESP32 into deep sleep, and using the ULP co-processor to wake up on a pin change, or to wake up after a predetermined amount of time i.e. 1hr so we can turn on sensors, collect the data, send it to a server via cellular modem, and go back to sleep. How can we get the ESP32 to halt it's operations at a specific point and wake up at that same point without rebooting the CPU? This is important so we can keep our modem connection.

Also we are using the internal RC oscillator and our current draw in deep sleep is very high 3.3V 13mA (just ESP32 module) so how can we get this down? Our goal is <1mA including all pull up resistors etc.

Thanks.