← Back
ntccal
Set or read the three Steinhart-Hart NTC calibration coefficients.
Usage
>> ntccal
1.12530872e-3 2.34711888e-4 8.56635072e-8
>> ntccal 1.12530872e-3 2.34711888e-4 8e-8
1.12530872e-3 2.34711904e-4 7.99999936e-8
>>
Notes
The coefficients are used to compute the thermistor temperature with:
T = 1 / (c0 + c1 ln(R) + c2 ln(R)^3) - 273.15
where R is the thermistor resistance in Ω and T is the temperature in °C.
A write requires exactly three finite floating-point arguments. Malformed arguments set CMD_INVALID_ARG and keep the previous coefficients.
Changing ntccal does not change the stored tset value. It recomputes the equivalent resistance setpoint reported by rtset using the new calibration coefficients. It also updates the temperature reported by tact from the current measured thermistor resistance.
After changing ntccal, verify tact at known temperatures before relying on tset or temperature protection.