Updated Battery (markdown)

Candas1
2022-04-21 09:44:03 +02:00
parent 744fec5cfe
commit 52e3c0fe27

@@ -22,7 +22,7 @@ You can adjust the levels to your needs in [config.h](https://github.com/Emanuel
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:
## :chart_with_downwards_trend: 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)
* Turn the board on and wait a minute for the Battery ADC to stabilize