loading
A few months ago, I decided that I wanted an all-in-one arcade machine. I started looking for some info on how to build one, and immediately, the name "Raspberry Pi" came up. This Christmas, I got a couple of them. I started experimenting with a few operating systems, and Retropie became my favorite retro gaming os. The pictures show my finished arcade machine.

Step 1: Choose Your Raspberry Pi

I had 2 raspberry pi b+ on hand, so logically I chose that version of the RPi. For best performance, I recommend using the model b+, and if you're performance hungry, the new raspberry pi 2, which has 1 gigabyte of RAM.

Step 2: Choose Your Screen

Monitors aren't cheap, so you can't be picky if you to find something cheap. Ideally, it should have an HDMI port, but that brings the price tag up. I went to a thrift shop, and found a Philips 150S 1024x768 monitor for 14.50€, which is around 17 USD. Unfortunately, it had a VGA port. That means you need an HDMI to VGA converter. Not all converters work, and unfortunately, I learnt that the hard way. I finally found one that worked perfectly on Amazon. Here's the link:


http://www.amazon.co.uk/Neewer-Black-Adapter-Conve...


Not all screens are the same, and if it was cheap, it's probably not the best quality screen. If you're having problems with the raspberry pi detecting the right screen height and width, adjust the overscan settings in config.txt. To access the config.txt file, remove your SD or MicroSD card, plug it in your computer, and it's in the root directory (boot). Edit it with a program such as Notepad++.

Step 3: Installing Retropie and Drivers

Now you have to install your operating system of choice. I chose Retropie, so that's the one I'm gonna explain. First off, you need to download the Retropie image. Here's a link to the the official download page:


http://blog.petrockblock.com/retropie/retropie-dow...


Once that's done, flash it on to your SD card ( must be at least 4 GB). Now you have to install the Retrogame driver, to enable the use of buttons and joysticks wired to the gpio. Here's a download link with instructions on how to install it:


https://learn.adafruit.com/retro-gaming-with-raspb...


However, all this can be a hassle. So here's an image of Retropie 2.3 with everything installed, ready to use, compiled by Instructables user rbates4:

EDIT: New link

http://www.retrobuiltgames.com/porta-pi-arcade-help/porta-pi-software-os-download/

All you have to do is flash it.

Step 4: Test It Out

Ok, now you've got the basic components. Grab your keyboard and test it out. Make sure Retropie doesn't give errors, adjust the overscan settings, and just make sure everything in general works.

Step 5: Buttons and Joystick

First off, you're going to need a joystick. I found mine in a local electronics store in Spain. I also found one online which is nice and works perfectly with the arcade machine:


http://blog.adafruit.com/2011/10/13/new-product-sm...


You're also going to need buttons. I decided that 6 buttons were good enough, but I'd recommend getting 10 if you want to easily play any game. These should work fine:


http://www.adafruit.com/product/473


The picture above shows where each button and joystick pin must be wired. The (opt.) mentioned after a few of the pins means that it's optional. I use my arcade without them. Due to a small amount of ground pins, I soldered all the ground wires together from each button and joystick, and just used 1 ground pin, which is depicted on the image.
Now just go to Retropie, use your keyboard and to access the start menu, select configure input, and set your selected buttons to whatever you want.

Step 6: Building the Body

Since the monitors differ from one another, the casing for the arcade machine will differ. My dimensions would be useless, so here are a few pictures of the main design. I used a sliding back cover to easily access the electronics. I left a hole for the power strip inside, which I use to power the RPi, the monitor, and the speakers.

Step 7: Speakers

If you want sound, you need speakers. The minimum requirement is that they have a 3 (or more) watt amplifier, and that it uses the standard 3.5mm jack. I stuck mine in the area above the screen, and sound comes out well.

Step 8: Optional

I decided I wanted to make the logo glow, like in the real arcade machines. I just used a strip of LEDs, and wired one side to the 5 volt pin on the RPi, and another to a ground pin.

Step 9: Finished Product

The bartop Raspberry Pi arcade machine is now complete. Here are a few pictures of Mario land on GB and new, and a picture of the NES emulator in the Retropie main menu.

