Temperature Conversion
Use the Steinhart-Hart equation to calculate the temperature.
where
T is the temperature in Kelvin
R is the resistance at T in Ohm
A, B, and C are the Steinhart–Hart coefficients
Note that the Steinhart–Hart coefficients vary depending on the type
and model of thermistor used and the temperature range to be con-
sidered.
The
term in the above formula is frequently neglected
because it is typically much smaller than the other coefficients.
For this module, the recommended coefficients of A, B, and C are
A = 0.001129148
B = 0.000234125
C = 0.0000000876741
The given values for A, B, and C may work for the general case. If the
coefficients do not yield the expected results, use a thermistor cal-
culator tool to make necessary adjustments.
Example Application
The following example outputs the measured temperature to the
IDE's Serial Monitor.
The example uses the Steinhart-Hart coefficients as given in the sec-
tion 'Temperature Conversion'.
The instructions use the Arduino® platform to illustrate product
use. You can also use an Arduino derivative or another platform
that supports this type of product.
Connection
Module
S
Arduino®
A0
+
-
5V
GND
2