picoffee_small.JPG
The purpose of this project is to create a modern slimline version of an arcade cocktail cabinet. Also to do other tasks such as browse web or write emails with the use of a wireless keyboard and mouse. The 24 inch LCD screen mounted in the center can be used to do any number of things such as show family photos or updates from social networking sites.

In the spirit of low cost, all the wood work used is recycled. The main expense apart from the raspberry pi itself is for the 24 inch LCD screen in the middle and the arcade joysticks and buttons.

To be child friendly the corners are rounded and perspex is mounted over the LCD screen.
 
Remove these adsRemove these ads by Signing Up

Step 1: Select Your Parts

The LCD screen

I went with a 24inch LCD screen with LED backlight. Select any size screen you wish.

Make sure it has good viewing angles as the screen will be mounted upwards and almost always viewed at an angle. Test out the screen viewed from above and below, from the left and right and make sure it still looks almost as good as when viewed straight on.

Select one that can be wall mounted as it can then be attached to the table from underneath.

Select one that turns on without needing any buttons to be pressed as all the buttons with be hidden inside the table.

The Joystick and Button

This is up to you, I went with a Happ 4 or 8 way arcade ball top joystick, 2 blue American style buttons, 1 player and 2 player buttons.

Perspex sheet 4mm
Cut to the size of the outside edge of the LCD screen, larger than the viewing size of the screen as it will be screwed onto the underside of the top of the table.

Wood, glue, screws, stain and finish
This is all up to what you want to do. I used pine that I recycled from various places. Hot Hide Glue because I wanted to learn about using it. Using screws rather than glue or screws and common wood glue would have been easier.
I used a black stain and then a shellac french polish.

Sound
I recycled a nice 5inch speaker for the sound and used the circuit from an old set of computer speakers. This gave to ability to plug in headphones and automatically turn off the speaker.
1-40 of 57Next »
schettine says: May 24, 2013. 1:56 PM
Could send electric scheme or scheme of connections of the buttons and keys? arteiro.junior @ hotmail.com; adriano.junior@globo.com . thank you
sshipway says: May 20, 2013. 7:33 PM
I'm building one of these now. Using the I-PAC from ultimarc.com to interface the controls with the Pi, since this lets me have way more buttons and multiple joysticks. One problem I've encountered is that the HDMI output on the Pi does not provide much power - even with the hdmi_boost options set in the config.txt, the red signal is not strong enough for many of the older TVs and DVI monitors.  I would suggest people use at least a 700mA power supply for the Pi (many USB power adaptors are only 500mA) and make sure their selected TV/monitor can cope with the low signal produced by the Pi.  I've tested about a dozen items; HP seems to have more difficulty, IBM and LG seem better.  But YMMV.
I picked up an old wooden coffee table from TradMe (NZ version of eBay) to convert, for only $16 -- which was much better value to making my own table (and much better quality than my woodworking skills, too).  No images to post as yet as its still incomplete.
If any people want a 2G SD image for the Pi holding everything necessary (MAME, menu system, ROMs...) then drop me a line and I'll see what I can do.
festis says: May 13, 2013. 5:00 PM
I am new to the pi, what parts for the pi did you use. i plan on building one of these. looks like i could do it!
shane369 says: Dec 17, 2012. 1:59 PM
Hopefully this will be my last question, I have everything connected up, but I am confused as to what I need to edit to make the GPIO work. I run advj and it does not detect any type of joystick input.
shane369 in reply to shane369Dec 17, 2012. 6:35 PM
I wanted to add this in real quick. Following the link you provided for http://blog.thestateofme.com/2012/08/10/raspberry-pi-gpio-joystick/ I have been able to get the inputs detected and actually functioning. However, the rpi-gpio-jstk.py does not include the second button or the player 1 and 2 buttons. Is this the method that you used for yours? If so any chance that you can link your rpi-gpio-jstk.py with the added buttons or provide some insight in how to add them? I am teaching myself as I go, but with this being a xmas gift I am running out of time. Also, I'm not sure where my mistake is but after each restart, I am having to install python-uinput and run the sudo python rpi-gpio-jstk.py script each time. Am I correct in saying that at each start the rpi-gpio-jstk.py will need to run at startup?
grahamgelding (author) in reply to shane369Dec 17, 2012. 7:47 PM
I can send you my rpi-gpio-jstk.py and coffee_table.sh if you message me your email address.
grahampowell in reply to grahamgeldingMar 29, 2013. 1:06 PM
i would love to see these files too please! i want to try the project. i have been programming in python with GPIO, but wouldn't know how to 'map' the GPIO inputs to the keyboard (or however you do this). thanks a lot! thesupers@hotmail.com
grahamgelding (author) in reply to shane369Dec 17, 2012. 7:46 PM
to the bottom of the file /etc/profile
I added:
sudo modprobe uinput
sudo python /home/pi/rpi-gpio-jstk.py &
/home/pi/coffee_table.sh
Oliverhassan says: Mar 9, 2013. 3:23 AM
Would you be able to provide a bit more detail on how you implemented the braces? I'm not sure what the best way to fix these would be to ensure decent support of the monitor.

