Issues with Deep Sleep

appcoders
Posts: 3
Joined: Fri Oct 04, 2024 8:27 am

Issues with Deep Sleep

Postby appcoders » Fri Oct 04, 2024 8:42 am

Hello everybody.
I have a strange problem with deep sleep - not me but a ESP32-WROVER module :-)
I have two Inkplate 6 devices. Both use the same type of LiPo Battery. On device A deep sleep works fine, after 15 minutes the device wakes up, gives me wake-up-reason 4 and refreshes the display. Device B just crashes/reboots when trying to enter deep sleep. Now, the funny part: Only happens when on battery (battery has >4V). As long as the device is connected to the computer, deep sleep also works on device B. I remove the USB cable and when devices awakes from last successfully entered deep-sleep, it just refreshes and reboots again and again. Also tried the battery from device A on device b - same behavior.
So where can I search?
Is the ESP-WROVER somehow defective?
Thanks in advance.

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: Issues with Deep Sleep

Postby aliarifat794 » Fri Oct 04, 2024 1:59 pm

Try to add a capacitor (e.g., 100 µF - 470 µF) across the battery terminals (between VCC and GND) to smooth out any voltage dips or noise when the ESP32 wakes up.

appcoders
Posts: 3
Joined: Fri Oct 04, 2024 8:27 am

Re: Issues with Deep Sleep

Postby appcoders » Fri Oct 04, 2024 6:26 pm

Hi,
Thanks for your suggestion. If I understand you correctly you think the board takes too much current on waking up?
Maybe I did not explain correctly in my first post - the issue is that the ESP32 does not enter deep sleep mode at all when running from battery.
Is there something that could prevent deep sleep when running from battery?
Thanks.

appcoders
Posts: 3
Joined: Fri Oct 04, 2024 8:27 am

Re: Issues with Deep Sleep

Postby appcoders » Wed Oct 09, 2024 9:07 am

I tried your advice and added a 470uF capacitor - same outcome.
ESP32 does not go to sleep and just reboots.
The maximum current is about 100mAh, the voltage stays constant +- 0,02 V the whole time.
Any other ideas?

abuhanzala

Re: Issues with Deep Sleep

Postby abuhanzala » Tue Oct 22, 2024 2:11 pm

Have you checked the power management settings or the battery connections on device B? It sounds like there could be an issue with how the device is handling power when it’s on battery. Also, consider looking at the sleep mode configuration—sometimes certain settings can lead to unexpected behavior. Have you tried a different battery, just to rule out any potential issues there? Good luck troubleshooting!
On another note, just for fun, maybe this device is just brewing up some unexpected issues! ☕️ Who knows, maybe some coffee puns might be just what you need to wake it up to the challenge!

Who is online

Users browsing this forum: No registered users and 37 guests