A Simple Thermistor Interface to an ADC
The equation for VT is shown in Equation 1.
The equation for the ADC result is shown in Equation 2.
where ADC is the ADC result and N = the ADC resolution.
Substituting Equation 1 into Equation 2 yields Equation 3 and the VREF term is cancelled out. This leaves the R1 value, which is known, and the ADC result, which is measured. The R1 resistor should be a temperature stable resistor otherwise it will affect the accuracy of the temperature measurement.
Rearranging Equation 3 and solving for RT yields Equation 4.
After the value for RT is calculated, the temperature can then be calculated by using the equation provided by the thermistor vendor. An example of an equation is shown in Equation 5, which is for a NTC thermistor.
The thermistor vendor would provide the value for the coefficients b0, b1, and b3. The equation can be solved for directly or a lookup table can be used if easier. Simple linear interpolation between the table data points is required to gain the proper resolution. A plot of the NTC thermistor is shown below in Figure 2.