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();

Comments

author
LewisJ4 (author)2015-11-23

can anyone please tell me why RawADC is undefined in my code

Thanks in advance

author
Julio C.B1 (author)LewisJ42016-10-15

int RawADC = analogRead(pin);

author
DanielleC4 (author)2016-01-18

Hi! I am making a project on temperature measurements with arduino uno and thermistor. I am using the voltage divider method to determine the resistance of the thermistor, and the steinhart model for temperature calculations. However, when I tested it on a boiling water the resistance obtained by the setup where not the same on the multimeter readings, so that, instead of obtaining a temperature of 100 deg Celsius I obtained higher than that ranging from 101 deg Celsius-116 deg Celsius. Do you have any suggestions on how can I fix that?

author
LewisJ4 (author)2015-11-23

can anyone please tell me why RawADC is undefined in my code

Thanks in advance

author
pjparthjoshi (author)2013-12-04

I need your help;; in my project simply i have to read analod values ,amplify it and have to display on the lcd but my serial monitor and lcd are showing different values..please help.

author
Blueray03 (author)pjparthjoshi2013-12-05

Could you upload the code you're using to http://pastebin.com/ ?

author
jeybcdefg (author)2013-10-09

same here.. when i verify the program, it says that "Lcd crystal does not name a type".. what to do guys?..

author
Dylon124 (author)2013-05-03

hi, can you help me your code says lcd. was not declared in this scope. what should I do?

author
adagio15 (author)2012-10-21

Hiya!
Mine predicted global warming......
It reads 351*C All the time....
I didnt have an LCD Screen handy at the time, so I changed the code to send it to serial....
What have I done wrong??
0_o

author
dcastor (author)adagio152012-10-29

I'm not the author, but maybe I can help. Can you post the code you are using?

Did you miss this line: "Temp = Temp - 273.15;" To convert from Kelvin to Celsius?

author
Freddy_100 (author)2012-01-11

I can not find the list of parts used. Or how to build it. Could you help out a little more. Looks like a good project.

author
Blueray03 (author)Freddy_1002012-02-25

Sorry about that, the parts list is up now along with a more clear diagram...

author
moogbeatz99 (author)2011-05-09

never mind i didnt know the math library was automatically included, but not actually in the libraries folder

author
moogbeatz99 (author)2011-05-09

i cant seem to find where to download the math library, could you send me the link?

About This Instructable

24,485views

27favorites

License:

More by Blueray03:Arduino thermometer, LCD Display, ThermistorHow to make flashing police lights with sound
Add instructable to: