Automated Beerpong Game - Moving Cups!

About the project

Drinking game too easy? Here's a way to increase the difficulty to your liking!

Project info

Difficulty: Difficult

Platforms: Adafruit

Estimated time: 1 day

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Stepper Motor, Mini Step Stepper Motor, Mini Step x 1
OLED Display, Blue on Black OLED Display, Blue on Black x 1
Limit Switch, 5 A Limit Switch, 5 A x 1
Rotary Encoder with Push-Button Rotary Encoder with Push-Button x 1
Arduino Nano R3 Arduino Nano R3 x 1

Software apps and online services

Arduino IDE Arduino IDE


After seeing a few extremely difficult projects involving automating games, I thought I'd try to make an easier and unobtrusive version using Arduino and tools on hand!

Concept, Build, and Demonstration Video

The device uses a stepper motor, motor driver, limit switch, rotary encoder, and OLED display.

When turning on the cups run through a homing sequence to find the limits of the AL2020 rail it slides on. Afterwards, you are able to select your difficulty 1 - 10 and start the motor through the menu displayed on the OLED screen.

The table is made from a sheet of 3/4" plywood and some 2"x2" used as legs. It also uses 1/4" thick acrylic at the ends to show the mechanism below the table, while keeping the entire top of the table flush and flat. Thus, you can use the table as a normal beerpong table, or as the automated version if supplied with power!

Schematics, diagrams and documents

Wiring Schedule for Components

Works with Arduino Uno and Nano. Needs 12V supply and 5V to power motor driver and Arduino, respectively.

CAD, enclosures and custom parts

Limit Switch Holder

Holds limit switch and AL2020 Rail

Go to download

Magnet Shuttle

Magnet shuttle which fits ontop of AL202 Slider

Go to download

Stepper Motor Holder

Holds stepper motor and AL2020 rail.

Go to download


Code for Automated Beer Pong Game

This is for the game, some adjustments might have to be made if using a different motor driver (TB6600) or motor with different degrees of steps.


Photo of TPalowski13


Mechanical Engineering Graduate, Youtuber. I like to make dumb builds that I find funny.


Leave your feedback...