Cheers!
grahamgelding (author) in reply to OliverhassanMar 10, 2013. 2:44 PM
I used 2 pieces of pine and shaped them to fit the shape of the back of the monitor. I stuck a layer of rubber on them where they touch the monitor and screwed them into the frame of the table and into mounting holes in the back of the monitor. If you can make some steal braces it would be better.
satiredun says: Mar 8, 2013. 3:38 PM
Is there a more detailed schematic/source code somewhere? I'd love to see it.
wgonzalez1 says: Mar 3, 2013. 10:47 AM
Is there a schematic with the resistors I could see?
grahamgelding (author) in reply to wgonzalez1Mar 3, 2013. 6:16 PM
refer to http://magpi.techjeeper.com/The_MagPi_issue_2.pdf (page 12) I removed R1 and LED1 which leaves R2 1KOhm, R3 10KOhm. Repeat for each of the 8 GPIO's. The ground side of the switches are all linked together.
paulpaul2 says: Feb 25, 2013. 10:26 AM
How have you flipped the screen?
Have you done this in the menu of the screen or in the config.txt file??
(sorry for my bad english:-))
grahamgelding (author) in reply to paulpaul2Mar 3, 2013. 6:15 PM
I have flipped the screen the mame config file
HaDAk says: Feb 10, 2013. 7:13 PM
Have you had any issues with the heat of the display not dissipating properly in that orientation?
grahamgelding (author) in reply to HaDAkFeb 10, 2013. 8:09 PM
Not so far, I can feel a bit of warmth on the perspex top after it's been left on all day.
HaDAk in reply to grahamgeldingFeb 10, 2013. 9:16 PM
Excellent. Thank you. I'm working on a coffee table computing project of my own, utilizing an ODROID-X2 and a 40" LED TV. One of the missing puzzle pieces was the heat dissipation of the screen in a horizontal orientation... I wasn't sure if it would cause damage to the panel. Apparently, it does not. It's equally comforting to know that the LED will produce far less heat than your LCD.

You've been most helpful. I appreciate it :)
DoctorWoo says: Dec 19, 2012. 2:08 AM
I'm rather curious for my project of the same sort of nature....how easy is it see the image on the screen? For example: if you made this into a dining room table, and were sitting at said table, would the screen look distorted at all? Thanks in advance!
grahamgelding (author) in reply to DoctorWooDec 19, 2012. 4:09 PM
This is an important consideration and it depends on the screen. A coffee table you are leaning over it a bit and looking down on it a bit more also. I recommend getting the screen and placing it face up on a similar table to get a feel for how it is going to look before starting any major project.
shane369 says: Dec 16, 2012. 7:58 PM
What size wood did you use for the top edges(area where joystick and buttons are mounted) I ordered the same joystick as you did from Terry and wanted to make the woodwork as painless as possible. Also, did you base your joystick/button spacing on a particular arcade game or just placed them at a comfortable position?
grahamgelding (author) in reply to shane369Dec 16, 2012. 11:37 PM
I just used what I had on hand and spaced the joystick and button so they looked right. The panel that the joystick and buttons are on (1 of 4 panels around the screen) is thickness 17mm (5/8 inch), width 170mm (6 5/8 inch), length at widest 630mm (24 7/8 inch)
shane369 says: Dec 8, 2012. 2:29 PM
Are you able to get your ROMs to play in full screen? I managed to get my screen rotated vertically, but the ROM does not make use of the resolution that is available. It fills about a third of the screen. Any ideas?
grahamgelding (author) in reply to shane369Dec 10, 2012. 4:44 AM
Yes but with space at the top and bottom because I have a wide screen. It took a lot of trial and error. If you are editing the config file directly, instead try loading a game and using the menus in mame to select the different settings. That way you can see changes take effect straight away.
TechDante says: Dec 1, 2012. 8:44 AM
HI great build . Did you use a mame front end if so how did you get the pictures to boot into it
grahamgelding (author) in reply to TechDanteDec 1, 2012. 12:08 PM
I'm using advancemame, from these instructions
http://blog.thestateofme.com/2012/08/03/raspberry-pi-arcade/
For the front end I made a menu using whiptail (same as the raspberry pi config menu). I'm using the table for more than just mame games and you can add items to the menu to run anything you want. I would like to write a better menu in python that displays photos, a clock and supports the joystick. But haven't had time yet.
TechDante says: Dec 1, 2012. 8:44 AM
HI great build . Did you use a mame front end if so how did you get the pictures to boot into it
shane369 says: Nov 24, 2012. 11:47 PM
I went to order the joystick tonight and noticed that using the seller you linked offers 2 options for the joystick, either for wood or metal. Obviously the table is wood, but in your pictures the joystick seems to be shorter like the one for metal. Can you confirm which one you ordered? My Pi will be here Monday and I am trying to build this for my kids Christmas, so please bear with me. I am sure I will have more questions!
grahamgelding (author) in reply to shane369Nov 26, 2012. 12:30 AM
The one I ordered is for wood. The joystick is longer because it is mounted under the thicker wood and needs to be longer to be the same height on top as one mounted under the thinner metal.
scottishbuddie says: Nov 9, 2012. 4:47 AM
Hi mate,

