This project was created at the Silicon Chef Women's Hardware Hackathon by:
Step 1: Collect Supplies
Soldering equipment, break-away header pins, and wire (rainbow cable works great)
Anemometer (wind sensor) such as this one: http://moderndevice.com/product/wind-sensor/
2 meters WS2812 LED strip, such as this one: http://www.adafruit.com/products/1138
Plastic cup and a single white sock (great use for that lonely sock that lost its partner)
9V DC barrel jack power source
A cup or bowl to cover the sensor so there's no wind during calibration
Step 2: Solder Wires to the Wind Sensor and LED Strip
For the LED strip, solder wires to the three contacts (Gnd, +5V, and DIN). Note that these strips are directional -- they have a right end and a wrong end to solder the data line to, although you could supply power to either end if you wanted to. So be sure to solder wires to the DIN (data in) and not the DO (data out) side.
At the opposite end of each wire, solder a breakaway header pin, so that the wires can be inserted into the Arduino. There should be a total of 7 wires, 4 from the wind sensor and 3 from the LED strip.
Step 3: Mount the Sensor to the Headset
Step 4: Mount the LED Strip Onto the Cup
Step 5: Load Code
Also download and install the LED strip library from http://code.google.com/p/fastspi/
Connect the Arduino to your computer with a USB A-to-B cable and load the sketch.
Step 6: Connect It All to the Arduino
- Gnd to Arduino Gnd
- +5V to Arduino 5V
- Out to Arduino analog port A0
- Tmp to Arduino analog port A2
- Gnd to Arduino Gnd
- +5V to Arduino 3.3V
- DIN to Arduino digital pin 6
- connect the barrel jack to the Arduino and plug the power source into the wall.
Step 7: Calibrate the Sensor and Get in Touch With Your Breath
Put on the headset and position the wind sensor close to your nose and mouth. Sit comfortably and experiment with different styles of breathing. Observe how the lights change -- the lights will fill the strip according to the wind speed, with the color controlled by the temperature of your breath.