Overview

A thermistor is a thermal resistor - a resistor that changes its resistance with temperature. Technically, all resistors are thermistors - their resistance changes slightly with temperature - but the change is usually very very small and difficult to measure. Thermistors are made so that the resistance changes drastically with temperature so that it can be 100 ohms or more of change per degree!

There are two kinds of of thermistors, NTC (negative temperature coefficient) and PTC (positive temperature coefficient). In general, you will see NTC sensors used for temperature measurement. PTC's are often used as resettable fuses - an increase in temperature increases the resistance which means that as more current passes through them, they heat up and 'choke back' the current, quite handy for protecting circuits!

Thermistors have some benefits over other kinds of temperature sensors such as analog output chips (LM35/TMP36) or digital temperature sensor chips (DS18B20) orthermocouples.

On the other hand, they require a little more work to interpret readings, and they dont work at very high temperatures like thermocouples. Without a digital-to-analog converter on board, you might be better off with a digital temperature sensor.

Their simplicity makes them incredibly popular for basic temperature feedback control. For example, lets say you wanted to have a fan that turns on when the temperature gets high. You could use a microcontroller, a digital sensor, and have that control the relay. Or you could use the thermistor to feed the base of a transistor, as the temperature rises, the resistance goes down, feeding more current into the transistor until it turns on. (This is a rough idea, you would need a few more components to make it work)

Even if you do use a microcontroller or complex system, for the price you can't beat 'em!



Note that even though the thermistor can go up to 125°C the cable itself maxes out at 105°C so this thermistor is not good for measuring very very hot liquids


Wiring

We can use a simple voltage divider circuit to measure the voltage across the thermistor.


Vout = Rt / (Rt + Rs) * Vin


Say the fixed resistor is 10K and the variable resistor is called R - the voltage output (Vo) is:

Vout = Rt / (Rt + 10K) * Vin



Remember that when you measure a voltage (Vi) into an Arduino ADC, you'll get a number.

ADC value = Vi * 1023 / Varef


So now we combine the two (Vout = Vi) and get:

ADC value = R / (R + 10K) * Vcc * 1023 / Varef



References

ReferenceURL
Thermistorhttps://learn.adafruit.com/thermistor/overview
Using a Thermistorhttps://learn.adafruit.com/thermistor/using-a-thermistor
Temperature Tablehttps://cdn-shop.adafruit.com/datasheets/103_3950_lookuptable.pdf