1.
Reading and Displaying Temperature With an Arduino
Today we are going to walk you through the process of reading temperature with your Arduino and displaying it on a 16x2 character parallel LCD. This set up has many uses including displayign temperatures during home brewing, fish tanks, PC Temperature display etc. The code will scale nicely and it is so simple that a 5 year old can do it. So lets get started!
Please check your displays data sheet for pin placement. There are a few models with different pin arragements.
Connecting the Temperature sensors.
Lets start by connecting the 2 temperature sensors. To do this we need to connect 1 leg of each temperature sensor (or thermistor) to analog pins 0 and 1. Then you must connect each remaining leg to a 10k resistor and then to one of the arduinos ground pins.
Connecting the LCD to the Arduino.
Lets start by connecting power to the backlight. The 10k trimpot will be used to control the LCD's contrast.
Now we can connect the data lines from the LCD to the Arduino.
Now that we have the LCD hooked up all you need to do is upload the code below to have it disply the temperature from each of the temperature sensors.