Saturday, May 1, 2010

Demo Day

Yesterday was Demo Day where we discussed our journey thus far towards creating a virtual beer pong game.

Below, photos can be found of each of the methods we took in an effort to make this project success.



^ Method 1

^ Method 2

^ Method 3

^ The Board

^ HC12

^ Method 4

We have learned several important lessons including:
- How to incorporate various methods in c programming
- About audrino programming
- About the SCI and SPI
- How to react and adapt when an idea does not go as planned
- How to use CAD (when designing the case)
- How to utilize monome boards and interface them to create a complex system
- Further knowledge on using multiple ports


Our next steps would be:
- Each method hit hurdles where further steps could be taken, for instance with interfacing the HC12 with the audrino, some method of communication could potentially be found - interfacing the wii numchuck
- Figure out how to get RTI and ATD to work at the same time

Finally, check out our demo at:

Thank you for keeping up with us!!!

- Lindsey and Jim

Monday, April 26, 2010

Updated hardware!




Here's a shot of the HCS12 with ribbon wires that connect to the HCS12.

Sunday, April 25, 2010

Collecting the data

In an effort to gather data for game play, we set up the board in the casing with actual solo cups on top filled with nuts to hold them down. Then, we used the wii numchuck and simulated game play by throwing the ball into the cups with the numchuck in hand.



^ Jim getting ready to shoot



^ the set up

^ the numchuck


^values received from the numchuck

stay tuned!






Creating the casing

With the help of Eric, we were able to create an acrylic casing for our project!! First, it was drawn in CAD then produced using the laser cutter. See below for a fully put together casing with the initialize program running:


stay tuned for further progress from this week!

Tackling the code

The code warrior himself!:


We began to construct the code by first hard coding the initial state of the cups. Then, functions were written to incorporate the different re-racks seen on the previous post. Once the code was written, the monoboards were connected to the HCS12 and de-bugging ensued.
Stay tuned for our de-bugging adventures and perhaps even a video!

Re-rack Layouts

To fully represent the game of beer pong, we created several layouts for various re-racks which are based on the number of cups remaining. Below are the names of each of the re-racks and a picture of the layout. In later posts, the coding for these will be discussed.

Re-rack Types:

Line 3 - 3 cups

Line 2 - 2 cups


Initial Rack Layout - 6 cups


House - 5 cups


Forward Triangle - 3 cups

Diamond - 4 cups



Center - 1 cup


Backwards Triangle - 3 cups





Stay tuned!!


Bring on the monoboards

After the epic fail of the Peggy board, we onto a monoboard adventure. We recieved 4 monoboards and connected them in series after soldering on the LEDs. Here's a picture:


Once everything was put together, we tested the connection using the power supply. And yes, a video will be coming shortly!! Once the board was fully constructed, we began creating the code for our 2 player virtual pong game. Also, we began contemplating designs for a case.

Stay tuned!