From f5290c62d34528256f7784d4f376bd394d6e0e7f Mon Sep 17 00:00:00 2001 From: Candas1 Date: Mon, 12 Apr 2021 17:45:08 +0200 Subject: [PATCH] Updated Battery (markdown) --- Battery.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Battery.md b/Battery.md index 2af29fa..4ac5bda 100644 --- a/Battery.md +++ b/Battery.md @@ -1,10 +1,10 @@ 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).
+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).
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