Lab 8

In this lab we used serial communication to send input and out between Arduino and Processing. We then built an interface using Processing that visualized that data. The circuit consisted of two potentiometers, which each controlled a different aspect of the interface. One of the potentiometers controlled the size of the ellipses created and the other potentiometer controlled the color of the ellipse. If either of the potentiometers were rotated then the ellipse on the screen would also be rotated. Then, if the user clicks on the interface window, the window will be cleared of previous ellipses.

Lab 8 Serial from kshioshita on Vimeo.

Arduino code

Processing code

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