Vintage radio, television and amateur-radio construction
Projects › Raspberry Pi NTSC/PAL Signal Generator

Raspberry Pi NTSC/PAL Signal Generator

Bench testingTelevisionTest gear
Last updated 20 November 2026

Any Raspberry Pi with a composite output makes a clean, standards-correct NTSC (525 lines, 60 Hz) or PAL (625 lines, 50 Hz) signal. A small install adds the Project405 test card full screen, the commands ntsc, pal and hdmi to switch outputs without rebooting, and memory of the last choice, so the Pi powers up straight into the test card with no screen or keyboard.

A play command shows video files full screen on NTSC or PAL using the Pi's hardware decoder, so the Pi can stand in for a DVD player in front of a 625 to 405-line converter.

It was set up to test the VCR139A monitor at 60 Hz, and suits anyone testing a monitor, timebase or sync separator on either standard. For 405 lines, use the Pico pattern generator.

Experiments: the Pi 3 also drove a HackRF One running hacktv, to send a real 405-line System A signal on Band I channel 1 to a 1950 Bush TV22 (18 Oct 2026). After a HackRF firmware update, hacktv for Windows now does the same live from a PC, with no Pi (28 Oct 2026). A GNU Radio version of the transmitter shows how the signal is built, block by block.

At a glance

StandardsNTSC 525/59.94 and PAL 625/50 interlaced; progressive 240p/288p by config
OutputComposite 1 V p-p into 75 Ω, from the Pi's phono socket or A/V jack
Switchingntsc, pal or hdmi at a terminal or over SSH, or a toggle switch on the GPIO header; about 10 s, no reboot
Tested onRaspberry Pi Model B Rev 2 (Raspbian Wheezy) and Raspberry Pi 3 (Raspberry Pi OS Bookworm)
405-line RF (experiment)HackRF One + hacktv, System A on channel B1 (45 MHz vision, 41.5 MHz sound): from the Pi 3 as a pre-rendered loop, or live from a Windows PC

Watch

NTSC on a 1950s scope: the Raspberry Pi as a 525/625-line test card generator (17 Oct 2026) →

A 405-line TV transmitter from the Pi 3 and a HackRF: test card on a 1950 Bush TV22 (18 Oct 2026) →

No converter? Live video to 1950s TVs from a HackRF: a Bush TUG34A and TV22, and GNU Radio (29 Oct 2026) →

Free download

Licensed CC BY-NC-SA 4.0: free for non-commercial use with credit.

Download

The how-to (PDF) and all the Pi files: the original Pi version (pi_files) and the Raspberry Pi OS Bookworm version for the Pi 3 and later (pi_files_bookworm); and the 405-line HackRF transmitter (hackrf): the test report and GNU Radio guide (PDFs), the hacktv launchers, and the GNU Radio flowgraphs and scripts (1.7 MB), free for subscribers and viewers. The download code is three words shown somewhere in the Raspberry Pi video and in the live 405-line TV video (HackRF into a Bush TUG34A and TV22). Type them here:

Licensed CC BY-NC-SA 4.0: free for non-commercial use with credit. If it's useful, please subscribe; that's what keeps the projects coming.

Related projects