Pew-Pew. Got you. The Raspberry Pi 3 has been the latest and greatest in the line of Raspberry Pi Single Board Computers. Need some inspiration for your next Raspberry Pi project? How about a retro arcade gaming kit?
- 5x Arcade Buttons
- 1x Joystick
- 1x SD Card with Porta Pi
- 20x Female quick disconnects
- 20x 6-inch M-F Jumper Wires
- 1x Utility Knife
- 4x Screws and four nuts
Covered in This Tutorial
This guide aims to get you up and running with your PiRetrocade in no time. Thanks to the included micro-SD Card with the emulation image installed, setup is quick and requires no programming! This guide in conjunction with the video below will guide you through the assembly of the PiRetrocade, so you can get gaming.
The following is additional supplies you’ll need that are not include in the PiRetrocade Kit.
- Raspberry Pi 2 or Pi 3 (This tutorial uses the Raspberry Pi 3 Model B)
- Power Supply
- Wire Strippers
- Crimp Tool
- HDMI Cable
- optional powered speakers or headphones
For step-by-step instructions on how to assemble the PiRetrocade, watch the video below. Then read on for more detailed instructions.
This project really boils down to five buttons and a joy stick connected to the GPIO pins on the Raspberry Pi 3 and an SD card fully loaded with arcade software. Let’s get started building this controller. Insert the SD Card into the Raspberry Pi . On top of the box, you will find blue prints for your controller layout. Use the provided hobby knife to cut holes labeled “Cut”.
Remove the switches from the arcade buttons. Unscrew the nut, and feed a button through each hole and secure the button to the box with the nut. Once they are all in place, replace the switches.
The bottom pin labeled “COM” for common or ground on the switch is ground. The single wiring harness will attach to the bottom pin on the short right side of the switch. It is labeled “NO” for normally open.
First, figure out which switch corresponds to Up, Down, Left and Right. To do this easily, you can unscrew the bottom metal plate like this:
The switches will be exposed and you can test each direction. With the orientation shown holding the joystick to the left produces this result:
I labeled that top right switch “Left” which corresponds to GPIO Pin 7. Continue the same process for each direction and replace the bottom cover with the four screws along the outer edge.
Once you have the orientation, unscrew the red ball from the top of the joystick handle, and remove the black washer as well. Unscrew the top metal plate, and feed the joystick from under the box lid. Secure the joystick by screwing the metal plate on top of the box. You’ll want to mark where those holes are and pre-cut a hole for each screw as well. Replace the black washer, and replace the red ball.
You may have noticed some 6″ strands of wire and 20 female quick disconnects. You will need a pair of crimpers or there may be a crimp tool on your wire strippers already. You will build two wiring harnesses for ground. One wiring harness will have five quick disconnects daisy chained together for the buttons, and the other will have four quick disconnects daisy chained together for each ground pin in the joystick. Then nine individual wiring harness for each button and direction on the joystick. The ground on the button switches are the lone tabs on the long side of the switch. The same goes for the joystick.
Single wiring harness with female end. You need nine of these.
Ground wiring harness for the joystick with female end. You need one and it can connect to any ground pin on the Raspberry Pi (Pins 6, 9, 14, 20, 25, 30, 34, or 39).
Ground wiring harness for the buttons with female end. You need one and it can connect to any ground pin on the Raspberry Pi (Pins 6, 9, 14, 20, 25, 30, 34, or 39).
In the video, each button and direction was labeled along with its corresponding GPIO on the box with marker. Below is a picture of the mapping. The individual wiring harnesses are attached on the tab that is labeled “NO” (Normally Open). It is also labeled pin 3 on the switch. “Enter” is used as “start” and is mapped to Pin 21. “ESC” is used to back out of games and labeled “Select” (Trying to keep traditional controller vibes) on the box and it is mapped to pin 26.
See the image below for the correct orientation.
Read More Info….