Measurement of Temperature Using Thermistor
by Liono Maker in Circuits > Arduino
1224 Views, 2 Favorites, 0 Comments
Measurement of Temperature Using Thermistor
Introduction:
Hi, this is Liono Maker
My YouTube channel: Link
In this tutorial we will learn how to measure temperature using Thermistor. The main idea is to make circuit diagram using Thermistor in Fritzing. Measurement of Temperature is measured by Thermistor. In this project, you will learn how to set up a primary Thermistor circuit with an Arduino that will output temperature readings to the serial monitor.
Components Required:
1- Resistance (10k ohm)
2- Thermistor (100k )
3- Bread board
4- Arduino-uno
Software Required:
1-Arduino IDE
2- Fritzing
Arduino Coding:
int ThermistorPin = 0;
int Vo;
float R1 = 10000;
float logR2, R2, T;
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));
T = T - 273.15;
T = (T * 9.0)/ 5.0 + 32.0;
Serial.print("Temperature: ");
Serial.print(T);
Serial.println(" F");
delay(500);
}