Skip to main content
Firmware Stable

Current and voltage readings

This is a list of all variables that are related to battery pack current and voltage readings.

info
  • All mentioned variables are located in folder /driver/.
  • Positive current is flowing from the battery to the load. (ie. making the battery discharge)
  • Negative current is flowing from the load to the battery. (ie. making the battery charge, regenerative braking)

Pack-level readings

VariableUnitDescription
currentARAW unfiltered current of battery pack
currentfAFiltered current of battery pack
voltageVBattery pack voltage
powerWPower of battery pack

Port-level readings

VariableUnitDescription
/dsc/idscfAFiltered current through DSC port
/dsc/udscfVFiltered voltage at DSC port
/chg/ichgfAFiltered current through CHG port
/chg/uchgfVFiltered voltage at CHG port

Hardware status

VariableDescription
hw_errorHardware error code (negative: init error, positive: runtime error)
stateCurrent state name (string)