← All projects05 / 08  Embedded Systems

CRT Broadcast TV System

A Raspberry Pi built into a 1990s Sylvania CRT that turns it into a live cable box, with every channel running on its own broadcast timeline.

1Sense wire shared by every front-panel button
3.3 VLevel the button line is stepped down to
CH 100Generated 90s-style guide channel
Hardware
Raspberry Pi 3, composite video, IR receiver, resistor and diode level shifter, USB HDMI capture, 3D-printed mount and back panel
Software
Python, mpv, browser control panel, YouTube import

Every channel runs on its own continuous timeline, so changing the channel drops you in wherever that station would be right now, complete with a burst of static and a channel-number banner, just like real TV.

Content is managed from a browser over the Pi's own Wi-Fi network, where channels are built by uploading video files or pulling in YouTube links, and each lineup can be shuffled to keep the programming fresh.

System design

Playback
An mpv-based engine written in Python computes each channel's position from a fixed broadcast epoch, and only the tuned channel decodes. The guide channel is generated from the real program timelines.
Front panel
Every front-panel button shares one resistor-ladder line that idles above the Pi's 3.3 V limit. A small resistor and diode circuit steps it down while drawing almost no current, after an earlier voltage divider loaded the line enough that the TV thought a button was stuck. The Pi can only tell that a button was pressed, so a quick tap changes channel and a held press adjusts volume.
Remote
The TV's built-in IR sensor is tapped as the primary input, and the software learns the buttons of a vintage universal remote for full channel and menu control.
Video I/O
The Pi feeds the TV over composite video, and a USB HDMI capture device lets an external console take over the screen automatically.
Integration
A 3D-printed bracket mounts the Pi inside the original chassis, with Ethernet, USB, and power brought out through a custom back panel.

Build & interface

Demo

Click any image or video for details