- Tue Apr 12, 2016 5:01 am
#45340
I really think you want to use this configuration:
[Vcc] ---- [Resistor Rdiv] -------|------- [Thermistor] ---- [GND]
|
[Analog Pin 0]
For Vcc = 5V (why 5V and not 3.3V?)
If is a NTC then (just example values, check NTC table for precise values for your specific Thermistor):
Rntc/25C = 10kohm
Rntc/125C = 300 ohm
- At 25C
ADC Input Voltage = 0.98 V -> Rdiv = 41k / Rntc =10k
- At 125C
ADC Input Voltage = 0.036 V <- Rdiv = 41k / Rntc =300
This will be your scale, from 0.036V to 0.98V.
To calculate Temperature, you can use table lookup technique or the Steinhart–Hart equation.
For more details read also :
http://en.wikipedia.org/wiki/Thermistor