mirror of
https://github.com/lucysrausch/hoverboard-firmware-hack.git
synced 2025-08-01 08:34:27 +02:00
now you set battery alert levels in volt per cell and set number of cells. less annoying battery alert beeps. small cleanup.
This commit is contained in:
@@ -12,9 +12,10 @@
|
||||
#define BAT_CALIB_REAL_VOLTAGE 42.0 // input voltage measured by multimeter
|
||||
#define BAT_CALIB_ADC 1667 // adc-value measured by mainboard (value nr 4 on UART debug output)
|
||||
|
||||
#define BAT_LOW_LVL1 36.0 // gently beeps at this voltage level. ~3.6V/cell
|
||||
#define BAT_LOW_LVL2 33.0 // your battery is almost empty. Charge now! ~3.3V/cell
|
||||
#define BAT_LOW_DEAD 31.0 // undervoltage lockout. ~3.1V/cell
|
||||
#define BAT_NUMBER_OF_CELLS 12 // normal Hoverboard battery: 10s
|
||||
#define BAT_LOW_LVL1 3.6 // gently beeps at this voltage level. [V/cell]
|
||||
#define BAT_LOW_LVL2 3.5 // your battery is almost empty. Charge now! [V/cell]
|
||||
#define BAT_LOW_DEAD 3.37 // undervoltage lockout. [V/cell]
|
||||
|
||||
// ################################################################################
|
||||
|
||||
|
Reference in New Issue
Block a user