adafruit learning system Cupcade the Raspberry Pi Micro Arcade... Manual de usuario

Cupcade: the Raspberry Pi Micro Arcade Cabinet
Created by Phillip Burgess
Last updated on 2018-12-05 09:34:33 PM UTC

2
5
5
6
6
7
8
10
12
12
12
13
14
17
18
19
20
22
22
22
22
23
23
26
26
26
26
28
28
29
29
30
30
30
32
33
34
36
39
41
44
Guide Contents
Guide Contents
Overview
Current “Gen 3” Kit Contents:
Optional additions:
Prior “Gen 1” and “Gen 2” Kit Contents:
Optional additions:
Plan Ahead
Prep Work
Raspberry Pi Setup
SD Card Setup
First Boot
Enable WiFi (if needed)
Download and Install Cupcade Software
Additional Steps for GEN 3 KITS ONLY
Additional Steps for GEN 1 & 2 KITS ONLY
Last Steps for ALL Cupcade Versions
Gen 3 Kit
Assemble Components
Buttons
PiTFT Display
Joystick
Speaker
Arcade Bonnet
Dry Run
PiTFT Test
If the PiTFT doesn’t work…
Arcade Bonnet and Remaining Parts
If the PiTFT Doesn’t Work Now
If the PiTFT Does Work
If the Buttons/Joystick Don’t Work
If Sound Doesn’t Work
Cabinet Part 1
Why not just design a case that’s easier to asemble?
Buttons
Joystick
Speaker
Screen
Base
If using a Pi Zero…
Cabinet Part 2
Cabinet Part 3
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 2 of 141

47
53
54
56
59
61
67
69
76
78
81
84
84
89
91
92
94
96
97
97
99
100
100
102
105
106
106
106
108
108
116
117
118
120
122
129
135
135
136
136
137
140
140
Okay, the Tricky Part…
Cabinet Part 4
My Cupcade rocks back and forth when stood up.
Configure Input
Gen 2 Kit
Interface Board
Gen 1 Kit
Beta Board Part 1
The circuit is 5 Volts but connects to the Raspberry Pi’s 3.3V GPIO pins. Won’t this fry the board?
Beta Board Part 2
Arts & Crafts Time!
Beta Board Part 3
Button Wires
Joystick Wires
Power Wires
Audio Wires
Soldering’s done!
Gen 1 & 2 Continued…
PiTFT Assembly & Test
Solder Time!
If there’s no response…
Now a Second Test…
Test ROM
Dry Run
If the Pi Does Not Boot
If the Pi Boots Successfully
Some of the buttons/joystick work but not all!
When You’re Done Testing
Cabinet Part 1
Why not just design a case that’s easier to asemble?
Cabinet Part 2
Joystick and Buttons
Screen and Audio
Cabinet Part 3
Okay, the Tricky Part
Cabinet Part 4
If the system does not boot…
My Cupcade rocks back and forth when stood up.
Installing ROMs
Some Free MAME (Arcade) ROMs
Moving ROMs Over the Network
Downloads
Custom Cabinet Art
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 3 of 141

