Академический Документы
Профессиональный Документы
Культура Документы
by mason_windu
I built this project for a multimedia class. Prior to this project, I had no experience with the Raspberry Pi and some
woodworking experience. I believe that this project can be accomplished by someone with any skill level. I made
some mistakes and learned through the process, but I am creating this instructable to help you along the way!
Good luck on creating your own working Arcade Coffee Table or as I call it, the CoffeeCade.
Many of the tools needed for this project are very common home tools. If you don't have them then ask a neighbor,
a friend, or a family member. It is likely someone will have the tools and they might be so intrigued by the project
that they build along with you!
Skill Saw
Jig Saw
Dremel
Drill
Multiple Bits (Stated When Needed)
Tape Measure
Square
Extra Wood - 2'' by 4''
Sand Paper (I used 220 Grit)
Black Spray Paint/Sealer Top Coat
Grey Plastic Steren Box (I used approximately a 7 1/4" by 4 1/2" by 2 1/4" sized box) Pick a size
that you like
USB Keyboard
USB Storage Device
Four L Brackets for Mounting (screws come with)
Twelve Nails (Skinny but at least 3 inches long)
Four Size #4 Bolt 1/2 inch length
Four Size #10 Bolts 1/2 inch length
Two Size #12 Bolts 3 inch length (length dependent on fit)
Two Size #12 Screws 1 1/4 inch length
Twelve nuts to fit size #4 bolt
Four nuts to fit size #10 bolts
Six nuts to fit size #12 Bolts
Two washers that fit around the Size #12 Bolt
Velcro Strips/Spool of Velcro (Cut to Size when Needed)
In order to cut from the center of an existing tabletop, you will need to drill a starting hole
I used a large bit to match the curve of my corners and drilled out all 4 corners
Then insert the jigsaw into the starting hole and cut down each line
Be sure to support the table during the last cut so that it still cuts even. This can be done by leaving
a small portion uncut on each side as support. Or can be done with tape or scrap wood placed
under the center.
Measure the distance across the width of your table right next to the existing cut hole
CoffeeCade (Arcade Coffee Table): Page 4
This frames around the short edges of the TV Screen
Use L Brackets to secure these sections
Then place the table, Tabletop down and place the tv in the hole face down (do this on a soft
surface to avoid damaging your screen)
Lay boards across the back of the TV (careful not to block ventilation) and mark the height at which
they need to nailed to the outside boards
This will support the TV and keep it level when it is flipped back over
Secure these using nails
This is done by drilling two holes in the frame of the table with 1/4 inch bit (BE SURE THAT THESE
HOLES ARE ON THE SIDE THAT ALIGNS WITH THE BOTTOM OF THE TV)
Then slide a washer onto the #12 bolt
Screw a nut up to the washer to the point where the Arcade Control box will slide tight onto the bolt
Secure the Bolt with two nuts on the back side of the hole
I also attached two size #12 screws underneath the table for storage of the arcade control box
They need to be spaced out evenly according to the mounts on the control box
I added this step early into the process because it is important to complete this step and get the MicroSD card
plugged into the Raspberry Pi so it is included in all later fittings.
To complete this step you will need to download a couple of things onto your computer. Download RetroPi
for Raspberry Pi 2/3 here https://retropie.org.uk/download/ (this will Download as a IMG file), SD Card
Formatter here https://www.sdcard.org/downloads/formatter_4/, and Etcher here https://etcher.io.
You can now begin the process of loading RetroPi onto your MicroSD Card
Put your MicroSD into the SD card adapter and plug it into your computer
Then open SD Card formatter and format the SD card (this will format and prepare it for the
download)
Now use etcher to copy the RetroPi IMG file onto the SD Card (safely eject the SD Card)
Plug the MicroSD card into the Raspberry Pi and it will be ready to go when the time comes
To begin this process we need to secure the Raspberry Pi to the bottom of the box
I placed mine in a corner so that the USB ports and the HDMI are accessible outside
of the box
Then I marked where the holes needed drilled by placing the Pi and marking the bolt holes
These holes were drilled using a size 1/8th drill bit
Ad spacers underneath the Raspberry Pi to allow for ventilation (I used 2 nuts under the Raspberry
Pi and 1 nut on the outside to secure) - it would not be bad to add an O ring in between the bolts
and the Pi in order to avoid accidental conduction)
Attach the joystick and buttons then move the lid out of the way
Place the square at the top of the box and use it to measure the height. Also mark where it is
located on the top and transfer the height to the outside of the box
Use this method until you have properly marked where each port is located
After all ports needed are marked, remove the Raspberry Pi so you do not damage it.
Then cut using a dremel. (I used multiple bits to accomplish this. Find what works for you and go for
it!)
You now need to drill mount holes on the side of the box that will come in contact with the table
To do this align the square at the height you want your larger (lower) hole and mark two locations
Then drill these holes using a 3/8ths inch drill bit
go directly above these holes approximately half an inch and drill smaller holes approximately 1/4th
inch drill bit size
Then use the dremel to connect these two holes. This results in the following shape:
Reassemble all pieces! Leave the lid of the box off for the wiring.
The most difficult part of the wiring is the pin connections. This can be done easy with a solderless wiring kit. This
will include multiple pieces that can allow you to join two wires together, or attach a wire to the arcade buttons.
To begin setting up the wires, take colors that match the wires on the joystick out of the ribbon
bundle.
You will need a red, yellow, orange, green, and black
Cut the male end off of the wire
Strip the casing away from the wire
Fan out the wires and join them together. Twist them up, then cover them with the
casing (as seen in the image) and pinch until it holds onto the wires. This can then be
electrical taped to insure it doesn't fall off
These Pins are now ready to attach to the Raspberry Pi
The button pins can be attached to any green and any ground as well, but mine attach as follows
Right button Positive=
Left button Positive=
Both buttons can attach to any available ground
In order to work, this wiring will require some programming which will be accomplished in the next step
Simple Wires
This section of "Simple Wires" refers to attachments such as power, HDMI, and a USB Keyboard.This is very
simple, but you won't be able to finish setup without completing this.
If this does not take you to the Raspberry Pi Screen that looks like this
Then please attach another controller (I used a Playstation Controller hooked up using Wifi and this then
sensed a controller and took me to the previously showed home screen)
Setting Up Wifi
Setting up wifi is very important for your Raspberry Pi. This allows you to run updates without connecting an
ethernet cable and also will be required for properly configuring your joystick. There are 2 ways to setup your wifi (I
did both to ensure the wifi was connected either way that was needed):
Coding
change "SSID" to the name of your Wifi network, then enter your wifi password where it says "WIFI
PASSWORD"
Press "CTRL-X", then "Y" to save and exit
Now enter the following into the command line to start Wifi Adapter
sudo reboot
http://www.circuitbasics.com/how-to-set-up-wifi-on...
This will be the most difficult coding step! Do not fear. It is also fairly simple. YOUR WIFI HAS TO BE SETUP
PRIOR TO THIS STEP.
Downloading RetroGame
You can now assign each pin to the corresponding controls in the menu that this will open up
I wired mine according to the following website and the image above (yours will be slightly different
due to having a Raspberry Pi 3- Diagram shown above as well):
https://learn.adafruit.com/retro-gaming-with-raspberry-pi?view=all
Configuring Controls
Updating RetroPi
CoffeeCade (Arcade Coffee Table): Page 21
Select RetroPi from the RetroPi home menu
You will now need to use your USB Storage. To begin this process plug the USB into the Raspberry Pi while it is
powered up. Wait a minute. Then unplug the USB.
After the games are downloaded into the folders. Plug the USB back into the Raspberry Pi. Wait at
least as long as the computer took to download the files to insure complete transfer
Unplug the USB
Restart the Emulator (Enter, Restart Emulator) and the games should now be visible and organized
by emulator
Physical Looks
I used velcro to secure additional cords and run the extension cord along the inside of the table leg
When in storage I wrap the extension cord around the leg and velcro it up to hold the wrap
Store the arcade box under the TV on the screws to avoid it being hit with a knee or vacuum etc.
Add command hooks on the inside of the table to hold accessories (USB, PS Controller, etc)
I added an old steel desk cabinet mount on the side of the table and then glued magnets onto the
TV control
Sand the paint to give it an aged look
Renaming Games
Click "Select" on a game in RetroPi
Click "A" on "Edit This Game's MetaData"
Click "A" on the "Name" line and edit
Deleting Games
Click "Select" on a game in RetroPi
Click "A" on "Edit This Game's MetaData"
Click "A" on "Delete"
CoffeeCade (Arcade Coffee Table): Page 23
Delete the game from you USB file folders as well or it will continue to download each time you add
new games
Playing Games
Use the corresponding controller. Not all games work for a 2 button arcade. If you configured other controllers,
use those. If not then delete the game and play another.
For two button Arcade, "A" is advance and "B" is back.
Use hotkeys (as seen above) to exit, save, load, etc.
Customization
Paint! This is an obvious way to customize
You could also use modge podge to add emblems to your table if it is not going somewhere that it
needs to look as professional.
You can add your own folders in order to organize your games how you see fit. This is done by:
https://github.com/RetroPie/RetroPie-Setup/wiki/Re...
The command hook storage of the additional PS3 Control and the Spiderman USB
I hope you have a great time building! Comment questions, concerns, or helpful tips for others!