Automatic FM DX decoding

Automatic FM DX decoding

Author: Onno (VK6FLAB) May 11, 2024 Duration: 5:18
Foundations of Amateur Radio

Much is made in our hobby about working DX, that is sending and receiving distant radio signals. How distant is up for debate. Depending on where you are, DX might be outside the continent, outside the country, or in my case you could easily say, anything outside of my state, since the nearest border is about 1,240 km away from here. For giggles, the distance between Albany in the South West and Wyndham in the North East of the state is 2,400 km and that's via radio wave. By car it's 3,570 km. To be clear, we're still inside VK6.

All that to say, DX is in the ear of the beholder.

If that's not enough, there's a group of amateurs who are of the strident opinion that for DX to count it must be a two-way contact. That is, both stations need to hear each other and as such, those amateurs believe that a mode like WSPR, the Weak Signal Propagation Reporter can't possibly be considered DX, even if you can discover that your station was heard on the other side of the planet.

I'm going to skip right over those who tell anyone who will listen that FT8 isn't real radio because it's just computers talking to each other.

This to give you some context when I introduce the next idea, namely FM Broadcast DX. I'm acutely aware that this isn't amateur radio, there's no two-way communication, it's probably not DX and besides, it's computers. That out of the way, let me tell you about something I discovered.

Many, but not all, FM broadcasters transmit multiple signals when you tune to their station. One of those is a signal called RDS, or Radio Data Systems. It's used to show you the name of the station, sometimes what song is playing, what style of station it is and other information like road traffic alerts and emergencies. You can decode this using an RDS decoder.

Recently I was browsing YouTube. I came across a video on the Broken Signal channel that digs into the world of FM-scanning to log any RDS information for the purpose of finding DX stations. The video goes into great detail on how to set this up with Windows, by copying files into various places, updating XML files, configuring sample rates, connecting virtual audio cables, running several tools simultaneously and it goes on to demonstrate how this all hangs together.

While I was impressed with the idea, the implementation didn't speak to me, since I wince at the notion of copying random files into an application installation directory and besides I'm a Linux user.

So, I went hunting.

Turns out that there is an RDS decoder for Linux, called "redsea", written by Oona OH2EIQ. It's on GitHub. Compiling it is pretty straightforward, follow the instructions and it should work as advertised. You'll also need to have "rtl-sdr" installed so you can run a tool called "rtl_fm". Again Oona's instructions should help you out. I will add that I'm assuming that you have a so-called RTL-SDR dongle, it's a cheap USB device that can be coerced into pretending to be a software defined receiver with about 2.2 MHz of bandwidth.

Based on the example shown, I immediately tuned to a local station and RDS information started filling my screen. To let you know how simple this is, you run the "rtl_fm" tool and send its output to "redsea" which decodes the information and displays it on the screen. That's it. No more moving parts, no XML files, no shenanigans with virtual audio cables and the like.

Stage one complete, on to stage two, scanning.

The "rtl_fm" tool has the capability to scan a range of frequencies. I tried this, but didn't really get anywhere, since for the scanner to work you need to set the squelch in order to switch between frequencies, but if you're aiming for a weak signal, it will never be heard if your local FM broadcasters are belting away 24 hours a day.

So, instead I'm scanning each frequency between 87 MHz and 109 MHz, every 10 kHz, for 10 seconds, to see if there's any RDS data to be heard. I send that to a file and when I feel the urge, I can go check to see what I've heard.

I haven't yet put this up on GitHub because I'm considering making it a contribution to the "redsea" project instead of a project of my own.

Now, at this point you might wonder what all the fuss is about. Well, the same method could be used to decode your local amateur repeater idents, or the NCDXF beacons, or any other kind of interesting information. I saw one user link "rtl_fm" to "multimon-ng", a tool I've spoken about before.

You should also check out Oona's website, windytan.com, there's a whole range of signal processing stories to be found, including dealing with flutter distortion on Steamboat Willie and a very cool spiral spectrogram.

I'll leave you with one question. Why haven't you installed Linux yet?

