As Inti Einhorn mentioned in his presentation (which was great, man--I've had several conversations based on it in just the past couple of days,) getting the Wii to work requires training. That'll be true of anything we build, too, especially w/r/t anything gestural.
With that in mind, I would strongly recommend that we look into neural networks as a way to train the machines. It sounds a little intimidating, but it really isn't. In fact, it ties in very closely to the reading about logic gates we've been doing so far.
IBM has a pretty good introduction to NN. In particular, read Threshold logic units (TLUs) and How a TLU Learns. The rest is pretty math heavy--though it's still good reading, if you're up for it. You can recreate AND, OR, XOR, etc. gates using neural networks pretty easily.
Hot on the heels of our readings in class are two unconventional examples of how logic gates work.
Here's an example of something simple and (potentially) practical you can make with an Arduino: a light meter!
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.
Now let's put some of this stuff together into a new circuit. You'll need four LEDs, four 220 ohm or 470 ohm resistors, one 1K ohm resistor, a push button, and a bunch of wires.
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.