Introduction: Arduino Thermometer, LCD Display, Thermistor
*** This project is no longer supported, the arduino code is outdated and no longer works, my arduino broke so I can't fix it, if you have a fix feel free to PM me! ***
Its an arduino project, creating a temperature measurer, with a thermistor, and outputs to an lcd display
Plug the thermistor in A0 through 5v
and follow the schematic, to hook up the lcd...
Parts list:
1, 2X16 white on black LCD
1, 10k Thermistor
1, Variable Resistor
1, Breadboard
1, 10k resistor
1, Arduino ( I use UNO)
1, 9v battery (Optional)
1, DC plug adaptor for 9v battery (Optional)
Here's the code
#include
#include
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
double Thermister(int RawADC) {
double Temp;
Temp = log(((10240000/RawADC) - 10000));
Temp = 1 / (0.001129148 + (0.000234125 * Temp) + (0.0000000876741 * Temp * Temp * Temp));
Temp = Temp - 273.15; // Convert Kelvin to Celcius
return Temp;
}
void setup() {
lcd.begin(16,2);
lcd.clear();
Serial.begin(115200);
}
void loop() {
Serial.println(int(Thermister(analogRead(0)))); // display Fahrenheit
lcd.print(int(Thermister(analogRead(0))));
lcd.print(" degress C");
delay(100);
lcd.clear();
}
Its an arduino project, creating a temperature measurer, with a thermistor, and outputs to an lcd display
Plug the thermistor in A0 through 5v
and follow the schematic, to hook up the lcd...
Parts list:
1, 2X16 white on black LCD
1, 10k Thermistor
1, Variable Resistor
1, Breadboard
1, 10k resistor
1, Arduino ( I use UNO)
1, 9v battery (Optional)
1, DC plug adaptor for 9v battery (Optional)
Here's the code
#include
#include
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
double Thermister(int RawADC) {
double Temp;
Temp = log(((10240000/RawADC) - 10000));
Temp = 1 / (0.001129148 + (0.000234125 * Temp) + (0.0000000876741 * Temp * Temp * Temp));
Temp = Temp - 273.15; // Convert Kelvin to Celcius
return Temp;
}
void setup() {
lcd.begin(16,2);
lcd.clear();
Serial.begin(115200);
}
void loop() {
Serial.println(int(Thermister(analogRead(0)))); // display Fahrenheit
lcd.print(int(Thermister(analogRead(0))));
lcd.print(" degress C");
delay(100);
lcd.clear();
}