15.01.2016 Views

YOUR OFFICIAL RASPBERRY PI MAGAZINE

6014BX9nm

6014BX9nm

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PI</strong> ZERO RETRO GAMING SYSTEM<br />

Projects<br />

PUTTING A <strong>PI</strong> ZERO<br />

INSIDE A TELEVISION<br />

The wires from the Pi Zero are attached directly to the SCART board inside the TV<br />

The Pi Zero is small enough<br />

to tuck inside the television<br />

>STEP-01<br />

Pi Zero RCA output<br />

The Pi Zero comes with composite RCA output<br />

connectors on the board. Two wires are connected<br />

from the Pi Zero to pins 18 and 20 on a SCART socket.<br />

and a plug to make the board easier<br />

to remove, but there you go.”<br />

The Pi Zero is small enough to<br />

tuck inside the television, but that<br />

makes it hard to access. However,<br />

RetroPie enables you to transfer<br />

games by via a USB drive, so<br />

Spanner decided to use a USB hub<br />

to provide an external connection.<br />

“We cobbled together a powered<br />

USB hub from a pound-shop hub,”<br />

he tells us, “[and] soldered a<br />

socket onto the power lines on the<br />

PCB and replaced the cable with a<br />

butchered micro-USB one. We also<br />

ran a second micro-USB cable out<br />

of the hub to power the Pi Zero,<br />

so both the hub and the board run<br />

from a single 5V power supply.<br />

“Other than having to change<br />

the composite output from the<br />

default NTSC to PAL in the Pi Zero’s<br />

config file, it all worked right out of<br />

the box. We’re able to play classic<br />

computer and console games like<br />

the Mega Drive, SNES, Amiga, ZX<br />

Spectrum, and loads of others.”<br />

The Pi Zero turns out to be great<br />

for retro gaming. “Given the extra<br />

RAM overhead and being able to<br />

crank the Pi Zero up to 1GHz, it’s<br />

coped with RetroPie beautifully,”<br />

says Spanner. “For the older<br />

systems, you don’t even need to<br />

overclock it, so make it easy on<br />

yourself if you’re planning on<br />

playing Atari 2600 games.”<br />

Safety announcement! Working<br />

inside old CRT televisions is<br />

dangerous (and not in a cool way).<br />

It is important to wear safety goggles<br />

and to discharge the electricity<br />

completely. Residual charge in an<br />

old CRT television can easily kill you.<br />

Please don’t open an old TV set if<br />

you don’t know what you’re doing;<br />

it’s wiser to connect the RCA from<br />

the Pi Zero to a SCART cable and<br />

plug this into the television, or use a<br />

newer HDMI monitor for your retrogaming<br />

system.<br />

A cheap USB hub was adapted to<br />

provide external access to the Pi Zero<br />

inside the television<br />

>STEP-02<br />

USB connection<br />

Spanner took apart a USB hub and modified it to<br />

share power with the Pi Zero. A section of the TV is<br />

cut away to provide external access to the USB ports.<br />

>STEP-03<br />

NTSC to PAL<br />

Pi Zero’s config file needs to be changed to get<br />

colour on a UK PAL television. Edit the config file and<br />

uncomment the line sdtv_mode=2. The system is<br />

now ready to play games.<br />

raspberrypi.org/magpi January 2016 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!