A thermistor is a type of resistor whose resistance is dependent on temperature, PTC Thermistor is positive temperature coefficient, the resistance increases as the temperature increases.
Usage
Schematic
The input voltage in our circuit is 5v and we choose a resistance of 2200 ohms.
Calculation
We need to calculate the resistance of the sensor reading the analog input (VO), where we need to know the resistance of the sensor when the temperature is 25º, it calledR25 value where we can find it reading the datasheet, for KTY 10-5 is between 1950 and 1990 but we choose I use 2000 ohm because I got better results in combination with Rt of 2200 ohms.
The temperature factor Kt can be derived from this:
float R25 = 2000;
float Kt = Rt / R25;
The temperature at the sensor can be calculated from the change in the sensors
resistance from the following equation, which approximates the characteristic curve.
PTC Thermistor
A thermistor is a type of resistor whose resistance is dependent on temperature, PTC Thermistor is positive temperature coefficient, the resistance increases as the temperature increases.
Usage
Schematic
The input voltage in our circuit is 5v and we choose a resistance of 2200 ohms.
Calculation
We need to calculate the resistance of the sensor reading the analog input (VO), where we need to know the resistance of the sensor when the temperature is 25º, it called
R25
value where we can find it reading the datasheet, for KTY 10-5 is between 1950 and 1990 but we choose I use 2000 ohm because I got better results in combination with Rt of 2200 ohms.The temperature factor
Kt
can be derived from this:The temperature at the sensor can be calculated from the change in the sensors resistance from the following equation, which approximates the characteristic curve.
Code
References