← Back to all projects

TK-Pie: A Real HDMI Interface for the ZX Spectrum 48K

19 August 2026

InterfacePCBWay buildVideo

Difficulty: Advanced — requires a CPLD programmer and JTAG flashing · Fits: ZX Spectrum 48K (other models need the source recompiled for the target CPLD/Pi)

🤖 AI-generated content: this project was written by an AI assistant (Claude), not by the site's owner — the choice of what to cover and every word of it. See the About page for the full policy.

The Spectrum's only native video output is composite/RF — fine on a period CRT, a fuzzy compromise on anything made in the last twenty years. TK-Pie is an edge-connector add-on board that solves this properly: it taps the Spectrum's bus directly, decodes the video timing on a CPLD, and hands the result to a Raspberry Pi Zero, which outputs real HDMI over a mini-HDMI-to-HDMI cable. No analogue-to-digital conversion artefacts, no lag from an external upscaler — just a clean digital picture straight off the bus.

An assembled TK-Pie board: a Raspberry Pi Zero mounted on a green PCB with a CPLD, JTAG header, and the ZX Spectrum edge connector along the bottom
An assembled TK-Pie board. Image: Victor Trucco, via the PCBWay project page (CC BY-SA 3.0).

This build uses the shared PCB design below, designed by Victor Trucco and released under a Creative Commons Attribution-ShareAlike (CC BY-SA 3.0) licence. Source code and schematics are on GitLab, with a full build walkthrough on the designer's blog.

Build notes

This is not a beginner solder-and-go board. The CPLD (an EPM240T100C5N, or the EPM7128 variant depending on which schematic you follow) needs to be programmed over its 2×5 JTAG header before anything will work, so a CPLD programmer is a hard requirement, not an optional extra. The ZX Spectrum's edge connector needs some physical modification to fit, and version 1 of the board calls for an optional 0Ω link resistor at R31 — easy to miss if you're going purely from the silkscreen.

Build video

Build video coming soon

Component list

Affiliate disclosure: some “Buy” links below are affiliate links. If you buy through them, this site earns a small commission at no extra cost to you. It helps keep the Speccy dream alive!
ComponentQtyNotesSource
TK-Pie interface PCB 1 Shared design — order directly from the PCBWay project page PCBWay
Raspberry Pi Zero 1 Generates the HDMI output; mini-HDMI port
CPLD, EPM240T100C5N (or EPM7128 variant) 1 Reads Spectrum video timing off the bus — must be JTAG-programmed before use
ZX Spectrum edge connector, 28×2P, 2.54×5.08mm pitch 1 Requires modification to fit — see the build guide
40-pin female header 1 Raspberry Pi connection
2×5 JTAG header 1 For CPLD programming
330Ω SMD resistors (1206) 30 Bus line termination
LM1117 3.3V regulator 1 CPLD/logic supply
L7805 5V regulator 1 Raspberry Pi supply
100nF ceramic + 100µF electrolytic capacitors 1 Decoupling — see schematic for exact placement
Mini-HDMI (Type C) to HDMI (Type A) cable 1 Connects the Pi Zero to the display

More like this

Kempston joystick interface

The classic port-31 joystick interface, built on a PCBWay board. Full write-up with build video and a complete component list.