-
Notifications
You must be signed in to change notification settings - Fork 988
Battery
Most of the Hoverboard mainboards use a 10S2P LIPO Batteries (36v Nominal - 42v Charged ).
If you want to use a battery with less or more cells in series, change BAT_CELLS parameter in config.h (10 by default).
Batteries up to 12S have been used safely in the community, but do it at your own risk.
Default battery level are for safe use of LIPO batteries.
You can adjust the levels to your needs in config.h if you want to use a battery with a different chemistry.
Level | Single Cell Voltage | Beeps | On/Off | Sideboard Led |
---|---|---|---|---|
LVL5 | 3.9v | Green blink | ||
LVL4 | 3.8v | Yellow | ||
LVL3 | 3.7v | Yellow blink | ||
LVL2 | 3.6v | Slow beeps | BAT_LVL2_ENABLE | Red |
LVL1 | 3.5v | Fast beeps | BAT_LVL1_ENABLE | Red Blink |
DEAD | 3.37v | Shutdown | Off |
Battery voltage has to be calibrated to have a more accurate reading, for this you need 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
- 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
- Save, compile and flash the board
- Value BatV(6) in Debug Serial should match with the measured battery voltage now
If the board is beeping because of low battery level or turning off with the melody
- Make sure you have updated the number of cells in config.h if you use a battery with less cells in series
- Calibrate the battery voltage
- With a battery of low quality/bad health, pulling a lot of current will result in a big battery voltage drop and trigger battery low alerts. You can use a better battery or several similar batteries in parallel
- Reducing the battery low levels can help but going too low can be risky for your battery
- You can limit the current being drawn to reduce the voltage drop but you will also reduce the power
- Debug Serial can be used to monitor battery voltage
If the board turns off without the melody, the BMS is shutting the power off
- You might be drawing too much current. You can limit the current being drawn not to trigger the BMS over-discharge protection but you will reduce the power
- It can happen if your battery is fully charged and too much current is flowing back (regenerative braking), it can trigger overcharge protection
You will have to unplug the battery and plug it again