An Arduino Thermometer with Digital Display

Picture of An Arduino Thermometer with Digital Display
This is a project for Arduino to make a Thermometer with Digital Display, aimed at beginners.

Arduino measures the voltage on a TMP36 Temperature sensor, converts the Voltage to Degrees Celcius and Displays the value on an LOL shield display.

* Learn how to use the TMP36
* Learn how to perform numeric and string conversions in Arduino-C  (sketch)
* Learn how to display numbers on the LOL shield
Remove these adsRemove these ads by Signing Up

Step 1: What you need

Picture of What you need
You will need:
* Arduino UNO
* LOL shield   (
* TMP36 Temperature Sensing IC
* Breadboard for wiring up e.g. (
* Some Wires

Step 2: Wire it up

Picture of Wire it up
Wire the TMP36 as follows:
SIG => A0

Note: The LOL shield does not come with Headers (as shown in the picture), attached to the topside.

I bought some here:

Step 3: Install the LOL Shield Libraries

Install the Arduino libraries for the LOL shield if you don't have them already.

You can get the link to them from this page:

Step 4: Let's Start by Reading the Temperature

The code for temperature reading is shown in the Next Step. Step 7 shows the full code for the project. For now let's see the main ideas that make the code work.

We'll start by reading the temperature from the TMP36 and sending the value to the Serial Monitor (Tools -> Serial Monitor on the Arduino IDE).

The TMP36 outputs a voltage on the SIG pin proportional to temperature.

Zero degrees Celcius = 500mV   (0.5)

Each degree above that = 10mV   (1/100)

Here's a code segment:

float temperature = getVoltage(A0);                        // Get the voltage reading
temperature = (temperature - .5) * 100;                  // Convert to Temperature (degrees C)

ivver2 months ago

Nice project :)
Just curious, are there any resistors in the lol shield for LED-s?