We are going to be making a flashy beer pong table. The table lights up as cups are eliminated and old style arcade sounds are played.
This games elevates the subtle art of BEER PONG to a new level. A sporting level. A competitive, exciting, potentially sober (but hopefully not), future olympic sport!
This instructable only shows how to make half a table, but to complete the game and make ot 2 sided, just repeat all the steps and attach the two sides.
Here’s what you’ll need-
– 1000×800 sheet of ply
– 6 x Pint Cups
– White + Coloured Paint
– Old beer cask or keg for style points
– Some scrap wood / box / bricks for base
– Arduino board
– Bread Board
– 6 x LEDs
– 6 x Piezo sensors
– loads of wire
– Basic Soldering skills
– Patience…..
– More Patience
Optional
———
– LOADS OF BEERS AND MATES AND GOOD INTENTIONS

Step 1: Making the Table
Cut the sheet to 1000mm x 800mm.
Decide out where you want your cups to sit, by drawing a triangle and deviding the triangle into 4 even triangles (like the TRIFORCE).
The corners of each traingle show the centre points of your cups.
Drill a 10mm hole through the table at each centrepoint.
Paint all surfaces white and give it time to dry.
Step 2: Map out the Table Pattern
Slap on a colour of your choice to complete the pong styling.
We chose to go for grey as our design is intended for use by the carling company.
Let it dry.
Step 3: Build the table.
Decide how high you want your table to be and add whatever size box to the base you require.
we set our table about 850mm high.
Step 4: Arduino Time

Fix a bread board and arduino board to the underside of the table with glue / tape.
Get your 6 sensors and your 6 LEDs and attach them to the base of your cups.
Run the wires through the holes you drilled in the table and attach them at the appropriate place on the breadboard.
———————————————————–
THINGS GET A BIT MESSY AT THIS POINT
Just deal with one loop at a time, one sensor, one LED, get this working then deal with the next.
———————————————————-
Step 5: Arduino Code
———–
const int ledPin1 = 13; // led connected to digital pin 1
const int ledPin2 = 12;
const int ledPin3 = 11;
const int ledPin4 = 10;
const int ledPin5 = 9;
const int ledPin6 = 8;
const int knockSensor1 = A0; // the piezo is connected to analog pin 0
const int knockSensor2 = A1;
const int knockSensor3 = A2;
const int knockSensor4 = A3;
const int knockSensor5 = A4;
const int knockSensor6 = A5;
const int threshold = 500; // threshold value to decide when the detected sound is a knock or not
Read more: Arduino Beer Pong Arcade