I gotta say, if you go to some of the better karaoke joints in the city, you really see some pretty straightforward physical computing stuff there that's done very effectively. At the place I was at last night, there were LED tambourines, lights that dim and shone with the baseline, all kinds of stuff. So, let me say it here first -- KARAOKE COLLAB! Because it's time, people. It's time.
The trick for me, if you look at the photo, was to use a voltage divider for the photoresistor. That is, the analog input comes from the point on the circuit between the photoresistor and a 1K ohm resistor.
The Arduino coding session we had today seemed to go pretty well (though I'll let the other folks blog about what it was like on the student end of things.) We got a bunch of things blinking and buzzing, and we covered most of what you need to do to read and write digitally and analog... analogally... analogly... analogalogally... hmm, don't know the word for that. At any rate, it was fun for me.
Hook four wires into the Arduino's digital outputs (check the code to see which ones.) Connect the smaller resistors to each of those wires, then connect an LED to each resistor with its short leg to ground. Be sure to hook up the 5V and GND lines between your Arduino and breadboard.
Copyright Mike Edwards 2006-2009. All content available under the Creative Commons Attribution ShareAlike license, unless otherwise noted.