Using multiple serial output from Arduino into Processing to create a boat drawing game.
For this project I built a boat steering wheel that is mounted to a potentiometer, and connected it to Arduino’s analog input. Using this wheel, the user can control the boat rotation. To drop paint into the water the user uses a pedal that acts as a variable resistor and connected to another analog input of the Arduino. The microcontroller collects the data from these sensors and writes the values to the serial port.
On the other side (the computer), a Processing sketch is setup to listen to the serial data and display the game.
Demo:
Boat Drawing Game from Gal Sasson on Vimeo.
Arduino sketch: Arduino_Boat_Draw
Processing sketch: Processing_Boat_Draw
Your style is so unique compared to other people I’ve read stuff from. Many thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this page.
Thank you for taking this exercise to the next level! I really like how you have fun with the Labs, thank you for sharing! B_