Excellent job. I have a couple of questions regarding the power supply. When you say you used a 2, then later, a 4 port adapter, is this simply a standard plug socket adapter plugged into the mains that then accepts 4 further standard plugs or is it a single power supply with multiple outputs? Looking at the picture it appears to be the former but I wasn't completely sure.

I'm hoping to build a mini desktop cabinet with similar specs so am curious as due to inherent space limitations, I may be precluded me from using a flat 4 plug adapter similar to you (if this is indeed what you used). What would you recommend as a viable alternative in my case, if any?

Cheers,
Tony
grahamgelding (author) in reply to scottishbuddieNov 9, 2012. 5:57 AM
It is just a standard 4 port adapter, it just fit running along the edge. It isn't a neat way to do it but it avoided doing mains wiring. Without the space you will need to wire mains voltage. An electrician should be able to help you out and make sure it is safe. Maybe with a terminal block and power supply.
ludz says: Nov 4, 2012. 4:04 PM
Hi

What menu system did you use? I'm trying to do the same thing, but as a linux noob I'm exhausted after getting AdvanceMame to run from the command prompt!

That works for me, but isn't wife / kid friendly - I've unsuccessfully tried AdvancedMenu, but my noob skills are limited there.

Thanks, and great job,

Simon
grahamgelding (author) in reply to ludzNov 5, 2012. 1:46 AM
Hi Simon,
Keep at it!
It probably requires a separate instructable but I copied /usr/bin/raspi-config which is the raspberry pi config menu and modified it.
cp /usr/bin/raspi-config /home/pi/menu.sh
chmod a+x /home/pi/menu.sh
editor /home/pi/menu.sh
(add your own do_Commands(), change the whiptail parameters, I realise this is going to be hard to get right for beginners)

Then assuming your system is set to boot up and log in at the command line,

sudo editor /etc/profile
(and add in at the bottom)
/home/pi/menu.sh
latexmallard says: Oct 28, 2012. 11:10 PM
Way cool. The only thing I would change is using a glass sheet over the top of the entire table. Glass is more scratch resistant and covering the whole table means drinks etc cannot spill into the works.
grahamgelding (author) in reply to latexmallardOct 29, 2012. 3:06 PM
This is a good idea. Could you drill the holes into the glass to mount the joysticks and buttons? Or put them on a separate wooden section like on the real cocktail cabinets. I forgot to mention there is a strip of water proof rubber seal between the perspex and top. The screen already survived a spilt coffee. But the coffee went down one of the buttons and I had to clean the micro switch.
_Vyper in reply to grahamgeldingNov 4, 2012. 10:04 PM
might or might not be able to drill it yourself, but a local glass/window/picture-framing place could maybe do it if you can't
latexmallard in reply to _VyperNov 4, 2012. 10:43 PM
Drilling glass is easy, but the tools are expensive. I have had many fish tanks drilled at the glass shops. The shops can also grind a smooth edge around the outside and even round the corners if you want.
Mrbill1234 says: Nov 4, 2012. 3:05 PM
Would it be possible to get a copy of your raspi boot image compete with mame etc?
shane369 says: Nov 3, 2012. 2:45 PM
Would this work for the prototype board? IMO it seems like it would be a cleaner install.
http://adafruit.com/products/801
grahamgelding (author) in reply to shane369Nov 3, 2012. 6:41 PM
Yes, this looks excellent.
1-40 of 57Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!