update battery voltages to match readout of inkplate library#25
update battery voltages to match readout of inkplate library#25lanrat merged 1 commit intolanrat:mainfrom
Conversation
|
The values I used in this library were taken from testing to see exactly where the cutoffs were for when the bettery reached a level preventing the inkplate from no longer booting. Have you tested that these new values still reflect that? Aka, the inkplate should still be able to boot and work on 5%, but not 0%, etc... |
|
I based those values on the related measurement of the ADC (with the new code from my PR at SolderedElectronics/Inkplate-Arduino-library/pull/171) compared to your BATTERY_ values. See attached graph. I am sure, the _LOW could be even at 3.1V and the _WARNING_SLEEP at 3.05V, but from what I read about LiPo: The deeper you discharge, the less cycles you get. I think we're better off here with a little less overall runtime but better battery live. |
update battery voltages to match readout of inkplate library

The inkplate library v6.0.0 has updated the battery voltage readout, now giving correct readouts using the calibrated adc. This patch reflects the recommended voltages for a 3.7V battery.