esp32-weather-epd
esp32-weather-epd copied to clipboard
Battery Voltage reading error
Hay mate. Got it all working and its great.
Just found something though, the battery voltage reading is off. At the moment, my battery (when idle, between screen refreshes) is sitting at 4.151 volts. During screen refreshes, it goes down to 4.137-4.14 volts.
On the screen it displays 4.28 volts. (not sure when that reading gets taken though)
This isn't an issue in itself, where it can be bad is when the battery gets low. If the software is 0.1-0.15V off, that could mean that the battery could get down too 2.85V before the software turns off, possibly severely damaging the battery and shortening its life by quite a bit.
I couldn't find anywhere to calibrate the voltage, so for now, I have just raised the CRIT_LOW_BATTERY_VOLTAGE to 3.2V (and all the voltages above it).
My suggestion is to put a setting in the config.ccp where you calibrate the voltage?