I try to build a solar energy operated project. I'm using an ESP32 to wake up every 45 minutes, measure bat's voltage using board's ADC, and send it to an excel sheet on Google drive.
The part of going to sleep, waking up, measuring and sending its value - is working flawless for some time in several other projects.
I want to describe the exact problem:
Installing the entire system: ESP32 with code to act as described.
System works fine for many days ( which means - system charges as expected more than a battery can hold ), until few days without sun, until battery got drained and stops waking up and doing its magic.
Now, after sun comes out, even for more that a day or two, system does not wakes up.
when checking battery level ( after more than a day in full sun ), battery level is low ( about 2.8- 3.2 v).
My assumptions are: a) board and code are working as expected ( at the beginning tests were with a wemos mini ). b) since system is working for days - no doubt that charging works - as seen in stored values in excel sheet. c) the fact that the battery gets drained - and perhaps I have to use a larger battery, does not change the physical behavior of what is the reason for it.
At the beginning - I was powering up the board via
3.3vdirectly from the MPPT connector. since it is un-regulated, I try to power it up via
5vpin, adding a buck boost converter. Still the problem persists - only after battery drainage
My guess and question for the forum here - perhaps during charging the battery (from 0v to what ever minimal value needed for board operation), board gets into some state that : a) not starting any valid boot operation b) consumes power c) not getting into sleep mode - since boot was not actually started d) even after getting fully charged battery - still board is stucked in that mode that is not
awake state, and stays somewhere in between.
Is it correct ? Is there a way to overcome a situation like this ( waking up after a battery is drained ) ? I'm not looking for an answer - " take a bigger battery :) "
Thank you ( and sorry for my English if it was not explained well )