Networked PONG

21Feb07

Working with the Lantronix X-Port and mini Arduino micro-controller, we had to create our own “pong paddle” that would be networked to a server via Ethernet for a pong tornament. The code, as described here (text file), sends out an IP address to connect to the server, where your paddle shows up on the screen as your IP#. The parameters were to send the server an ASCII character byte “l” for moving left, a “r” for moving right, and an “x” to log in and out. Using any sensors and interface you wcould come up with, everything from the kitchen mixer, to a bra as well as hats and eye glasses were utilized to moved a paddle back and forth to hit a ball. Link to the more pics from the maddness from class and another.

The Server was run on Processing and did encouter a bit of lag if too many people logged in at once. I had a few left over cast body parts in my studio and eventually came to using a pair of hands as the interface that the user would hold onto and shake to move the paddle. The hands are connected to dowels that run into an mdf enclosure, where a simple cam system was used to trigger, close two roller limit switches, and a toggle switch underneath to send out the x’s.

pondpaddle.jpg

397917051_e5f178f1a0.jpg

The three switches run to the Arduino where a set of LEDs provide feed back every-time a switch is hit or to let the user know that they have logged on or off or weather the system is running.

pongduino.jpg

A view of the cam system, a larger diameter dowls drilled off center and glued over the main.

397917185_1271e7456e.jpg

Advertisements


No Responses Yet to “Networked PONG”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: