fweiss / badge

Badge is a wearable LED matrix display system for communicating visually.
MIT License
2 stars 0 forks source link

Battery charge indicator #15

Open fweiss opened 3 weeks ago

fweiss commented 3 weeks ago

There is a BT battery characteristic from a earlier version, maybe Sparkfun ESP32 Thing. But on the current "LOIN" board, the ADC pin is not connected to the battery.

This is related to #12. One of the problems is that when battery gets low the BT fails and there can also be a WDT reset. Some ideas:

The main idea is to not malfunction and notify the user that the battery needs to be recharged.

fweiss commented 3 weeks ago

Maybe also run a test to estimate how long badge runs with a fully charged battery and also how long it takes to charge.

fweiss commented 1 week ago

Also fix this warning: warning: 'ADC_ATTEN_DB_11' is deprecated [-Wdeprecated-declarations]

fweiss commented 1 day ago

Also see #13. We've seen some WDTs and/or brownouts when running on battery. This is may be related to bluetooth as well.