This is my first project using an Arduino Uno as well as posting it on Instructables. I will do my best to make this instructable as clear and and to the point as possible.

I wanted to take a household object and add a temperature and LED sensor that would change the brightness of the LEDs as the temperature in the room changes.

To start here is a list of supplies I used:

Clear LEDs(x6) Link1:mouser.com(price per LED $0.24) Link2:amazon.com(Price for pack of 25 LEDs $5.50)

1K OHM Resistor(x6) Link1:amazon.com If you plan on doing other projects involving circuit boards I would suggest just purchasing a resistor and capacitor book from adafruit.com

Blank circuit board for final product Link:amazon.com

Solid Core Wire Link:amazon.com Its a good idea to use different colors for the Ground Wire (negative and commonly marked by black wire) and the Positive Wire (marked with red wire).

9v battery Can be found in most stores Target, Walmart and Radioshack but here is a link if you would rather order them. Link:amazon.com and also a case for the battery(optional) Link:amazon.com

Breadboard(optional) Link:adafruit.com A breadboard is used for testing a circuit without the need for soldering.

Soldering Iron and solder Link:amazon.com Short Tutorial on soldering:Soldering

Glass Jar Link:hobbylobby.com

Spray Paint Link:lowes.com Used to frost over the glass jar

Now for the more important components.

Multimeter Link:amazon.com Very useful tool, used for lots of different task a few being; testing to make sure your connection is getting power, can read the value of resistors and read the voltage left in a 9v battery and much more.

Arduino Uno Link:Arduino (link also up top) Cable amazon.comfor Arduino Link:

DHT22 Temperature/Humidity Sensor Link:adafruit.com I choose not to implement humidity in this project however you can have the LEDs change as the humidity changes the same way as they do for the temperature, which will be explained in the code later on. Adafruit also sells a wired sensor with a resistor built in. I originally used that sensor but ran into overheating issues.

Step 1: Set-up DHT22 Sensor

If you went with the wired sensor you can skip this step.

If you didn't then you will need to solder the resistor that came with the DHT22 from adafruit. As it states on their site you will need to bridge the Positive wire and the Data wire together using the resistor. For more info visit their site here. While there you will also need to download the library for the sensor that way your Arduino will recognize the sensor in the code, there will be a link to the library on the code step.

<p>I hope to make this, does the code need changing if I used coloured LEDs (blue for cold red for hot etc). Thanks, I am a beginner!</p>
In one of my test I had different colored LEDs and one issue I ran into was when the temp dropped and the lights were suppose to fade back down they didn't. I think it had something to do with the LEDs having different voltages. My original project plan was to use RGB LEDs that changed colors as the temp changed I'm currently working on those and will post an update.

About This Instructable


14 favorites


More by pmt4: Arduino LED Thermometer
Add instructable to: