For Assignment 6 we needed to connect Arduino and Processing both from Arduino to Processing and vice versa.

All code is below.

https://github.com/brummond/assignment6

Part 1:

For Part 1 we needed to connect the processing button ability to the arduino’s passive buzzer. My goal was to get it to play “Play That Funky Music” but everything I tried ended up sounding like a horrible alarm going off so I decided to move on for my (and my neighbors/roommates) best interest. I did however, get the button to click, change colors, and turn on the passive buzzer. See the video below for a demonstration, and the link above for the code.

Part 2:

For part 2 we were to use the graph framework to convert the joystick movement to the processing sketch. I wanted to get the code to work in a way that would change the background color slightly when the button was pressed, or clicked down, but to no avail. Thankfully I got what I needed to done, and enjoyed the process. The ribbon cables were a huge help and although there were some weird jumps as seen on the screen, I think overall the code worked pretty well.

Posted in

Leave a comment