This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)
The CupGame is a 3D printed electronic beer pong simulation game controlled by the Arduino Uno.
Step 1: Materials List
- Arduino UNO
- Breadboard jumper wires
- Stepper motor and motor driver module
- IIC 1602 LCD display
- IIC cable
- IR Sender
- IR Reciever
- One button switch
- 10k Ohm resistor
- 3D Printer
All required materials for this project can be found in the USF MAKE course kit found here:
Step 2: 3D Printing
You can download the .rar file including all of the 3D printed parts used to create The CupGame here: http://www.megafileupload.com/en/file/587114/PracticePongParts-rar.html
Step 3: Code
You can download the complete arduino sketch for The CupGame here:
Step 4: Setting Up the Arduino/Breadboard
This is a diagram of The CupGames' circuit:
[INSERT FRITZING DIAGRAM HERE]
Step 5: Assembly
Eventually I plan on redesigning The CupGame so that all of the parts easily slide/snap together but for now you will have to use some type of adhesive to assemble this project; I used Loctite for vinyl, fabric & plastic and it worked very well for me.
I am also planning on designing a nice diagram of The CupGame with all of the parts numbered so that you can easily follow the following directions.
- Take "bottom 1" and "bottom 2" and glue them together as shown.
- Glue "sidewgearhole" to the right side of the bottom structure.
- Insert "PINION" into the hole of the right side and use it to determine where you should drill the holes in "leftside" for the stepper motor.
- After you drill the two holes fasten the stepper motor to "leftside" with two screws/nuts.
- Glue "leftside" to the bottom structure the same way you did "sidewgearhole" but on the left. (You will most likely need to temporarily remove the stepper motor.)
- Glue the right side of "tubesupport" to the inside of "sidewgearhole" and the bottom of "tubesupport" to the top of the bottom structure. You will want the back of the tube support to be aligned with the edge of the bottom structure.
- Glue "RACK" to the front of "tube".
- Glue "ramp" to the top of the bottom structure and inside of the tube support.
- Glue the bottom of the enclosure to the back of the tube support. Make sure you don't glue the top of the enclosure otherwise you will not be able to easily enclose the circuit.
- Use wire and tape to fasten the IR Sender and IR receiver to the top of the tube with their wires fastened down the inside of the tube and out of the bottom.
- Screw the LCD display into "frontpanel."
- Attach the button through the front panel using female connector wires.
- Reattach the IR sender/reciever, the LCD screen and the button to the circuit the same way as shown in the circuit diagram but just with longer wires.
- Glue the front panel to the two side structures.
- Insert "tube" into "tubesupport."
- Connect "PINION" to the stepper motor and through the hole of the right side.
- Glue "cup" to the top of "tubesupport".