I'm Onno VK6FLAB


For anyone curious about the crackle of a distant voice emerging from the static or the thrill of making a contact across the globe using nothing but radio waves, Foundations of Amateur Radio offers a friendly, steady guide. Hosted by Onno (VK6FLAB) from Australia, this long-running podcast acts as a companion for newcomers navigating the initial, often overwhelming, steps into this vast hobby. Each episode deliberately unpacks a single facet of amateur radio, breaking down technical concepts, equipment, and operating practices into digestible pieces. You'll hear practical advice on how to get started, find your place within the global community, and discover which of the hobby's countless avenues-from building antennas to satellite communication or emergency service-might spark your passion. It’s not about dry theory; it’s about demystifying the process and sharing the genuine rewards that keep enthusiasts engaged for a lifetime. Having evolved from its earlier incarnation in 2011, this podcast builds from the ground up, week by week, creating a solid resource that grows with you. Tune in for a down-to-earth conversation that makes the airwaves feel a little more accessible and a lot more inviting.
Author: Language: English Episodes: 579

Foundations of Amateur Radio
Podcast Episodes
Acronym not found ... [not-audio_url] [/not-audio_url]

Duration: 7:12
Foundations of Amateur Radio Our community is full of TLAs, or three letter acronyms. Some of them more useful than others. For example, I can tell you thank you for the QSO, I'm going QRT, QSY to my QTH. Or, thanks for…
Antenna Testing Day ... [not-audio_url] [/not-audio_url]

Duration: 5:41
Foundations of Amateur Radio Last week I went outside. I know, it was a shock to me too. The purpose of this adventure was to test an antenna that has been sitting in my garage for nearly a year. Together with a friend w…
Are all spiky antennas the same? [not-audio_url] [/not-audio_url]

Duration: 6:19
Foundations of Amateur Radio The world is filled with antennas. You'll find them on towers, buildings, cars and on your next door neighbour's roof. They come in an astonishing variety, to the point where you might start…
Some Amateur Radio ABCs ... [not-audio_url] [/not-audio_url]

Duration: 4:30
Foundations of Amateur Radio A is for Antenna, the eyes and ears of any amateur station. You'll spend eighty percent of your life attempting to get twenty percent improvement for any antenna you'll ever use. B is for Bal…
Do you really know when the best time is to go on air? [not-audio_url] [/not-audio_url]

Duration: 5:02
Foundations of Amateur Radio Getting on air and making noise is a phrase that you've likely heard me repeat often, actually, this will be the 24th time or so. It's an attempt at encouraging you to actually transmit and u…
The evolution of software in radio ... [not-audio_url] [/not-audio_url]

Duration: 5:54
Foundations of Amateur Radio The amateur community is nothing if not entertaining. Look at any discussion about a mode like FT8 and you'll discover people who describe it as the dehumanising end of the hobby. In the same…
Path loss and very small numbers ... [not-audio_url] [/not-audio_url]

Duration: 5:31
Foundations of Amateur Radio Sometimes you learn mind boggling things about this hobby, often when you least expect it. Recently I discussed having my 20 mW WSPR or Weak Signal Propagation Reporter beacon heard on the ot…
What is the difference between handheld, mobile and a base radio? [not-audio_url] [/not-audio_url]

Duration: 5:48
Foundations of Amateur Radio If you've ever been in the market for a new radio, and truth be told, who isn't, you'll find yourself faced with a bewildering array of options varying from obvious to obscure and everything…
What should we be learning? [not-audio_url] [/not-audio_url]

Duration: 4:04
Foundations of Amateur Radio It's an immersive effort to create an article every week, so much so, that I've only just discovered that I passed the 600 article mark some time ago. I'd open up a bottle of something celebr…
Where does propagation data come from? [not-audio_url] [/not-audio_url]

Duration: 6:05
Foundations of Amateur Radio One of the many questions that new amateurs ask is, "When should I get on-air, and on what band?" The often-heard reply is just to get on-air and make some noise. As time goes by, the importa…