Raspberry Pi Arcade Machine: How to Build One
In this article
Yes, a Raspberry Pi can power an arcade machine, and it is one of the most popular and cost-effective ways to build a retro arcade cabinet at home. With the right software and hardware, a Pi can emulate thousands of classic arcade, console, and home computer games, and it can be installed into a custom-built cabinet, a modified store-bought cabinet, or a desktop bartop unit.
Why a Raspberry Pi for Arcade Machines?
The Raspberry Pi is a credit-card-sized single-board computer originally designed for education, but it quickly became a favorite for retro gaming projects. Its appeal for arcade builds comes from a few key factors:
- Low cost: A Pi 4 or Pi 5 board costs far less than a full PC or a dedicated arcade board.
- Low power draw: A Pi runs on a 5V USB-C power supply (Pi 4/5) and typically uses 5–10 watts, so it generates little heat and can be left on for long periods.
- Small size: The board fits easily inside a cabinet, bartop, or even a custom controller box.
- Active software ecosystem: Several ready-made distributions exist specifically for turning a Pi into an arcade machine, with menu systems and emulator configuration built in.
- GPIO pins: The Pi's general-purpose input/output pins can connect directly to arcade buttons and joysticks via a simple interface board, avoiding the need for a separate USB encoder in many builds.
What You Need to Build One
To power an arcade machine with a Raspberry Pi, you need the following components:
- Raspberry Pi board: A Raspberry Pi 4 (2GB or 4GB) is the most common choice. The Pi 5 is faster but requires more power and a different power supply. The Pi 3 is usable for older games but struggles with some later systems.
- MicroSD card: At least 16GB, but 32GB or 64GB is recommended because game ROMs and software take up space. A high-speed card (A2 or U3) improves loading times.
- Power supply: An official or high-quality 5V/3A USB-C supply for Pi 4/5. Underpowered supplies cause random shutdowns and corrupted SD cards.
- Display: A computer monitor, TV, or a dedicated arcade monitor. Most builds use a standard HDMI display. Some use a 4:3 monitor to match classic arcade aspect ratios, but widescreen works fine with bezels or stretched modes.
- Controls: Joysticks and buttons. You can buy a pre-made USB arcade controller, or build your own using a USB encoder board (like the Zero Delay encoder) that connects to buttons and joysticks and appears to the Pi as a keyboard or gamepad.
- Audio: The Pi has a 3.5mm audio jack (on Pi 4) or HDMI audio. Many builds use small powered speakers or a simple amplifier board.
- Cabinet or enclosure: You can build a full upright cabinet from MDF or plywood, use a store-bought cabinet kit, or simply mount the Pi and controls on a board for a desktop setup.
Software: The Operating System and Emulators
The most popular software for a Raspberry Pi arcade machine is RetroPie, a free operating system based on Raspberry Pi OS that bundles emulators for many systems, a graphical menu (EmulationStation), and configuration tools. Another popular option is Lakka, a lightweight Linux distribution that uses the RetroArch frontend. Both support the same underlying emulators (via libretro cores).
To set up RetroPie, you typically:
- Download the RetroPie image and write it to a microSD card using a tool like Raspberry Pi Imager or BalenaEtcher.
- Boot the Pi with the card inserted. It will expand the filesystem and reboot.
- Connect a keyboard to configure basic settings (Wi-Fi, controller mapping).
- Transfer game ROMs to the Pi via USB drive or network share (SFTP/SCP).
- Map your arcade controls in EmulationStation and in each emulator's input settings.
Note that ROMs are not included with RetroPie due to copyright. You must own the games or use homebrew or public-domain titles.
Choosing the Right Raspberry Pi Model
The Raspberry Pi model you choose affects which games run well. Here's a practical guide:
- Pi Zero 2 W: Can handle 8-bit and 16-bit consoles (NES, SNES, Genesis, Game Boy) and some arcade classics, but struggles with PlayStation and later systems.
- Pi 3 B+: Good for most 16-bit and early 32-bit games, but PlayStation and N64 are hit-or-miss.
- Pi 4 (2GB/4GB/8GB): The sweet spot. It runs most arcade games (including CPS-2, Neo Geo, and many 3D arcade titles) at full speed. PlayStation (PS1) runs well; N64 is playable with tweaks; PSP and Dreamcast are borderline.
- Pi 5: The fastest Pi, but emulator support is still catching up. It can handle more demanding systems, but it requires a fan and a 5V/5A power supply. For most retro arcade builds, the Pi 4 is sufficient and better supported.
If you want to emulate newer systems (GameCube, PS2, Wii), a Raspberry Pi is not the right choice—a PC or an Android-based device would be more practical.
Common Problems and How to Fix Them
Building an arcade machine with a Pi is straightforward, but a few issues come up frequently:
- Controls not responding: If using a USB encoder, make sure it is detected as a gamepad or keyboard. If using GPIO, check the wiring and the pin configuration in the software. Many encoders require you to hold a button while plugging in to enter a configuration mode.
- Screen is stretched or has wrong aspect ratio: In RetroArch, set the aspect ratio to “Core Provided” or “4:3” for most arcade and console games. Some games are natively widescreen, but classics are not.
- Sound is scratchy or missing: Check the audio output in Raspberry Pi OS settings (HDMI vs. analog). On Pi 4, the analog jack and HDMI can conflict; select the correct output in the retroarch settings.
- Random shutdowns or corruption: Almost always a power issue. Use an official PSU or a quality 5V/3A supply. Avoid cheap USB cables that drop voltage. Also, always shut down properly (sudo shutdown) before cutting power.
- Games run too slow: Try a different emulator core. For example, for SNES, use the “snes9x” core instead of “bsnes.” For arcade, use “lr-fbalpha” or “lr-mame2003-plus” which are optimized for low-end hardware.
- ROMs not showing up: Make sure the ROM files are in the correct folder for each system (e.g., /home/pi/RetroPie/roms/snes). Some systems require BIOS files (e.g., PlayStation) placed in the BIOS folder.
Cost and Comparison to Alternatives
A Raspberry Pi arcade build is one of the cheapest ways to get a multi-game cabinet. Here's a rough cost breakdown (prices vary by region and time):
- Raspberry Pi 4 (2GB): ~$35–45
- MicroSD card 32GB: ~$10
- Power supply: ~$10
- USB encoder + joystick + buttons (set of 2 joysticks and 12 buttons): ~$30–50
- Monitor or TV: $50–100 (or reuse an old one)
- Cabinet materials (MDF, paint, T-molding): $100–200 if building from scratch
Total for a full cabinet: roughly $250–400. A pre-built arcade cabinet with a PC can cost $1,000 or more, while a cheap “arcade stick” for a PC costs $50–100 but lacks the cabinet experience.
Compared to using an old PC or laptop, the Pi is smaller, quieter, and uses less power, but a PC can emulate more systems and has more storage and connectivity options. Compared to dedicated emulation boxes (like Android TV boxes), the Pi has better community support and GPIO options for arcade controls.
Safety and Legal Considerations
When building an arcade machine, keep these points in mind:
- Electrical safety: If you wire a mains-powered monitor or power supply inside a cabinet, ensure all connections are insulated and the cabinet is grounded. If you are not comfortable with mains voltage, use a pre-wired monitor and a standard power strip.
- Heat: The Pi 4 and 5 can get hot under load. Use a heatsink and fan. Ensure the cabinet has ventilation holes. Overheating causes throttling and crashes.
- ROM legality: Downloading ROMs for games you do not own is copyright infringement in most countries. You can legally use homebrew games, public-domain titles, or games you have ripped from cartridges you own (though this is a legal gray area in some jurisdictions).
- CRT safety: If you use an old CRT arcade monitor, be aware it contains high voltage even when unplugged. Do not open the monitor chassis unless you know how to safely discharge it. Most modern builds use LCD screens to avoid this risk.
Frequently Asked Questions
Can a Raspberry Pi run all arcade games?
No. A Raspberry Pi 4 can run the vast majority of classic 2D arcade games (from the 1970s to early 2000s) using MAME or FinalBurn Alpha. It can also run many 3D arcade games from the late 1990s, but some later 3D games (like those on Sega Model 3 or Naomi hardware) are too demanding. The Pi 5 improves performance, but compatibility is not guaranteed for every title.
Do I need a special arcade monitor?
No. A regular computer monitor or TV with HDMI input works fine. Many builders prefer a 4:3 monitor to match classic arcade resolutions, but you can also use a widescreen and configure the emulator to display the game in its original aspect ratio with bezels or black bars.
Can I use original arcade controls with a Raspberry Pi?
Yes. You can connect original arcade joysticks and buttons to a USB encoder board (like the Zero Delay encoder) that plugs into the Pi's USB port. Alternatively, you can wire them directly to the Pi's GPIO pins and configure the software to read them as keyboard inputs. The GPIO method requires more setup but avoids extra hardware.
Will a Raspberry Pi 5 work better than a Pi 4 for arcade emulation?
For most classic arcade games, the Pi 4 is already sufficient, so the Pi 5 offers little benefit. For more demanding systems (like some N64, PSP, or Dreamcast games), the Pi 5's faster CPU can help, but software support for the Pi 5 is still maturing. If you are building a dedicated retro arcade machine, the Pi 4 is the safer, more cost-effective choice.
How do I put games on the Raspberry Pi?
You can copy ROM files to the Pi's microSD card by removing it and using a card reader on a computer, or by enabling SSH and using a program like FileZilla to transfer files over your network. RetroPie also supports loading ROMs from a USB stick placed in the Pi. The ROMs must be placed in the correct folder for each system (e.g., /roms/nes for NES games).
Can I use a Raspberry Pi in an existing arcade cabinet?
Yes, many people convert old arcade cabinets (or cheap store-bought “multicade” cabinets) by replacing the internal PC or JAMMA board with a Raspberry Pi. You will need to adapt the controls and monitor: either use a USB encoder for the buttons/joystick, and if the cabinet has a CRT, you may need an HDMI-to-VGA or HDMI-to-composite converter, or replace the CRT with an LCD.