Mair / esp32-course

Course on the ESP32 IDF
https://learnesp32.com
282 stars 122 forks source link

Hibernation is not making ESP32 to wake-up again if board is unplugged from power #37

Open waged opened 3 years ago

waged commented 3 years ago

Have done the last example of hibernation in the sleep modes and found interesting behavior. 1-ESP32 works without power in hibernation for 30 seconds. 2-during the 30 seconds if i connect the power again it wakes-up and perform normal. 3-if i connect the power after the 30 seconds have passed, i find that board cannot wake-up or even restart. it only works again if i force reset it with the board RST button. (any solution to let the board work properly from hibernation?)

Mair commented 3 years ago

What dev board are you using. I have found that some dev boards have some strange management around how they manage the battery and actually reset the chip when you plug it in-out.

waged commented 3 years ago

I'm using the ESP32-WROVER KIT, the behavior is super annoying as the i wakeup with both timer and a user reset sw on interrupt, if battery died during sleeping mode, the ESP32 cannot wake up until controller reset button pressed and it's not applicable for my use case.

Mair commented 3 years ago

Yeah that is annoying but, I think its board related. Have you asked anyone on https://esp32.com/ There might be a solution there