Overview
A Maker Faire exhibit of mine once incorporated a
Pac-Man
theme “for the old-timers.” It was a surprise then to see
young kids all recognized the characters too. How? Smartphones! Thanks to
emulation
— running old code byte-for-
byte on modern hardware — these classic games are still played and relevant a generation later.
Much of the mystique of the originals lied in the cabinets and controls.
Anyone
can load a game on a smartphone or
tablet…but the
physicality
of the arcade machine and its clicky buttons made them rare objects of desire back in the
day. We wanted to capture a small taste of that, using the tiny Raspberry Pi computer. The result is a DIY kit we call
Cupcade!
Cupcade isn’t the first, but it’s notable for using the Adafruit PiTFT display. The direct digital interface delivers a pixel-
perfect rendition of classic games with none of the blurriness you’d get with a composite screen.
Current “Gen 3” Kit Contents:
Adafruit PiTFT Plus 320x240 2.8" TFT screen (https://adafru.it/eZS)
Analog joystick with breakout board (http://adafru.it/512)
16mm Buttons (http://adafru.it/1445) (4)
Arcade Button Quick Connect Wires (http://adafru.it/1152) (4)
Female/female jumper wires (http://adafru.it/266) (strip of 4)
Adafruit Arcade Bonnet for Raspberry Pi (https://adafru.it/Bh-)
40-pin GPIO Ribbon Cable (https://adafru.it/Bi0)
GPIO Stacking Header (https://adafru.it/ejT)
There have been MULTIPLE RELEASES of the Cupcade kit. This guide covers ALL of them. Some sections are
common to all versions, others may be specific to one generation. The latest generation tends to be covered
first, with prior generations as a follow-up.
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 5 of 141

Mono Enclosed Speaker — 3W 4 Ohm (https://adafru.it/uyB)
Acrylic case parts (16)
Nylon #4-40 screws and nuts (approx 25 each)
Blank microSD card
You will also need:
Raspberry Pi computer with 40-pin GPIO header,
except
for Pi 1 Model A+ or Pi 3 Model A+. Compatible boards
include:
Pi 3 Model B+ (https://adafru.it/Bi1) (using RetroPie 4.4 or later)
Pi 3 Model B (https://adafru.it/scY)
Pi 2 Model B (https://adafru.it/eCB)
Pi 1 Model B+ (https://adafru.it/dH0)
Pi Zero WH (https://adafru.it/Bi2)
Pi Zero W (https://adafru.it/vMD) (requires installing GPIO header pins)
Pi Zero (https://adafru.it/sTA) (requires installing GPIO header pins)
Soldering iron, solder and related paraphernalia
Masking tape
Tiny screwdrivers
For setup you will temporarily need a USB keyboard and HDMI monitor. Pi Zero boards will require adapters for
both of these.
Network connection to the Raspberry Pi board. Some models have WiFi built in, some can use Ethernet, others
require a USB WiFi adapter.
Game ROM files
Optional additions:
Wireless keyboard (http://adafru.it/1737)
USB Battery Pack (http://adafru.it/1566) for portable use
Hey! Don’t be fooled by the fun-and-games nature of this project. It’s a challenging build that draws on a broad range
of maker skills: fiddling with Linux commands, soldering, and even a bit of arts & crafts. Read through the whole guide
before starting, decide if you’re ready to tackle this and make sure you have everything you need.
Our original Retro Gaming with Raspberry Pi (https://adafru.it/dcs) guide is a little easier — same goal, fewer pieces,
using a regular computer monitor for the display. You might want to start there if this project looks a bit daunting.
If you have a current “Gen 3” kit, you can skip ahead to the next page.
Prior “Gen 1” and “Gen 2” Kit Contents:
Adafruit PiTFT Mini Kit (http://adafru.it/1601)
Analog joystick with breakout board (http://adafru.it/512)
16mm Buttons (http://adafru.it/1445) (4)
Arcade Button Quick Connect Wires (http://adafru.it/1152) (4)
Female/female jumper wires (http://adafru.it/266) (strip of 4)
Cupcade
Adapter PCB (https://adafru.it/eln)
26-pin GPIO ribbon cable (https://adafru.it/f74)
8 Ohm 1 Watt speaker (http://adafru.it/1313)
Right-angle 3.5mm audio plug to pigtail cable (http://adafru.it/1700)
Acrylic case parts (15)
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 6 of 141

4-40 and 2-56 screws and nuts (15 and 3 ea., respectively)
Nylon board standoffs (2)
Piece of heat-shrink tubing
Blank 4GB SD card
USB charger/power supply (https://adafru.it/dfY)
USB A to micro B cable (http://adafru.it/1513)
Gen 1 kits had some additional parts not listed here; Gen 2 kits have these pre-assembled on the interface board.
You will also need:
Raspberry Pi Model B computer (http://adafru.it/998) — later model with mounting holes. The early “V1” boards
with no mounting holes will not work with this project. Model A (http://adafru.it/1344) also works, but with only half
the RAM this may impact performance.
Soldering iron, solder, stranded or solid core wire (24 or 22 gauge) and related paraphernalia
Masking tape
Tiny screwdrivers
For setup, you may temporarily need a keyboard and monitor
Game ROM files
Optional additions:
USB Miniature WiFi Module (http://adafru.it/814)
Wireless keyboard (http://adafru.it/1737)
USB Battery Pack (http://adafru.it/1566) for portable use
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 7 of 141

Plan Ahead
This is a red pill / blue pill moment.
Think a bit about the “old school” games you like to play. Home console games — those that connect to your TV —
have a horizontal screen orientation. But in arcades, many games took advantage of a
vertical
screen.
Cupcade can use either a horizontal or vertical screen orientation, but this must be decided early on. It
can
be
changed later, but this is a non-trivial operation; you’ll need to dismantle and reassemble the whole thing.
There are also three different ways the controls can be arranged…but again, this is a commitment and a fair bit of work
to change later.
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 8 of 141

Therefore: think ahead about which game(s) you’re most likely to play. Maybe test them out on the Raspberry Pi
before
assembling the whole kit around it. Determine which perform acceptably with the emulator and look good on the
screen…then choose a display and control combination that works well for the most (or most desirable) games from
your list. Others can still be played, they’re just less than optimal.
This basic joystick-and-two-buttons combo covers a vast number of classic arcade games. You can optionally plug in a
USB keyboard for anything more complex.
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 9 of 141

Prep Work
The Cupcade cabinet is comprised of 16 laser-cut acrylic parts (15 in Gen 1 & 2 kits). Count the pieces to make sure
everything’s there.
Depending on your game control layout and choice of Raspberry Pi board, two or three of these pieces won’t be used.
This is normal.
Peel the backing paper off both sides of all the laser-cut
parts. It’s easiest to start at a corner, catching the edge
of the paper with a fingernail.
The laser-cutting process can leave some paper soot at the edges. If you like, wash these off with soap and water, just
be absolutely certain that all the parts are completely dry before proceeding! That’s why we’re doing this first, to allow
extra drying time.
Use only soap and water when cleaning these parts. Some chemicals, including rubbing alcohol and alcohol wipes,
will damage the plastic!
© Adafruit Industries https://learn.adafruit.com/cupcade-raspberry-pi-micro-mini-arcade-game-cabinet Page 10 of 141
Tabla de contenidos
Otros manuales de Equipos educativos de adafruit learning system
Manuales populares de Equipos educativos de otras marcas

TruCorp
TruCorp AirSim Advance Manual de usuario

LeapFrog
LeapFrog Mr. Pencil's Scribble, Write & Read Manual de usuario

ScienTECH
ScienTECH 2261 Manual de usuario

Rompa
Rompa 20019 Manual de usuario

Duinotech
Duinotech XC4322 Manual de usuario

Enabling Devices
Enabling Devices Spinning Light Show Manual de usuario















