The CoaTracker using Arduino
Has this ever happened to you? You wake up in the morning and realize that you’re terribly late for work/class/your weekly pedicure/whatever. You throw on a t-shirt and flip flops, sprint around your warm, heated house grabbing your belongings, and race out the door…where you suddenly find yourself surrounded by a cold, biting wind encompassing you in a horrible vortex of snow. You’re completely unprepared for this weather, but it’s too late to go back now. You must suffer through the wintery day, freezing and looking like a crazy person who can’t figure out how to put on a coat.
This instructable will show you how to create your very own CoaTracker, an interactive coat rack that tells you the local weather conditions with a single glance, so you’ll never again be unprepared. The CoaTracker is not only useful, but also an aesthetically pleasing and thoroughly modern addition to your home.
Step 2: Software
Follow the instructions for your operating system.
After both softwares have been installed successfully, you’ll also need to download Firmata, a standard Arduino firmware that makes it possible to control the Arduino through Processing. Follow all of the instructions here:
Step 3: Code
The code is commented so it should be pretty clear. Basically, it takes the weather from an XML feed of your choice (which you can find here: http://www.weather.gov/xml/current_obs/), parses out the weather condition, and uses that condition to light the correct EL wire on the CoaTracker.
The only part you have to change is the url of the XML feed for your location.
Step 4: The Circuit
Now you’ll need to connect the EL Wire to your Arduino. Here, you’ll need a lot of wire, plus the Relays and Inverters you bought.
The diagram of the circuit is attached.
Be sure to test all the wires and the code before incorporating them into the coat rack structure. You can do this by attaching the arduino to your computer with the USB cord it came with. Then press the Play button in the Processing code window to transfer the code to the Arduino.
For more detail: The CoaTracker using Arduino