This arduino thermometer gives color feedback on ambient temperature, together with an indication of how much clothing you should be wearing.This thermometer measures ambient temperature with a thermistor and gives feedback with a neopixel. The scale along the neopixel indicates how much clothing you should wear in that temperature; perfect to hang outside your window!

The NTC Thermistor is a resistor with a variable resistance induced by temperatures differences. When the temperature rises, the resistance of the thermistor decreases. This change in resistance is known as the beta constant and it measures °K.

Neopixel Ring
The 24 LED Neopixel Ring is a development by Adafruit. It is a small ring with an external diameter of 66mm, in which 24 RGB LEDs are distributed in a chain. The Neopixel is powered with 5V, it can provide led colour consistency because the ring has a constant current of ~18mA, and therefore voltage variation does not affect colour consistency. The ring needs to be connected to a microcontroller so it can receive specific protocols. The systems only works with processors with a speed of 8MHz or faster. It is compatible with, for example, AVR, Arduino, PIC, mbed.

Step 1: Step 1. Gather the Materials and Build the Circuit

Here are the components that you need to build the thermometer:

- Arduino Uno
- Neopixel Ring ws2812
- 10 kΩ resistor
- Thermistor
- Capacitor 330μF
- Breadboard / printboard
- Wires
- Casing

2. Solder it
Use the following electronic scheme to connect all the components. Try it in a breadboard first to check that everything is working properly before soldering.

Electric circuit
Overview wiring

Step 2: Step 3. Copy the Code and Test It

Copy the following code and upload it to your arduino and check if it is working. A Neopixel library https://learn.adafruit.com/adafruit-neopixel-uber... from Adafruit, it is necessary for the code to work. You can download it, save it in your chosen folder and then add it to the Arduino software by clicking in Sketch, Include library and finally Add .Zip Library.

With the code and library you’re ready to try it.

We have provided our code for you, but according to your own temperature parameters you can gauge/change your code.

Step 3: 3D Print a Casing

Create your own design and interface.

Step 4: Step 4. Make the Final Assembling

Place all the components into the casing after the circuit has been made and the code has been uploaded. A paper cover with a clothing scale or just numbers can be put over the LED lights to diffuse the light and to indicate the temperature.

Yay, now you can use your awesome clothing thermometer!

<p>Hi, I'm having troubles getting your sketch. Could you possibly link it some other way?</p>
<p>NVM. My computer was being dumb last night.</p>
<p>So I was able to download your code. The issue is you have a Capacitor in your materials, and I'm not figuring out where that goes? I see it in your actually pictures but where does it go in the wiring diagram?</p>
<p>I think he might have used it as reserve capacitor right where Neopixel ring connects to Vcc and GND. This eliminates any subtle voltage swings on the power supply as if you go from zero brightness to full in a blink of an eye, the supply voltage might get unstable and in some cases might affect the board or anything like that. It's like a battery but with a large drain current to fill those gaps in falling voltage where the power supply cannot adapt so fast. Well, he doesn't have that many leds tho the capacitor isn't very large and you probably don't have any fast changes in brightness.</p><p>Cheers</p>
I don't see your sketch.
<p>Awesome design. I like the fact that you made it a continuous scale so that user has a little room for interpretation. </p>

About This Instructable



More by sasmos:TfCD Clothing Thermometer 
Add instructable to: