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
Step 1: What you need
* Arduino UNO
* LOL shield (http://jimmieprodgers.com/kits/lolshield/)
* TMP36 Temperature Sensing IC
* Breadboard for wiring up e.g. (http://www.oomlout.co.uk/prototyping-bundle-for-arduino-ardp-p-186.html)
* Some Wires
Step 2: Wire it up
SIG => A0
Note: The LOL shield does not come with Headers (as shown in the picture), attached to the topside.
I bought some here: http://www.amazon.co.uk/gp/product/B004RASBVY/ref=oh_details_o06_s00_i00
Step 3: Install the LOL Shield Libraries
You can get the link to them from this page:
Step 4: Let's Start by Reading the Temperature
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)