Arduino thermometer, LCD Display, Thermistor

 by Blueray03
IMG_4093.JPG
IMG_4069.JPG
IMG_4070.JPG
IMG_4076.JPG
IMG_4071.JPG
IMG_4072.JPG
IMG_4073.JPG
IMG_4074.JPG
IMG_4075.JPG
IMG_4077.JPG
IMG_4078.JPG
IMG_4079.JPG
IMG_4080.JPG
IMG_4081.JPG
IMG_4082.JPG
IMG_4083.JPG
IMG_4084.JPG
IMG_4085.JPG
IMG_4086.JPG
IMG_4087.JPG
IMG_4088.JPG
IMG_4089.JPG
IMG_4090.JPG
IMG_4091.JPG
IMG_4092.JPG
LCD_new.png
Thermistor_Sketch_bb.jpg
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();

Dylon124 says: May 3, 2013. 4:32 PM
hi, can you help me your code says lcd. was not declared in this scope. what should I do?
adagio15 says: Oct 21, 2012. 11:04 AM
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
dcastor in reply to adagio15Oct 29, 2012. 2:20 PM
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?
Freddy_100 says: Jan 11, 2012. 4:05 AM
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.
Blueray03 (author) in reply to Freddy_100Feb 25, 2012. 3:23 AM
Sorry about that, the parts list is up now along with a more clear diagram...
moogbeatz99 says: May 9, 2011. 5:26 PM
never mind i didnt know the math library was automatically included, but not actually in the libraries folder
moogbeatz99 says: May 9, 2011. 5:18 PM
i cant seem to find where to download the math library, could you send me the link?
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!