A resistance that falls as it warms
The thermistor is 10 kΩ at 25 °C, about a third of that at 50 °C and about three times it at 0 °C. It falls faster than a straight line and bends at both ends, and one number from its part number, B = 3950, describes the bend.
One number at 25 °C
An ordinary resistor is made to keep its value when it warms up. A thermistor is made to change. This one is an NTC thermistor, for negative temperature coefficient: warmer means lower resistance.
Slide it from cold to hot. The resistance falls all the way, but not evenly:
between 0 and 25 °C it drops from about 34 kΩ to 10 kΩ, and between 75 and
100 °C only from about 1.5 kΩ to 0.7 kΩ. A straight line through any two
points on that curve is wrong everywhere else, which is why the sketches in
this book never use map() for it.
The curve is drawn on a scale where each gridline is ten times the one below. On an ordinary scale the cold end would fill the drawing and everything above 40 °C would be lying on the floor.
What the part number says
The part is a Sunlord SDNT2012X103F3950FTF. Its datasheet could not be fetched while this book was written, so what follows is the part number read the way this family is usually decoded:
- 2012: 2.0 × 1.2 mm, an 0805, which the board's layout agrees with.
- 103: 10 × 10³ Ω, so 10 kΩ at 25 °C.
- F: ±1 % on that 10 kΩ.
- 3950: the B value, in kelvin, which says how steeply the resistance falls. It is usually measured between 25 and 50 °C.
- F, the second one: most likely ±1 % on the B value.
The B model
Two of those numbers are all a sketch needs. The resistance at any temperature is, to a good approximation:
R = 10 kΩ × exp(3950 × (1/T − 1/298.15))with T in kelvin, 273.15 plus the Celsius figure, and 298.15 K being 25 °C. At 25 °C the bracket is zero, exp(0) is 1, and R is 10 kΩ exactly.
It is called the B model because one number, B, sets the whole shape. It is closest to the real part between the two temperatures B was measured at and drifts away from it further out. How far to trust it comes back to that.
When it does not work
Negative temperature coefficient. As the temperature goes up, the resistance goes down. The opposite kind, PTC, rises with temperature and is mostly used as a resettable fuse. The back of this board says it in words: RESISTANCE DECREASES AS TEMPERATURE RISES.
The part is a Sunlord SDNT2012X103F3950FTF, LCSC C95968. Its datasheet could not be fetched while this book was written, so the values here are read from the part number. The 10 kΩ and 3950 are the numbers every sketch needs, and both are in the name.
3950 for this block: it is the 3950 in the part number. 3435 is another common B value for 10 kΩ thermistors, and a sketch written for one of those reads several degrees off at the ends of the range when run on this one. At 25 °C both give the same answer.
Yes, with the block unplugged. Measure between SIGNAL and GND: with VCC connected to nothing, the fixed resistor has no way back to GND, and the meter sees the thermistor alone. The capacitor makes the reading settle for a moment first. Hold it by the edges; your fingers warm it.
How a 10 kΩ resistor above the thermistor turns its resistance into a voltage.
The divider →Edit this page — content/books/ntc-thermistor/a-resistance-that-falls-as-it-warms.mdx
Questions about this product
See what other owners have asked, and read their solutions.
NTC Thermistor
Loading discussions…
Discuss this article
Ask about this page. The answer stays here, on the page it belongs to, for whoever hits the same wall next.