Converting resistance to temperature
The outputs a resistance value for sensors that contain a thermistor. Temperature is calculated by applying the resistance to a known equation, such as the Steinhart-Hart equation, which converts resistance to temperature.
The Steinhart-Hart equation for converting resistance to degrees Celsius is as follows:
Temperature = 1/(A + B × LN(resistance) + C × (LN(resistance))^3) – 273.15
where A, B, and C are coefficients for the Steinhart-Hart equation.
The coefficients for the Steinhart-Hart equation are specific to the thermistor contained in your sensor and are obtained from the sensor manufacturer.
Please check with the manufacturer to get the coefficients for your specific thermistor.