zikken:
I have several ESP32S3 board. I’d like to use them in a setting where mains power is not guaranteed. The idea was I hook up batteries to the device, and mains power.
My expecation was for the device to switch automatically and charge when needed. It does not.
it resets when there is a battery connected and it’s on mains power using the USB connector, and one then unplugs the USB.
Also, if the battery is disconnected and then connected again to a running device, it does not start charging.
Anyone got experience with this? As it is right now, it’s unusable.
Check which PMIC your board uses, if any.
If it’s bare TP4056, it won’t support auto power switching.
Try a dev board with proper PMIC (like IP5306 or BQ24074).