Converting DAB signals to AM
Pieter-Tjerk de Boer, PA3FWM web@pa3fwm.nl
As more and more mediumwave and longwave transmitters are switched off,
few signals remain for old, tube-era, AM-only radios, that collectors like to restore and maintain.
This page describes a setup that converts an entire multiplex of DAB (Digital Audio Broadcast) signals to AM.
Each of the (dozen or so) programs in the DAB multiplex comes up at a different frequency on the AM dial, simultaneously.
There's also a beacon which announces the frequencies and program names in a synthetic voice.
What is needed:
- A Raspberry Pi 5 single-board computer. It must be a RPi five! The earlier models will not work, no need to try or ask. The cheapest version, with 1 gigabyte of memory, suffices. The raspberrypi.com website can help you find a supplier.
- A suitable power supply (USB-C, 5V, at least 1.5 A).
- An RTL-SDR dongle.
- A microSD card, of at least 128 MB capacity (any card you buy new today will have ample capacity).
- A regular PC or laptop that can read and write microSD cards (either directly or with an adapter).
- Soldering and radio skills to get the RPi's analog (video) output signal to your old radio's antenna input.
How to install:
- Download this microSD card image file, called dab2am.img.xz.
- Write that image to your microSD card, as follows (written out in detail for those who have not done this before):
- Download and install the Raspberry Pi Imager program for your operating system (Windows/Mac/Linux) from their website, and start it.
- Select your preferred language, and click Next.
- Select the Raspberry Pi 5 device, and click Next.
- In the list of operating systems, scroll all the way down, and click Use custom.
- Navigate to the dab2am.img.xz file that you downloaded in the first step, select it, and click Open, and then click Next.
- Now it wants you so select which storage device (the microSD card) to write to.
Be very careful not to choose the wrong device, as it will overwrite whatever is on the device.
The safest is to go until here without having the microSD card plugged in.
At this stage, you'll either see an empty list, or perhaps some other devices that are already plugged in (e.g., USB sticks).
Now insert the microSD card.
After about 1 second, a new entry will appear in the list: that must be the microSD card you just plugged in.
Select it, and click Next. - Click Write, and after the countdown (and if you're really sure you selected the right device) click I understand, erase and write.
- Wait a while until it's done.
- Take the microSD card out of your PC or laptop, and then insert it again. (This prompts your PC/laptop to reopen the microSD card.)
- Navigate to the microSD card in your file manager, locate the file called dab2am.txt, open it, and edit the DAB channel number to a channel that is active in your region. (As supplied, it is set to 12C, which everywhere in the Netherlands carries the public broadcasters.)
- Connect your AM radio to the RPi5's composite video output; see below.
- Put the microSD card into the RPi5, and also plug in the RTL-SDR dongle, its antenna, and the power supply.
- Power up the RPi5, wait a minute or so, and then several stations should be audible on your medium wave radio. Even if DAB reception for some reason does not work (yet), there should be one station on 531 kHz playing a tune ('Merck toch hoe sterck', the old interval sign of Radio Netherlands Worldwide) and some synthesized text ('waiting for DAB').
There are essentially two ways to connect the RPi to the radio:
- If your radio has an antenna input connector for mediumwave, a small capacitor between it and the RPi5's video output should suffice. Don't omit the capacitor, as the RPi5's video output has a DC component.
- If your radio has a built-in ferrite rod antenna, make a loop of wire around or near the radio and connect that, with a series capacitor of say 10 nF, between the RPi5's video output and ground.
Further configuration: Editting the dab2am.txt file allows configuring which AM frequencies are used, by either specifying a list of allowed channels, or channels to be avoided (e.g., those on which strong local stations are active), or even setting specifically which DAB program should go to which AM frequency. Furthermore, the beacon frequency and tune can be changed.
If you connect the Raspberry Pi's ethernet port to your home network, you can control the system from a web browser, by navigating to 192.168.x.x:8800 (where the x.x part depends on your network). This will show welle.io's web interface, with all the details of the DAB transmitter being received, and at the top the conversion to AM channels. Note: do not expose this to the public internet without a firewall, since I am not going to keep the disk image up to date w.r.t. security patches (because that's quite a bit of work and responsibility, and the project doesn't need an internet connection anyway).
Background about the software being used in this project (in the image file written to the microSD card):
- welle.io is used to decode the received DAB signals, offering data and audio via TCP sockets.
- A program I wrote for this, called multi-am-tx, generates multiple AM carriers via the RPi5's composite video output.
- A small Python script, dab2am.py, glues the two together: it polls the DAB software to find out which programs are available, and then configures the AM transmitter accordingly.
- Other tools are used as helpers, most notably sox for audio format conversions, and pico2wave to synthesize speech for the beacon.
Text and pictures on this page are copyright 2026, P.T. de Boer, web@pa3fwm.nl .
Republication is only allowed with my explicit permission.