An example needed.iam using 10 bit adc and sensor is 10k thermistor.
An example needed.iam using 10 bit adc and sensor is 10k thermistor.
A Thermistor changes resistance with temperature change. To read a 'remote' Thermistor a 'completion resistor' (CR), typically 1000 ohms, is used in series and a known voltage is applied to the circuit then the voltage drop across the CR is measured. If the thermistor is on the board then voltage drop across the Thermistor can be measured directly. The resistance changes with temperature change which is not linear and this is required
http://en.wikipedia.org/wiki/Thermistor#NTC
As you can see natural logarithms are needed to use this conversion, which are not available with PBP.Steinhart–Hart equation
For accurate temperature measurements, the resistance/temperature curve of the device must be described in more detail. The Steinhart–Hart equation is a widely used third-order approximation:
1 \ T = a + b\,\ln(R) + c\,(\ln(R))^3
where a, b and c are called the Steinhart–Hart parameters, and must be specified for each device. T is the absolute temperature and R is the resistance.
Steve Earl www.datageo.co.uk
Why not use a DS18B20 - It would be a lot simpler going digital
Or you could simply use a look-up table...As you can see natural logarithms are needed to use this conversion, which are not available with PBP.
Bookmarks