lewisxhe / esp32-camera-series

🔰 Compatible with all TTGO camera products

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Power "resetting" after 30s - IP5306 usage in deep sleep

philwinder opened this issue · comments

Hi there,
I have a use case where I want to deep sleep and trigger off the PIR to wake, do some stuff, then sleep again.

I've been using the IP5306 input with a 18650 battery and it works... for 30 seconds.

After 30 seconds of sleep, the IP5306 seems to "reset" to off mode and you have to press the reset switch again to turn it on.

Turns out that the IP5306 has a Load removal detect timer, which states:

Load current continuously lower than 45mA 32 s

See page 6 of the (English) datasheet.

So the IP5306 will turn off when the device is in deep sleep mode because the current is about 5mA.

Any way to disable this functionality?

Otherwise, it seems like this isn't the right chip for battery powering an esp32.

I'm currently using version OV2640_V1.7 but I suspect this applies to others too.