For this lab, we worked on making the Processing IDE and Arduino IDE “shake hands” through serial communication.
The first part of it was to create an environment in which the Arduino could read and and write data from two potentiometers (or other analog sensors of some kind).
Next, we set up our Processing code to write to the Arduino, and draw pictures of some kind based on the data it was receiving from the Arduino based on the potentiometers.
- Solderless breadboard
- Jumper wire
- Knob potentiometers (2x)
- 220 Ω resistor
- Arduino Uno
- Processing and Arduino applications