mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Battery (markdown)
10
Battery.md
10
Battery.md
@@ -1,10 +1,10 @@
|
||||
Most of the Hoverboard mainboards use a 10S2P LIPO Batteries (36v Nominal - 42v Charged ).<br />
|
||||
If you want to use a battery with less or more cells in series, change BAT_CELLS parameter in config.h (10 by default).<br />
|
||||
If you want to use a battery with less or more cells in series, change BAT_CELLS parameter in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) (10 by default).<br />
|
||||
Batteries up to 12S have been used safely in the community, but do it at your own risk.
|
||||
|
||||
|
||||
## Battery level low alerts:
|
||||
You can adjust the levels to your needs in config.h.
|
||||
You can adjust the levels to your needs in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h).
|
||||
|Level|Single Cell Voltage|Beeps|On/Off|Sideboard Led|
|
||||
|---|---|---|---|---|
|
||||
|LVL5|3.9v|||Green blink|
|
||||
@@ -16,15 +16,15 @@ You can adjust the levels to your needs in config.h.
|
||||
|
||||
## 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
|
||||
* 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
|
||||
* Read value BatAdc(5) from Debug Serial Output and write it to parameter BAT_CALIB_ADC in config.h
|
||||
* Read value BatAdc(5) from Debug Serial Output and write it to parameter BAT_CALIB_ADC in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h)
|
||||
* Save, compile and flash the board
|
||||
* Value BatV(6) in Debug Serial should match with the measured battery voltage now
|
||||
|
||||
## Troubleshooting:
|
||||
If the board is beeping
|
||||
* Make sure you have updated the number of cells in config.h if you use a battery with less cells in series
|
||||
* Make sure you have updated the number of cells in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) if you use a battery with less cells in series
|
||||
* With a battery of low quality/bad health, pulling a lot of current will result in a big battery voltage drop and can lead the board to turn off
|
||||
|
||||
If the board shuts down and won't restart
|
||||
|
Reference in New Issue
Block a user