Step 5: Sound

Warning: This step required opening up the case of some old cheap computer speakers. Mains voltage is inside and care should be taken.

You could make your own amplifier circuit but this was an easy way out. Find an old set of computer speakers. The amplifier circuit inside has everything we need already.

The transformer on the left is taking mains voltage and providing 9V AC to the circuit board. This is safely enclosed inside the coffee table. Never touch the transformer when power is turned on.The volume pot is removed from the circuit board and hard wired with 2 resistors to be the equivalent to being in the max volume position. Volume will be adjusted from the pi. The mini stereo socket is mounted down into the bottom cover. The circuit bypasses the speaker when headphones are plugged in.
What is the lcd part number?
<p>I am B.E student i would like to do a project &quot;Restaurant table with <br>embedded menu card&quot; using touch screen. will you help me. i would like <br>to know the components and the basic idea for my project.</p>
<p>How'd you program the Pi?</p>
<p>Nice. Although what are you using the P2 button for? maybe install retropi?</p>
<p>Would it be easy to add a second joystick and buttons on the horizontal plane to be able to play the games that are not displayed in portrait mode ?</p>
<p>Here is also an alternative to the I-PAC which <br>is the <a href="http://www.jammaboards.com/store/pc-mame-ps3-to-arcade-controller-usb-interface-pcb-kit-pc2jamma-usb.html" rel="nofollow">PC (MAME) / PS3 to Arcade Controller <br>USB Interface PCB Kit</a>. This controller does work with the Pi too! Also the Arcade <br>controller PCB is not an keyboard emulator and will not interfere with not <br>computer keyboard inputs/operations.</p>
<p>I ask this as a complete Pi/arcade controller noob... Can you give more insight on how to pair this with the Pi? Could it possibly be as easy as connect the pins and go? Hoping you can point me in the right direction...</p><p>Many Thanks!!! </p>
I'm building one of these now. Using the I-PAC from <a href="http://www.ultimarc.com/ipacve.html" rel="nofollow">ultimarc.com</a> 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.&nbsp; 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.&nbsp; I've tested about a dozen items; HP seems to have more difficulty, IBM and LG seem better.&nbsp; But YMMV.<br> 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).&nbsp; No images to post as yet as its still incomplete.<br> 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.
<p>Hello,</p><p> I'm interested in using the i-pac as well. Did you get your project sorted out and gaming? Do you have an FTP or torrent for the Pi image file? </p><p>Cheers!</p>
There are links on the page for my own version of the instructable, including for the Raspi image and the ipac source. https://www.instructables.com/id/MAME-gaming-table-with-Raspberry-Pi/
<p>Id love to see this with double joysticks and buttons to play 2 players, like in the real arcades. Play mortal combat or contra with a friend.</p>
<p>Great instructable. Easy to understand</p>
What did you use to program the RPi for the web browsing and email, also is this making it a computer, effectively? Great instructable!
<p>can you please upload a few more pics of this project to get a better idea, seems quite interesting</p>
<p>this please</p>
<p>I'd advise anyone building this to place the buttons closer together. That is way too much space.</p>
<p>Imagine this with an touch screen display. You can possibly turn this into a Stark like project in which you have a touch screen controll display. </p>
<p>Yeah, that would be great. Currently i am playing with this project: <a href="http://tech-diggers.com/raspberry-pi-projects-host-website/" rel="nofollow">http://tech-diggers.com/raspberry-pi-projects-host...</a></p><p>I was trying to use Raspberry pi as a test server for my wordpress installs, the results were acceptable.</p>
<p>Imagine this with an touch screen display. You can possibly turn this into a Stark like project in which you have a touch screen controll display. </p>
What does the input of the monitor need to be
hdmi is on the Pi and any new monitor. Really old monitors you can use a composite cable.
It's be cool to add more bluetooth connections so u can add WiiMote control with GlovePie or a trackpad. :) REALLY COOL DUDE! (Or Dudette)
This is so cool! Beautiful table as well. Would be cool if you kept the square cut for the LCD and were able to put it back on for times you actually want to rest your coffee!
Theres a new operating system called Retro Pie that boots straight into a list of emulators you might want to check it out
Could send electric scheme or scheme of connections of the buttons and keys? arteiro.junior @ hotmail.com; adriano.junior@globo.com . thank you
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!
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.
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?
I can send you my rpi-gpio-jstk.py and coffee_table.sh if you message me your email address.
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
to the bottom of the file /etc/profile <br>I added: <br>sudo modprobe uinput <br>sudo python /home/pi/rpi-gpio-jstk.py &amp; <br>/home/pi/coffee_table.sh
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. <br> <br>Cheers!
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.
Is there a more detailed schematic/source code somewhere? I'd love to see it.
Is there a schematic with the resistors I could see?
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.
How have you flipped the screen? <br>Have you done this in the menu of the screen or in the config.txt file?? <br>(sorry for my bad english:-)) <br>
I have flipped the screen the mame config file
Have you had any issues with the heat of the display not dissipating properly in that orientation?
Not so far, I can feel a bit of warmth on the perspex top after it's been left on all day.
Excellent. Thank you. I'm working on a coffee table computing project of my own, utilizing an ODROID-X2 and a 40&quot; 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. <br> <br>You've been most helpful. I appreciate it :)
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!
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.
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?
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)
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?
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.

About This Instructable




More by grahamgelding:Coffee Table Pi 
Add instructable to: