Created on: 30 October 2012
In this Arduino project, you will build a small shield that measures temperature and will switch on one of three LEDs depending on the current temperature measurement. Each LED can be set to switch on in a predefined temperature range.
The PC software for the project is written in the Processing language and displays the current temperature, temperature history on a graph and the status of the three LEDs on the shield.
This video shows the completed project.
A MCP9700 temperature sensor connected to the Arduino A0 analog pin is used to measure temperature. Three LEDs can be set to switch on at preset temperatures.
You will need an Arduino board such as the Arduino Uno and a stripboard shield from the Tiny Stripboard Shield for Arduino project.
The following components are also required:
Qty | Part | Designator | Notes | Type |
---|---|---|---|---|
3 | 330 ohm resistor | R1, R2, R3 | 1/4W, 5% or better, any value between 220 ohms and 470 ohms will do | Resistors |
3 | 3mm LED | D1, D2, D3 | One red, one green and one amber or yellow LED | Semiconductors |
1 | MCP9700 | U1 | Temperature sensor IC | |
2 | 100n capacitors | C1, C2 | Optional for improving stability | Capacitors |