Raspberry Pi: Tracking Aircraft with a Pi

This is the second of a three-part look at some ways to use a Raspberry Pi for amateur radio purposes. For this article, I’ll be looking at how to turn the Raspberry Pi with a £10 USB dongle into a receiver capable of decoding live transponder data from nearby aircraft and showing them on a map – handy for demonstrating radio at public events, and very cheap to do.

What is a Raspberry Pi?

It’s a £30 computer motherboard. Connect to a screen, keyboard and mouse, and you’re on your way. The Raspberry Pi uses the Linux operating system (as opposed to Windows), and it pretty powerful. There are several different models, and at the time of writing, the Raspberry Pi 3 is the current model, which is fast enough to cope with the cheap RTL SDR dongle, so it’s ideal for amateur radio. You can pick up a Pi online from Amazon – Raspberry Pi at Amazon

Raspberry Pi - Powerful mini computer for £30
Raspberry Pi – Powerful mini computer for £30

Raspberry Pi for tracking aircraft?

If you have an interest in aircraft and tracking their whereabouts, you’ll likely be familiar with the concept – you may even have an app on your phone, or use a service like FlightAware or FlightRadar24 to be able to see what’s flying overhead.

Planes transmit data on 1.090GHz, which is in the range receivable with an SDR dongle. The cheap magmount antenna is pretty good at receiving 1090MHz even indoors, so this makes for a good visual demo of live radio signals. We’ve run a demo of aircraft tracking at a JOTA event, the Southend Raspberry Jam and at a technology competition, and it’s a great visual demonstration of radio in action. 

Setting it up

In case you want to try it, here’s a short guide on how I managed to get this up-and-running:

What I needed:

Raspberry Pi 3 connected to an RTL USB Dongle
Raspberry Pi 3 connected to an RTL USB Dongle

Preparing the software

The Raspberry Pi 3 supplied by Amazon came pre-loaded with the Raspian operating system on a Micro SD card, and out of the box, booted up to a desktop. In the past, I’ve purchased a Raspberry Pi that came without an operating system, meaning I had to download an install one. Getting one all ready to run was a bonus.

If you have a Pi, but no software, then it’s a case of downloading the Raspian OS, and using Etcher or Win32DiskImager to flash it to a micro SD card.

With the Pi switched on and running Raspian, the first step was to connect the Pi to the Internet. The Pi 3 supports wi-fi (icon, top-right), and getting online was as straightforward as connecting any smartphone or laptop to a wireless hotspot.

With the Pi now running, you’ll need to install two lots of software – one to run the RTL SDR dongle, and one to track aircraft.

The first package you need to install, is the RTL SDR drivers. Here’s how to do it:

Installing SDR drivers

To install the software and drivers, you’ll need to enter commands into the Terminal window – you can open Terminal by clicking on the black icon with the white”>_” icon  (on the top left bar). With Terminal open, type in the following and press [Enter]

sudo apt-get install librtlsdr-dev
sudo apt-get install libusb-1.0-0-dev

This will download and install all of the files you need. It may take a few minutes.

Installing RTL dongle drivers on a Paspberry Pi 3
Installing RTL dongle drivers on a Raspberry Pi 3

Installing Dump1090 tracking software

Now, to install the tracking software, called Dump1090. Again, in Terminal, type each of the following lines one at a time and press [Enter] after each one:

cd /home/pi/
git clone git://github.com/MalcolmRobb/dump1090.git
cd dump1090

You should get a confirmation message, and that’s it.

Getting it running

Now, plug in the USB dongle (if it’s not already in) and plug the antenna into the dongle.

Back in Terminal, type the following and press Enter after each line

cd dump1090
./dump1090 --interactive

If all’s gone according to plan, you should get a window displaying aircraft data

Dump1090 receiving data on a Raspberry Pi 3
Dump1090 receiving data on a Raspberry Pi 3

Want to see it on a map?

With a small change, you can have your data overlayed onto a map. All you need to do, is enable network sharing of your aircraft data. Next time you start dump1090, add a “–net” to the end, link this:

cd dump1090
./dump1090 --interactive --net

Next, you need to find the IP address that your Pi is using for its Internet connection. To do this, simply hover over the wifi icon (top right of screen).

With this information, open the Pi web browser, type in the IP address, followed by a colon and the numbers 8080. for example


If you’ve done it right, you should get a map display overlayed in real-time with aircraft:

Aircraft data from the dongle, viewed on a browser
Aircraft data from the dongle, viewed on a browser

This will work on any web browser connected to the same network, so you can disconnect the screen from your Pi, and see the aircraft you’re tracking on any PC, tablet or phone connected via the same wi-fi router. Nifty!

More stuff that you can do with Dump1090:

There are even more options available with Dump1090software on a Raspberry Pi. In the course of writing this article, I found the following article very useful: Dump1090 – Installation on the RPi, by Ferran Casanovas – It details the process of installing Dump1090, using it with PlanePlotter and also auto-starting Dump1090 for unattended use.

You can also configure a Raspberry Pi to update data to FlightRader24, and become part of their spotter network. For details on how to do this, see FlightRadar24 Raspberry Pi Data Feeder

Hopefully, this short article is of use – there are more detailed features out there, but hopefully, this basic guide will get you to the point where you can create a successful demo of live aircraft tracking. If you have any questions, please add a comment below. 


Some of the Gotchas:

  • Use a decent power supply. In earlier experiments, I found the Pi kept losing the connection to the dongle. Online reading revealed this to be a common issue if not using the recommended current to run the Pi 3. The recommended supply is 2.5A. Some phone chargers are 1A, and I inadvertently used one of these and all appeared well, but it couldn’t power the RTL dongle. 
  • Running too hot? It’s been suggested that adding a heat sink to the Pi CPU may help to keep it cool.


Hopefully, this short article is of use. If you have any questions, please add a comment below. 


One further article on how to use a Raspberry Pi for amateur radio… is coming soon…


Related links


  1. Ken G3LVP 8 April 2018 Reply
  2. g6nhu 9 April 2018 Reply

Add a Comment

Your email address will not be published. Required fields are marked *