Skip to main content
Firmware Stable

Temperature inputs

Temperature inputs on the BMS are labeled TS1, TS2, and so on. The number of inputs depends on the BMS type. For proper temperature reading, the BMS must be configured for a proper number of used inputs and their type. Also, there are several build-in temperature sensors.

info
  • All mentioned variables are located in folder /driver/temp/.

TS type configuration

Each TS input has its on folder with configuration - ts1Conf/.

Using parameter /ts1Conf/conf you can configure the type of the sensor.

confDescription
0Disable TS input
2Reading an all the limitation is in ohms
310k NTC with reading in celsius

For proper temperature reading, the Bconst parameter must be set. Check for the correct value in the datasheet of the used NTC.

warning

At least one TS input must be with conf=3. Otherwise, the BMS will go to the error state.

Temperature reading

Each temperature sensor has its own reading in the folder /driver/temp/. The reading depends on the configuration of the TS input. Also, build in temperature sensors are in this folder.

tip

Rule of thumb: If the variable is not present in the folder, the sensor is not present on your BMS.

ReadingDescriptionReading in
ts1Reading of TS1 inputCelsius, ohms
ts2Reading of TS2 inputCelsius, ohms
......
balmcuReading of balancer MCU temperature sensorCelsius
ptcBalReading of balancer limiting PTC sensorOhms
mcuReading of main MCU temperature sensorCelsius
switchptcReading of switch PTC sensorOhms