Boat Game

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

 

2 thoughts on “Boat Game

  1. 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_

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>