Closed TravisDuck999 closed 3 years ago
Figured it out.
If anyone else is having this problem I fixed it by adding a cap between the 3.3V and GND pins.
This give the ESP32 that little bit of power needed to keep going before the battery system kicks in properly ( after the power has cut out ).
I started with a 1000uF cap but went down to a 100uF and it still works, not sure how much lower you can go. I wanted to use a Super-Cap to do this but realise now that it is crazy overkill and might damage something on the power rail when it charges for the first time.
Your Cap size will change depending on your 3.3V draw and other things attached to your 3.3V power line of course, this test was done with extremely basic setup and little peripherals
I'm sure this has been touched on somewhere else but I can not seem to find it.
My setup is as follows :
Solar with V going to the Vin pin. 18650 clipped into the rear battery pack and fully charged.
When I have a power failure the 5V turns off and the small solar panel takes over and charges things with the battery helping if needed.
My problem is when the main 5V power goes off the system reboots completly and then starts running on the battery.
Has anyone gotten the system to work without having this reboot happen ?
I have constant power dips here and this is not ideal to have the system reboot every time it goes off and back on.