<p>Hi. I have a question. again.</p><p>We have been trying to make the buttons and joystick work, but we just cant.</p><p>Its all connected correctly, but when we try to use them in a game it just doesnt do anything. and if we look in settings we cant find a place to configure it. please help.</p>
Did you install the official retropie and then install the retrogame driver, or did you use the preconfigure image made by rbates4?
<p>Hello My friend and i are trying to make this and have encountered a few problems. firstly, how do we connect the joystick to the rasberry? there are two &quot;connector ports&quot; at each corner. does one of these always connect to ground? then we were also wondering where you got the game to use with it and how you were able to connect the Pi to the monitor. ours doesnt work for some reason although we have the converter and everything plugged in.</p><p>thanks :-)</p>
<p>Do you have a model number for your joystick you could tell me? I don't really know how to help you if I don't know how it works. As for the screen, have you tested the screen out on another device, such as a computer? If not, try it with both adapter and without adapter and see if it works. If it works on the computer with and without adapter, then you'll have to mess around with the values in config.txt in your SD card with the OS installed. I recommend Notepad++ to edit this file. If it doesn't work on the computer, then it must be a problem in either the monitor or the adapter. As for the games, you technically can't get them unless you have the cartridge and you extract the game with a ROM dumper, however a quick search of the game followed by &quot;rom&quot; on google will give you quite a few results.</p>
<p>First i&acute;d like to say thank you for taking time to help :-). okay so i found out the model number for the joystick, its 256. i hope that helps :-D</p><p>Do you mean that we should put the SD Card in a Computer and test it? Does that work?? is it not Rasberry Pi specific? :-O</p><p>we downloaded and installed the programm NOOBS and Retrogame and we connected the mouse and keyboard to the monitor, but it doesnt have signal. Could that have to do with the VGA/ HDMI convertor having a shorter screw on one side?</p><p>Thanks again :-D</p>
<p>The SD card is not RPi specific when it comes to reading files; but if you installed a RPi compatible OS, it will only boot from there. When it comes to the the HDMI to VGA converter, I honestly have no idea what could be going wrong, but I can assure you it has nothing to do with the screw. As to the joystick, I can't find anything without the brand name.</p>
<p>First i&acute;d like to say thank you for taking time to help :-). okay so i found out the model number for the joystick, its 256. i hope that helps :-D</p><p>Do you mean that we should put the SD Card in a Computer and test it? Does that work?? is it not Rasberry Pi specific? :-O</p><p>we downloaded and installed the programm NOOBS and Retrogame and we connected the mouse and keyboard to the monitor, but it doesnt have signal. Could that have to do with the VGA/ HDMI convertor having a shorter screw on one side?</p><p>Thanks again :-D</p>
Yes, you should put it in the computer and edit the config file. You need to uncomment and/or edit the video options in that config file. You'll have to do a bit of research on what does what. When it comes to the adapter, I don't think anything is wrong with it, but if you still don't get any signal after editing the config file, it may be faulty. Could you specify the brand of the joystick?
<p>Do you have a diagram for how to wire everything together? </p>
Not at the moment, but I will have one ready in a few hours.
<p>Can you send me a message when you do? Thank you.</p>
<p>Sure thing.</p>
Thanks, but can you do over the diagram with red and black wires and show the negative and positive prongs on the monitor and raspberry pi?
<p>The monitor uses an HDMI cable, which you can plug in directly to the raspberry pi, without having to worry about negative and positive prongs. To power the Raspberry Pi, it's basically the same thing, with a micro-usb cable; again, no need to worry about the negative and positive prongs. As to the buttons and joystick, the black cable is the ground cable, in other words, the negative cable, which is common to all controls, and the different colored cables are the positive cables for each control, which is wired to the GPIO.</p>
<p>Thank you. I understand how to make this arcade now. Thank you for explaining it to me. </p>
No problem! I'm glad I could help.
I have one more question were you able to power up and run the monitor without a CPU because I don't see one in the pictures? If so how?
What kind of monitor are you using? If you are using VGA, you may want to enable VGA in the config.txt, which can be accessed via plugging in the SD into your computer.
Does it matter what kind of monitor I use? Can you also make a video showing how to wire everything up if you don't mind?
<p>Sorry, I misread your question. The CPU is part of the Raspberry Pi, I don't need another one. And yes, I will make a video.</p>
<p>Thank you. Can you send me a message when you make the video?</p>
<p>Tried making a video, but since the cables are hard to access and hard to see, you can't really recognize anything in the video, which wouldn't help much. Sorry.</p>
Ok, no problem.
<p>Great project. Did you ever have any problems with the Pi missing quick joystick moves or button presses?</p>
<p>Not really. It has happened once or twice that I press a button too softly, but overall, its well responsive.</p>
what type of roms do you use? I found that not all roms are compatible
<p>Roms as in games? For the time being, I've been using mainly Nintendo emulators, with Nintendo games. For the time being, I've tried the NES emulator, the GameBoy emulator, the GameBoy color emulator, and the GameBoy Advance emulator. I changed the emulator type in the GamebBoy Advance from whatever it was to Retroarch, so that I could configure it using F1. When you open up most emulators, the game's aspect ratio is pretty messed up, so I set a custom aspect ratio. Then save the configuration. What retroarch does is create a new file with that configuration. You have to find it and replace the original retroarch.config so that the settings you set stay every time you fire up the emulator. With the roms, what file format are you using for each emulator? If they are zipped, it will most likely not work, unless it's an atari emulator or one of the few others. If you're still having a problem please reply with the name of the emulator and it's rom.</p>
great instructable by the way!
I love the low cost approach of this arcade machine
awesome.
Very cool!!
<p>Wow! Awesome job!</p>

About This Instructable

26,860views

218favorites

License:

More by PJMOR:GameDroid: Android Gameboy Finding the keyboard matrix GBA SP Micro USB Charger Mod 
Add instructable to: