Updated Battery (markdown)

Candas1
2022-04-04 23:38:38 +02:00
parent f952cbfa6d
commit 3b351e0532

@@ -18,6 +18,10 @@ You can adjust the levels to your needs in [config.h](https://github.com/Emanuel
|LVL1|3.5v|Red Blink|Fast beeps|BAT_LVL1_ENABLE|
|DEAD|3.37v||Power Off||
## Inactivity timeout - Power Saving
The board will automatically power off after approximatively 8 minutes of inactivity by default.<br>
Parameter INACTIVITY_TIMEOUT can be used to set up the number of minutes of inactivity before power off. It is not very precise.<br>
## Calibration:
Battery voltage has to be calibrated to have a more accurate reading, for this you need [Debug Serial](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Debug-Serial) to be active
* Measure battery voltage with a multimeter and write the value * 100 to parameter BAT_CALIB_REAL_VOLTAGE in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h)