Coff-E Table


The school year is just around the corner so I wanted to make something cool for my suite. So here is the build of my interactive coffee table I call COFF-E (Pixar don’t hate me, I love Wall-E, that’s why I’m borrowing from your design).

First I actually assembled the table. Most of the wood came from a scenery from a show I worked on in high school. I save some of the nicer pieces of wood from the dumpster. The smaller pieces I found in my garage.


After cutting the pieces down to a size that worked, I screwed it all together. I am no perfectionist, so I didn’t care if everything fit together just right. It just needed to work enough. I found some spare screws and voila, we have a table.


I added a few coatings of a base color and then splatter painted it. It gave it a really cool look and not a lot of work. For the splatter paint I used some plastic forks so I could really fling the paint at the table (and apparently my hands). All of the paint I found around the house, so I still haven’t bought anything for this project.


Now onto the part I find especially interesting, the electronics. Warning: the following get’s a bit technical. Inside the table there are 40 LEDs. It’s set up in an 8 x 5 matrix. All of the cathodes are connected in each column, and each anode is connected in each row. My arduino doesn’t have 40 output pins, so using this method I can greatly reduce the required pins. The idea is the arduino only lights up one row at a time. In that row it lights up every column it’s programmed to, turns them off and goes to the next row. This process happens for every row. This process happens so fast that because of persistence of vision, it looks like all 40 of the LEDs are lit up at once.


So far we need at least 12 pins in order to light up these LEDs (the arduino uno only has 13 digital outputs). To free up more pins, I used a shift register on the columns (so now 3 digital pins can control 8 LED columns. 3 column control and 5 row control now leads me to only need 8 pins. I could add another shift register for the rows, but to keep parts and programming easy I decided I reduced the number of pins enough.


I plugged it into the Arduino and within minutes, I have all of the LEDs light up. There was a couple mistakes. Two solder blobs combined and so column 2 and 3 were working together. A little desoldering fixed that all up. Secondly, I originally used resistors on all of the columns of LEDs (which I originally did to protect the LEDs). This reduced the brightness greatly, and the LEDs don’t get overpowered by the Arduino without them, so I ended up bypassing them. (This step may have caused the slight dimming in third to last column, which became more and more dim as the table lived on).

Glowing dots is all cool, but I wanted them to look more like square pixels. To accomplish this I used some foam board I picked up from Dollar Tree and made a grid.



To further diffuse the LEDs, I added a little dot of hot glue to the top of every LED, and then cut apart grocery bags and put a layer of that plastic across them.


Without plastic bag diffusion

With plastic bag diffusion

With plastic bag diffusion

This method was okay, but since I was using the foam board as a diffuser for the top, I lost a considerable amount of light. I acquired some textured plastic from some scrap at a hardware store for free: score! The result is just what I was looking for.


I added the controls to the table on a hinging spot I added to the table. The controls are two potentiometers, a select button, and a reset button. I decided to leave the wires exposed because I thought it gave the table a cool look.


I wrote the code for the table from scratch. The basic idea behind the code is you send a two dimensional boolean array to the make() method and tell it how long to display it. Right now it has 6 modes. In the first mode it cycles through all of the LEDs (really good for trouble-shooting).


In the second mode it randomly lights up different LEDs.


Third is a predefined animation.


Fourth is super low resolution two player pong.


Fifth is etch-a-sketch mode.


Sixth is a spin the bottle mode. You can adjust the speed and press the button to stop at any time.


Lastly: here we have a short making of video


Improvements for next coffee table:

  • Definitely more LEDs. 16×8 Matrix for a total of 128 LEDs (thats 320% more LEDs)
  • Attempt to get more uniform illumination from LEDs
  • More games. Research into low graphic games. Possibly create new game
  • Secret compartment(s)



3 thoughts on “Coff-E Table

  1. Pingback: Hackaday Links: April 13, 2014

  2. Pingback: Hackaday Links: April 13, 2014 - Tech key | Techzone | Tech data

  3. Pingback: Hackaday Links: April 13, 2014 | Hack The Planet

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s