Working individually, send data from Arduino to Processing and vice versa using serial communication. You can find some examples that might help you here. Make sure you have the serial port number set correctly and the baud settings set on both Arduino and Processing.
This is a great opportunity to apply and combine all the things you have been learning during the semester. Document your work on the documentation blog, following similar steps to the ones you have been asked during previous recitations. Give context to your project and use the readings assigned to explain what worked and what did not work in your process.
Create a Processing sketch that sends data to Arduino. Receive that data and express it using physical components (ie. servo, led, buzzer).
Create a circuit using your Arduino to send data from physical inputs (ie. variable resistors, buttons, tilt switch) to Processing. Receive the data and express it visually in your Processing sketch.
Now that you are able to send data back and forth between Arduino and Processing, think through the following questions. Make sure you write a short reflection about why you would use serial communication in your future projects.
- What are the possibilities for interaction that you can envision?
- What are some of the benefits of controlling physical elements with computational media and of controlling screen-based computational media through physical interaction?
- Can you think of real world applications that take advantage of communication between the physical and screen-based computational media?