Maker Hacker Blog
Menu
  • Projects
  • About Me
Menu

Beer Pong Table (Part 1)

Posted on March 4, 2020November 3, 2020 by admin

This probably the biggest project I have undertaken. A beer pong table with 1668 addressable LEDs controlled by a C sharp program. Add in some IR sensors and about six months work, and you have the most epic beer pong table. This started one night when a mate sent me this link: https://www.instructables.com/id/Interactive-LED-Beer-Pong-Table/
A couple of weeks later we got drunk and decided it was a good idea to make it. However I like to do things my way so we made a bunch of changes. Follow along to find out how we did it (sneak peek below).

Beer Pong Table Scoreboard

Basic Plan

The idea of the beer bong table was to keep most of the features listed in the link above. A main matrix of LEDs in the middle of the table, LED rings around the cups (with cup detection sensors), and some more rings for spectator cups. I decided to use ws2812 LEDs as they are cheap and easily available. These would all be controlled by an Arduino (this turned into three as the project progressed). I wanted to have a score board for during the game, and the option to have different animations as well.

Parts List

Below is rough parts list that I ended up using for the beer pong table.

  • Electronics
    • 2x Arduino Nanos
    • 1x Arduino Mega
    • 20x TCRT5000 IR sensor modules
    • 28x 24 ws2812 LED rings (these were 86mm outer diameter)
    • 6x 5m Lengths of 150 ws2812 LED strips (total 30m and 900 LEDs)
    • 3x CD74HC354E 8:1 Multiplexers
    • 2x PC Power Supplies (check out the test bench power supply for details on how to use these)
    • 1x Old Laptop
    • 1x Multi Outlet Board
    • A whole lot of signal cable
  • Hardware
    • 1x 2400x1200x25mm MDF sheet
    • 1x 2400x1200x3mm Perspex sheet
    • 4x Custom 3D Printed corner brackets
    • Paint
    • 1x Old trestle table legs

Beer Pong Table Software

First of all the Arduino code is here: Download
The C# code is here: Download

The Arduino code will open in the standard Arduino IDE. The C# code will open with Visual Studio Community 2019. I chose C# as I have done quite a bit of programming with it before, and I had a windows based device. If you are looking to do this with a raspberry pi or similar you can run the code using the Mono library. I would still recommend using Visual Studio for any development you might do though.

How it works

Once you open up the code you will find three Arduino programs, and one C# program. The C# program runs on the laptop, and talks to the Arduinos over USB. Each Arduino controls a different part of the table. The Matrix controller program does the 50×18 LED center matrix. The cup controller program controls the LED rings at each end of the table and the IR sensors. The washer controller looks after the spectator cups and the to-be-installed-and-coded ball washers. The C# program sends serial messages over USB to set the colors of the LEDs, animation type, and to update the scoreboard. Due to the limitations of serial communications all the images and animations that are used must be stored in the Arduinos themselves. If you want to make your own images to display on the main LED matrix, make sure you check out my previous post. Below is a screen shot of the C# program running. I’ll finish this up here for now, stayed tuned for part 2 which will explain more around how the software works and how to wire everything up.

PC Controlled Beer Pong

3 thoughts on “Beer Pong Table (Part 1)”

  1. Brock Robertson says:
    November 1, 2020 at 10:58 pm

    I am unable to download the C# code. It says the zip file is empty? can it be emailed? also when will part 2 be posted? thanks.

    Reply
    1. admin says:
      November 3, 2020 at 8:48 am

      Hi Brock,
      Sorry I had a typo in the link, should be all fixed now. I’m starting on part 2 now thanks to you prompt. 😉

      Reply
  2. Pingback: Epic Beer Pong Table (Part 2) » Maker Hacker Blog

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

RSS
Facebook
Facebook
YouTube
YouTube
Instagram

Subscribe

Categories

  • Hacks (4)
  • Makes (7)
  • Restorations (1)

Recent Posts

  • Epic Beer Pong Table (Part 2)
  • Beer Pong Table (Part 1)
  • Image to RGB Array
  • Steampunk PC Case (Part 2)
  • Steampunk PC Case (Part 1)

Recent Comments

  • Brock Robertson on Epic Beer Pong Table (Part 2)
  • Epic Beer Pong Table (Part 2) » Maker Hacker Blog on Beer Pong Table (Part 1)
  • admin on Beer Pong Table (Part 1)
  • Beer Pong Table (Part 1) » Maker Hacker Blog on Image to RGB Array
  • admin on Cheap Laser Engraver Upgrade (Part 2)

Archives

  • November 2020
  • March 2020
  • September 2019
  • June 2019
  • May 2019
  • April 2019
  • February 2019
  • January 2019
  • December 2018

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2021 Maker Hacker Blog | Built using WordPress and Responsive Blogily theme by Superb