Skip navigation

This is my poker table with programmable, digitally addressable, RGB color changing, LEDs with a web interface. I designed the table, the electrical hardware, and did most of the code myself. It uses an Arduino microcontroller, so there was an ample amount of supporting code from the internet. For instance, the LEDs (http://adafruit.com/products/306) I used are digitally addressable and came with a library, so I didn’t have to do all the low level programming for those. However, most of the web programming I borrowed from other projects I had worked on. There weren’t many examples of interfacing the Arduino with a web interface.

The controller is housed in a small HTPC case. I needed an enclosure with enough space to mount my terminal strips, breadboard and connectors, and I needed a power supply capable of 9-12V and 5V, so it worked out. The web pages reside on my small home server. There is a handheld controller that can be used to set all the lights, but after I finished the web app, I realized that wasn’t as fun. I wanted to make a dedicated application on my phone, but decided on the web interface for the cross-platform nature.

It didn’t come out perfectly, but it’s a prototype. Looking back a Raspberry Pi probably would have been a better choice for the controller since I could have embedded the web server. However, the Arduino provided better experience for my Electrical Engineering education. If anyone is working on a project that is similar in any way, let me know if I can help at all!

Later, I finished the regular table top I made to accompany it. After that, I added functionality to choose colors based on hex codes used to pick HTML colors.

The code is located at https://github.com/jrtrzeciak/pokerTable.

ImageImage

Here you can see the table in tournament mode as well as the web interface to go with it.

ImageImage

The result of a few people busting.

ImageImage

Here is the table in manual mode.

ImageImage

Here is the new manual mode where you can pick color codes rather than the 8 colors I hard coded. The color codes are the standard codes used for web programming/styling. A good resource is found at http://www.w3schools.com/tags/ref_colorpicker.asp.

ImageImage

Finally, the table without the lights.

About these ads

One Comment

    • Christopher John Duncan-Araúz
    • Posted June 22, 2013 at 12:09 pm
    • Permalink
    • Reply

    You’re awesome!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: