Changes

Jump to: navigation, search

Week 4 Lab

138 bytes added, 06:09, 21 April 2009
The other way around: Driving a Computer Program with Data from the Arduino
For this section you are going to use three potentiometers (or light sensor, or whatever you would like) to drive an application on the computer.
Examples->Communication->VirtualColorMixer
* Wire up three potentiometers as voltage dividers (like last week), and connect them to Analog_IN pins 0, 1, and 2.
[[Image:Pot_in.png]]
*Create the processing Sketch "arduino_color_mixer"
*Change the Serial port in the initialization in Processing. (<code>port = new Serial(this, Serial.list()[2], 9600);</code> on my computer)

Navigation menu