Updated Battery (markdown)

Candas1
2021-02-26 09:09:56 +01:00
parent 7b75913f22
commit e8865fe94d

@@ -16,9 +16,10 @@ Batteries up to 12S have been used safely in the community, but do it at your ow
You can adjust the levels to your needs in config.h.
## Calibration:
Battery voltage has to be calibrated to have a more accurate reading
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
* Read value BatAdc or 5 from [Debug Serial](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Debug-Serial) and write it to parameter BAT_CALIB_ADC in config.h
* Turn the board on and wait for a few minutes for the Battery ADC to stabilize
* Read value BatAdc or 5 from Debug Serial Output and write it to parameter BAT_CALIB_ADC in config.h
* Save, compile and flash the board
* Value BatV or 6 in Debug Serial should match with the measured battery voltage now