Description
Thermistor PTC 2K are ceramic components whose electrical resistance rapidly increases when a certain temperature is exceeded. This feature makes them ideal for use in countless applications of modern electrical and electronic engineering.
A PTC thermistor is a thermally sensitive semiconductor resistor. Its resistance value rises sharply with increasing temperature .
Features
Resistance : 2 kOhms
Resistance Tolerance: ±1%
Operating Temperature: -55°C ~ 70°C
Power – Max: 75mW
Getting started with Thermistor PTC 2K
This example below shows how you can measure your room temperature using PTC 2k with Arduino UNO. For PTC, when resistance increase temperature increase also.
Hardware required
When the manufacturer didn’t specify the value of resistor to be used, you can use the multimeter to calculate its resistance.
- Arduino UNO
- Thermistor PTC 2K
- Resistor 2k
- Jumpers
- Breadboard
Connecting the Hardware
Upload The Sketch
int ThermistorPin = 0;
int Vo;
float R1 = 10000;
float logR2, R2, T, Tc, Tf;
float c1 = 1.009249522e-03, c2 = 2.378405444e-04, c3 = 2.019202697e-07;
void setup() {
Serial.begin(9600);
}
void loop() {
Vo = analogRead(ThermistorPin);
R2 = R1 * (1023.0 / (float)Vo – 1.0);
logR2 = log(R2);
T = (1.0 / (c1 + c2*logR2 + c3*logR2*logR2*logR2));
Tc = T – 273.15;
Tf = (Tc * 9.0)/ 5.0 + 32.0;
Serial.print(“Temperature: “);
Serial.print(Tf);
Serial.print(” F; “);
Serial.print(Tc);
Serial.println(” C”);
delay(500);
}
Testing the circuit
Upload the program to the Arduino board and then open the serial monitor. If it works correctly you should get the temperature room on the serial monitor.