Thermistor
A thermistor is a resistor whose resistance changes strongly with temperature. Most are NTC thermistors, whose resistance falls as they warm, such as the common 10 kΩ part, which reads 10 kΩ at 25 °C. The beta equation gives its resistance at any other temperature.
R = R25 × eB × (1 ÷ T − 1 ÷ T25)
where R25 is its resistance at 25 °C, T25 = 298.15 K, T the temperature in kelvin, and B its beta value, often about 3950 K.
PTC thermistors do the opposite, their resistance rising as they warm, which lets them act as self-resetting fuses.
What is a thermistor?
A thermistor is a thermally sensitive resistor: a resistor made so that its resistance changes by several percent for each degree of temperature.
Thermistors measure temperature in thermostats, battery packs, 3D printers and ovens, cheaply and quickly. A typical 10 kΩ NTC thermistor, in Figure 1, has about a third of its 25 °C resistance at 50 °C.
50 °C: R = 10 kΩ × e3950 × (1 ÷ 323.15 K − 1 ÷ 298.15 K) ≈ 3.59 kΩ, 36% of its 25 °C value.
How does a thermistor work?
An NTC thermistor is a ceramic of metal oxides, such as manganese, nickel and cobalt, in which warmth frees more charge carriers, so its resistance falls as it heats up.
A PTC thermistor works the other way. Made from a doped barium titanate ceramic or a carbon-filled polymer, it keeps a low resistance until a switching temperature, then its resistance rises steeply.
What is the difference between NTC and PTC thermistors?
An NTC thermistor’s resistance falls as it warms, so it suits measuring temperature and limiting inrush current; a PTC thermistor’s rises, so it suits self-resetting fuses and heaters.
A polyfuse is a PTC in series with a circuit: too much current heats it, its resistance jumps and the current drops, and it resets once it cools. An NTC at a power supply’s input starts cold and resistive, softening the first rush of current, then warms and gets out of the way.
What is a thermistor’s beta value?
A thermistor’s beta value, B, in kelvin, describes how steeply an NTC thermistor’s resistance falls with temperature; most lie between about 3000 and 4500 K.
A datasheet gives the beta value between two temperatures, such as B25/85 = 3950 K. The beta equation fits best near the temperatures it was measured between; over a wide range, the three-term Steinhart–Hart equation fits better.
How do you read a thermistor with an Arduino?
To read a thermistor with an Arduino, put it in a voltage divider with a fixed resistor of the same value, feed the middle point to an analog input, and turn the reading back into a temperature.
The divider turns resistance into voltage, as it does for a light-dependent resistor or a force sensing resistor. In code, work out the thermistor’s resistance from the reading, then use the beta equation, as in Example 2.
25 °C: the thermistor measures 10 kΩ, so Vout = 5 V × 10 kΩ ÷ (10 kΩ + 10 kΩ) ≈ 2.5 V, and an Arduino Uno reads about 512 of 1023.
How do you wire an NTC thermistor at 3.3 V, on an ESP32 or Raspberry Pi Pico?
To wire an NTC thermistor at 3.3 V, power its divider from the board’s 3.3 V pin, never 5 V, so a 10 kΩ thermistor with a 10 kΩ resistor gives 1.65 V at 25 °C.
A Pico’s ADC measures against that same 3.3 V, so its reading depends only on the two resistances. An ESP32’s ADC uses its own reference of about 1.1 V instead: read it with analogReadMilliVolts(), which applies its calibration, and keep the divider near the middle, where it is most accurate.
Why does the fixed resistor’s size matter?
The fixed resistor’s size matters because it sets how far the output moves for each degree and how much current heats the thermistor; one equal to the thermistor’s resistance gives the largest swing.
Any current through a thermistor warms it slightly above what it measures, an error called self-heating. A larger fixed resistor cuts that error but shrinks the swing, so match the thermistor near the temperature you care about most, as Figure 3 shows.
Fixed 10 kΩ: the output moves about 56 mV per °C, and the thermistor turns 630 µW into heat, warming itself about 0.42 °C: the most sensitive choice, matching the thermistor.
How do you calculate a thermistor’s temperature?
To calculate a thermistor’s temperature, convert to kelvin and turn the beta equation round: 1 ÷ T = 1 ÷ T25 + ln(R ÷ R25) ÷ B.
Example 1: a thermistor’s resistance
A 10 kΩ NTC thermistor with B = 3950 K sits at 37 °C. What is its resistance?
- Given
- a 10 kΩ NTC thermistor with B = 3950 K, at 37 °C
- Find
- its resistance, R
- Solution
- In kelvin: T = 37 °C + 273.15 = 310.15 KB × (1 ÷ T − 1 ÷ 298.15 K) = 3950 × (1 ÷ 310.15 K − 1 ÷ 298.15 K) ≈ −0.513R = 10 kΩ × e−0.513 ≈ 5.99 kΩ
- Answer
- R ≈ 5.99 kΩ
Example 2: a temperature from a resistance
A 10 kΩ NTC thermistor with B = 3950 K measures 4.7 kΩ. How warm is it?
- Given
- a 10 kΩ NTC thermistor with B = 3950 K that measures 4.7 kΩ
- Find
- its temperature
- Solution
- 1 ÷ T = 1 ÷ 298.15 K + ln(4.7 kΩ ÷ 10 kΩ) ÷ 3950 K ≈ 0.003163 per kelvinT ≈ 316.17 K, so 316.17 K − 273.15 ≈ 43 °C
- Answer
- About 43 °C
Summary
Key equations
- R = R25 × eB(1/T − 1/T25) the beta equation
- 1 ÷ T = 1 ÷ T25 + ln(R ÷ R25) ÷ B its temperature
- Vout = V × Rfixed ÷ (R + Rfixed) in a divider
- ΔT = P ÷ δ self-heating
Key terms
- NTC
- Negative temperature coefficient: falls as it warms.
- PTC
- Positive temperature coefficient: rises as it warms.
- Beta, B
- How steeply it changes, in kelvin.
- Self-heating
- Warming from its own current.
Practice problems
-
What happens to an NTC thermistor’s resistance as it warms?
NTC means negative temperature coefficient: its resistance falls as its temperature rises.
-
At what temperature does a 10 kΩ NTC thermistor measure 10 kΩ?
A thermistor’s rated resistance, R25, is its resistance at 25 °C.
-
Which kind of thermistor makes a self-resetting fuse?
Too much current heats a PTC, its resistance jumps and the current falls; it resets as it cools.
-
A 10 kΩ NTC thermistor from 5 V and a 10 kΩ resistor to ground make a divider. What is its output at 25 °C?
At 25 °C both are 10 kΩ, so the output is half the supply: 5 V × 10 kΩ ÷ 20 kΩ = 2.5 V.
-
What does a thermistor’s B value describe?
B, in kelvin, sets the steepness in the beta equation; R25 gives the resistance at 25 °C.
FAQ
Can I run a thermistor from 3.3 V?
Yes: a thermistor is just a resistor. In a divider from 3.3 V with an equal fixed resistor, it reads 1.65 V at its rated temperature, usually 25 °C.
What is a thermistor used for?
Measuring temperature in thermostats, batteries, 3D printers and appliances; limiting inrush current, with an NTC; and protecting circuits as self-resetting fuses, with a PTC.
How do you test a thermistor?
Measure its resistance with a multimeter at room temperature, where it should be near its rated value, then warm it in your hand: an NTC’s resistance should fall.
What is a 10K thermistor?
One that measures 10 kΩ at 25 °C, the most common value. With B = 3950 K, it falls to about 3.6 kΩ at 50 °C.
What is the difference between a thermistor and an RTD?
An RTD is platinum wire or film whose resistance rises slowly and almost linearly, accurate over a wide range; a thermistor changes far more per degree over a narrower range, and costs less.
What is the Steinhart–Hart equation?
A three-term fit, 1 ÷ T = A + B ln R + C (ln R)³, that converts a thermistor’s resistance to temperature more accurately than the beta equation over a wide range.
What is an NTC thermistor?
A thermistor with a negative temperature coefficient: its resistance falls as it warms, so a 10 kΩ NTC reads 10 kΩ at 25 °C and less when hotter. It is the kind used to measure temperature.