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.
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
- Capacitor 330μF
- Breadboard / printboard
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.
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!