Build it step by step
0 of 8 doneWrite the games OS to the card
With Raspberry Pi Imager.
Boot and set up controllers
Follow the on-screen mapping.
Connect to your network
Wi-Fi or Ethernet.
Add a legal game
Free homebrew works well.
Wire the power button
GPIO3 and GND.
Add the dtoverlay line
In config.txt.
Play for half an hour
Check the temperature.
Shut down with the button
Check the Pi halts cleanly.
How do you build a retro games console?
A Pi 4 in its official case runs a retro gaming front end with USB controllers and a safe-shutdown power button. You need Raspberry Pi 4 Model B (4 GB), Raspberry Pi 4 official case, SanDisk microSD card 32 GB (A1, Class 10), Raspberry Pi 15 W USB-C power supply, Raspberry Pi micro-HDMI to HDMI cable, Tactile push button 6 mm and Jumper wires male to female (40 pcs). It takes 8 steps and about 90 minutes.
- Level
- Beginner
- Time
- About 90 min
- Parts
- 7
Wiring
| From | To | Why |
|---|---|---|
| Power button | Pi GPIO3 (pin 5) and GND (pin 6) with two female jumper wires | Shutdown, and wakes the Pi from halt |
| Pi 4 | Official case, HDMI cable to the TV on HDMI0 | Video |
| USB game controllers | Pi USB ports | Input |
| Power supply | Pi USB-C | Use the official 15 W supply |
Code
A retro games console is a Pi running emulation software with a friendly front end. Choose one of the free, well-known systems such as RetroPie or Batocera, write it to the card with Raspberry Pi Imager and follow its first-start screens to set up your controllers. Games are the part to handle carefully: use only game files you own the right to use, such as free homebrew games, public-domain titles and games you made yourself. Copy them over the network share or a USB stick into the right system folders as the system's guide describes. The power button wired to GPIO3 gives a clean shutdown with one press and wakes the Pi with another; add the dtoverlay line to config.txt where your system keeps it. A Pi 4 gets warm under emulation, and the official case has no fan, so leave the lid ventilated, use a heatsink case if you have one, and check vcgencmd get_throttled for signs of overheating. Always shut down from the menu or the button before pulling power. Use the official power supply, since a weak one causes lightning-bolt warnings and glitches.
# Add to the end of config.txt (the file is in /boot/firmware/ on newer systems, /boot/ on older ones). # GPIO3 is the only pin that can also wake the Pi from halt. dtoverlay=gpio-shutdown,gpio_pin=3 # Check the Pi temperature at a terminal while a game runs: vcgencmd measure_temp # Check for throttling (0x0 means fine): vcgencmd get_throttled
Test checklist
What you should see at each check. If a reading is far off, stop and use the troubleshooting list.
| Check | Expected |
|---|---|
| Boot | Front-end menu appears |
| Controller input | Menu responds |
| Launch a free game | Runs smoothly |
| Press the button | Pi shuts down cleanly |
| Press it again | Pi starts up |
If it does not work
Lightning bolt on screen
Power supply too weak; use the official 15 W one.
Controller not found
Press a button to map it, and try another USB port.
Game stutters
Overheating or a heavy system; check vcgencmd get_throttled.
Button does nothing
Wrong config.txt, or wires on the wrong pins.
Pi does not wake
Only GPIO3 can wake a Pi from halt.
Still stuck? Find the fault step by step with your multimeter →
Common questions
What parts do I need for the retro games console?
Raspberry Pi 4 Model B (4 GB), Raspberry Pi 4 official case, SanDisk microSD card 32 GB (A1, Class 10), Raspberry Pi 15 W USB-C power supply, Raspberry Pi micro-HDMI to HDMI cable, Tactile push button 6 mm and Jumper wires male to female (40 pcs).
How long does the retro games console take to build?
About 90 minutes for a beginner maker, in 8 steps.
How do I know the retro games console works?
Boot: Front-end menu appears. Controller input: Menu responds. Launch a free game: Runs smoothly.
Lightning bolt on screen: what should I check?
Power supply too weak; use the official 15 W one.
Controller not found: what should I check?
Press a button to map it, and try another USB port.
Game stutters: what should I check?
Overheating or a heavy system; check vcgencmd get_throttled.
Button does nothing: what should I check?
Wrong config.txt, or wires on the wrong pins.
