Lab 8

For Lab 8 we learned how to use Processing to create a visual representation of code using serial communication between our Arduinos and Processing. The two potentiometers on the bread board control three separate circles. The left potentiometer controls one circle’s size and the X axis of the third circle. While the right potentiometer controls its own circle’s size and the Y axis of the third circle. When used in combination with each other the user can make the third circle do Etch-A-Sketch-esque movements while controlling two individual circles and their sizes (a video of which is here). Below is the schematic and physical circuit for the code (ignore the LED) as well as the Gists for the Arduino and Processing code, respectively.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s