mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-05 10:34:28 +02:00
Updated Battery (markdown)
@@ -18,7 +18,7 @@ You can adjust the levels to your needs in config.h.
|
|||||||
## Calibration:
|
## 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
|
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
|
* Measure battery voltage with a multimeter and write the value * 100 to parameter BAT_CALIB_REAL_VOLTAGE in config.h
|
||||||
* Turn the board on and wait for a few minutes for the Battery ADC to stabilize
|
* Turn the board on and wait for a minute 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
|
* 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
|
* Save, compile and flash the board
|
||||||
* Value BatV or 6 in Debug Serial should match with the measured battery voltage now
|
* Value BatV or 6 in Debug Serial should match with the measured battery voltage now
|
||||||
|
Reference in New Issue
Block a user