For week two I had to use a sensor(analog in) to send information to the Arduino that then used the data to regulate something else. In my case I used 3 potentiometers that controlled blue, green and red LEDs.
I wanted to create a way to make many different colors. I put the LEDs inside of a cube of foamcore with a paper window. Watch the videos to see how it went.
With the lights on so you can see the components.
Color Maker in the light from Matt Richard on Vimeo.
With the lights off so you can see it work.
Color Maker in the dark from Matt Richard on Vimeo.