Convert voltage to temperature from an ntc

I have built a voltage divider with an NTC that has 12K ohm at 25 degrees C.
The analog input i have on my arduino is 12-bit and the voltage in are 3.3v

I have converted the sensorvalue to voltage in the program.
Code: float voltage = (sensorVal/4096.0) * 3.3;

The problem:
I don't know how to convert the sensorvalue to temperature.

The conversion is sensor resistance to temperature, which depends on which type of thermistor you have.

There are plenty of examples and tutorials on line, for example Using a Thermistor | Thermistor | Adafruit Learning System

See if help:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.