ZX Spectrum Raspberry Pi Cassette
By Rosie Hattersley. Posted

Stuart Brand was between jobs and decided to concentrate on pushing his skills by building Raspberry Pi projects: “I headed to the garage and embraced my inner nerd!” exclaims the maker of the ZX Spectrum Raspberry Pi Cassette. “I wouldn’t have had a clue how to build any of this stuff before lockdown. It goes to prove that you never know what you’re capable of until you give it a go.”
Advertisement
The desktop computer you've been waiting for: Raspberry Pi 500+
Stuart’s first computer, a ZX Spectrum, has a special place in his heart, so a Raspberry Pi project based around one seemed ideal. “They’re still great machines!” he says of the beloved computer which celebrates its 40th birthday this April.
Stuart loves repairing and running real hardware as well as emulations and thought “it would be nifty to see if I could fit an entire ZX Spectrum emulator into a cassette tape shell.” He now uses his ZX Spectrum Pi Cassette as a ‘pick up and play’ device whenever he fancies “a quick bash at some old school gaming.”

Learn as you go
Prior to this project, Stuart had several retro makes under his belt and had made a tape emulator for an Arduino-based ZX Spectrum +2 that acts like a multi-cart tape. “Putting a whole Spectrum in a tape shell was the next logical step and an interesting challenge,” he says. Being tight for space, he chose Raspberry Pi Zero W. He loves the fact both ZX Spectrum and Raspberry Pi’s ARM processor were developed in Cambridge.
Despite this, he describes himself as a haphazard tinkerer with little electronics experience, who plans everything in his head. “I don’t have any schematics to share,” he apologises, “and never measure anything.” However, he makes paper mock-ups of everything he’s planning, largely to ensure it all fits. A veteran of small case builds, Stuart cautions other wannabe makers to leave far more room for cables than you think you’ll need. He also admits to treating his Raspberry Pi collection rather roughly: “even though they have been abused and tortured, they still keep running.”

Stuart assembled the ZX Spectrum Raspberry Pi build from what he had to hand. He took a sheet of scrap metal and used a bandsaw to fashion a crude shape for what would act as Raspberry Pi Zero W’s heatsink. A Dremel, needle files, and fine-grit sandpaper were used to finesse the shape.
Getting it taped
Stuart bought a job lot of cassette tape seconds: “Boots C15 were the cassettes I used for storing my programs back in the ’80s; it was an obvious choice” – for which he designed and printed new labels.

“Cassette shells make for a great form factor,” says Stuart, “I started with a plain black spare cassette shell and used a small hand file and side cutters to remove the plastic supports in preparation for fitting the heatsink.”
The 5 mm interior of the C15 cassette tape meant something would have to give: fitting a Zero W inside involved cutting out a section to nestle under the reels and “preserve the illusion” – not something inexperienced makers are advised to tackle. Stuart has eight similar builds under his belt, hence his confidence. He wrapped Raspberry Pi in foil and “went at it with a Dremel.” Surprisingly, it survived. “I lost some GPIO ports, but it was well worth it to get the tape looking right.”

Configuring the DietPi and Fuze ZX Spectrum emulator took lots of tweaks before Stuart was able to get them to boot in an acceptable time frame. “I eventually got it to boot in 16 seconds. The full-width heatsink meant I could safely overclock Zero W and saved another couple of seconds,” he says.
His next challenge: a 1980s boom box with drop-in cassettes that boot up and play games from different iconic home computers. We like his thinking!

Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles

Raspberry Pi 500+ in Raspberry Pi Official Magazine issue 158
We’re quite taken with Raspberry Pi 500+. But when you don’t need all that processing power, and just want a board that will make a plastic skeleton jump around in a terrifying manner, you’ll find Raspberry Pi Pico more than up to the job. There’s more terror in the magazine (which is only right as […]
Read more →

Win one of five Raspberry Pi SSD 1TB
Raspberry Pi prides itself on high quality hardware, and this 1TB Raspberry Pi SSD is no different. You can use it with a standard Raspberry Pi or even in your desktop PC – the choice is yours. We have five to give away and you can enter below Win 1 of 5 Raspberry Pi SSD […]
Read more →

Dual-screen cyberdeck
Twin screens mean you can code on one screen while watching David Bowie’s 1978 Musikladen show on the other.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.