ESP32 reset reason
Posted: Thu Nov 14, 2024 4:55 pm
How reliable is the reset reason that you can obtain from the ESP32?
I ask because I have an ESP32-S3 supermini that is resetting itself intermittently. It is in a portable medical device that reads 3 sensors regularly. To save power it only turns on the WiFi every 5 minutes, transmits the data over ESP-NOW, and then turns off the WiFi. This works perfectly with an ESP32-C3 supermini, but I 'upgraded' to an S3 and have these intermittent failures, which seem to occur soon after the wifi is turned on. The reset reason given is either "Reset due to power-on event." or sometimes "Brownout reset (software or hardware)." Does this truly indicate a power problem? I have a large aluminium electrolytic capacitor soldered onto the pads that supply power to the socket for the S3. I have ordered a polythene (low ESR) electrolytic to see if that helps.
Another oddity - after a genuine power-on, the reset reason is "Reset reason can not be determined."
Thanks for any information.
Andrew
PS the resets occur under either USB or battery power
I ask because I have an ESP32-S3 supermini that is resetting itself intermittently. It is in a portable medical device that reads 3 sensors regularly. To save power it only turns on the WiFi every 5 minutes, transmits the data over ESP-NOW, and then turns off the WiFi. This works perfectly with an ESP32-C3 supermini, but I 'upgraded' to an S3 and have these intermittent failures, which seem to occur soon after the wifi is turned on. The reset reason given is either "Reset due to power-on event." or sometimes "Brownout reset (software or hardware)." Does this truly indicate a power problem? I have a large aluminium electrolytic capacitor soldered onto the pads that supply power to the socket for the S3. I have ordered a polythene (low ESR) electrolytic to see if that helps.
Another oddity - after a genuine power-on, the reset reason is "Reset reason can not be determined."
Thanks for any information.
Andrew
PS the resets occur under either USB or battery power