Skip to content
  • Facebook
  • YouTube
  • Bluesky
  • Discord
  • X
  • Instagram
  • RSS
Essex Ham Logo

Essex Ham

Supporting Amateur Radio in Essex

  • Home
  • Get Started
    • What is Amateur Radio?
    • Become a Ham
    • Amateur Radio Explained
    • Guide for Parents
    • Amateur Radio Books
    • Common Questions
  • Advice
    • How to Become a Ham
    • Passed? Get Your Licence
    • Just Got Your Licence?
    • Your First Handheld
    • Your First Station
    • Getting Started Guides
    • Returning to the Hobby
    • Getting Started with Data
    • Downloads & Handouts
    • Your Questions (FAQ)
  • Events
    • Events Calendar
      • Calendar View
      • Poster View
      • Upcoming Field Events
      • Upcoming Training
      • Essex Field Events This Year
      • Upcoming Local Rallies
    • Next Essex Ham Events
    • Club Events List
    • Recent Events in Essex
    • Essex 2m Activity Days
    • Annual Event List
    • Latest News & Articles
  • Training
    • How to Get Started
    • Foundation Online Course
    • Training Courses in Essex
    • Other Online Courses
    • Training Videos
    • Training Material
    • Training Information
    • Essex Training Calendar
    • For Tutors
  • Clubs
    • Support for Clubs
    • Clubs in Essex
    • Resources & Downloads
    • Training Material
    • Promotional Videos
    • Essex Speakers Directory
  • Members
    • Join our Community
      • Join Essex Ham (free)
      • Essex Ham Members FAQ
    • Forum
    • Live Chatroom
    • Merchandise
    • Recommended Kit
    • Members-Only
      • Members-Only Area
      • Member Main Page
      • Your Member Profile
      • Email Alerts
      • Essex Ham Newsletter
      • Email Discussion Group
  • About Us
    • What is Essex Ham?
    • Latest News & Articles
    • Forum
    • Videos
    • Internet Radio Stream
    • Podcast
    • Live Weather
    • Essex Ham APRS iGate
    • Essex Ham Meshtastic
    • Essex Ham Newsletter
    • Essex Activity Map
    • About Our Site
  • Net
    • Monday Night Net Info
    • Monday Net Chatroom
    • Monday Net Reports
    • Young Ladies Net
    • Live Audio Feed
    • Danbury Repeater GB3DA
    • Other Nets in Essex
    • Repeaters in Essex
  • Contact/Chat
    • Forum
    • Email Discussion Group
    • Need some help?
    • Contact The Team
    • Our Facebook Group
    • Discussion Group List

Raspberry Pi: Tracking Aircraft with a Pi

Posted on 8 April 201814 April 2018 By Pete M0PSX 4 Comments on 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:

  • A Raspberry Pi 3 (Mine was £30 from Amazon, including the Micro SD card pre-loaded with the operating system)
  • RTL SDR USB Dongle (£10)
  • Micro USB charger and lead (2.5A or 3A power supply, not a 1A version)
  • USB keyboard & mouse (any will do, even a pocket keyboard/touchpad)
  • HDMI to VGA adapter (to connect from the Pi’s HDMI socket to my old VGA monitor)
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
make

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

"http://192.168.1.100:8080"

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

  • Dump1090 – Installation on the RPi, by Ferran Casanovas
  • Part 1: Raspberry Pi – Running as an SDR
  • Realtek SDR £10 Dongle
Articles, Hardware Tags:Raspberry Pi

Post navigation

Previous Post: Monday Night Net 02 Apr 2018
Next Post: Essex Ham YL Net 07 April 2018

Comments (4) on “Raspberry Pi: Tracking Aircraft with a Pi”

  1. Ken G3LVP says:
    8 April 2018 at 21:42

    Hi,
    I’ve been running a Raspberry Pi & TV USB stick for the past 15 months, to get decent coverage I use a 5(?) element co-linear made out of co-ax mounted in the loft fed via a pre-amp (some people mount the ‘Pi’ near the antenna) . I ‘see’ aircraft up to 250 nm in the best directions from here (N through W to SW) providing they are high enough. Most of the time I filter out airliners as I’m mainly interested in traffic around the local (Staverton) airfield which I fly from.

    Reply
  2. g6nhu says:
    9 April 2018 at 09:55

    Aircraft tracking is quite addictive and fun – I run two setups here, one outside on the top of my mast using a commercial aerial and PoE to power the lot. The other one is in my loft and has a simple two element j-pole. My two receivers are the top two in the UK on the FlightAware stats!

    Another way to do this is using the pre-configured SD card image from the FlightAware site. You simply download it, write it to an SD card and then fire it up. All you have to do is enter a few straightforward parameters and you’ve got a tracker.

    Reply
  3. Bill Cooper says:
    24 June 2018 at 20:55

    Hi – followed your instructions to the end, all seemed ok till I run the program, Column headings and seperator appear but no aircraft, seems to be connected to dongle as scrolling up reveals details about the Dongle gain last line “Gain reported by device: 49.6”
    Plugged dongle into a windows PC – HDSDR works fine, and at 1090 I can see (and hear) the usual ‘crackling’. The Pi is an old one with 256M 700Mhz Proc – single USB with 4 way USB port expander, Clean raspian install + your instructions, any ideas? -73 M0TAP

    Reply
  4. Steve M0SCJ says:
    19 August 2018 at 16:18

    Just posting my experiences. Followed the instructions above and now have Dump1090 running on a RasPi Model B (oldest version – no overclock), Raspbian Stretch command line interface only, no GUI. System updates took forever (as per). Receiving surprisingly well with the stock RTL antenna on the window sill inside. 40% CPU usage whilst chucking the data out to another PC on the local network for visualization. Great fun – now to build a better antenna and put it somewhere better!

    Reference M0TAP’s issue, I wonder if the issue was the presence of the USB hub? I only have the RTL and a wired keyboard attached to my RasPi. Did you ever get it sorted Bill?

    Reply

Leave a Reply Cancel reply

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


Member Login (Join Essex Ham!)
Remember me




Need help logging in?

Essex Ham Newslettter:

Looking for general updates on amateur radio? Join our free newsletter:

Recent Essex Ham Posts

  • St George’s Day 2025 Activation
  • RSGB AGM – Saturday 11 April 2025
  • Getting a Licence – We need to do better!
  • Ofcom Licence Exemptions Consultation 2025
Callsign:

Upcoming Local Events

  • Monday Night Net on 26 May 2025 20:00
  • CARS: Monthly Club Night Placeholder on 3 June 2025 19:30
  • SEARS: Monthly Club Night Placeholder on 12 June 2025 19:30
  • Ipswich ESWR Rally 2025 on 15 June 2025 09:30
Essex Ham recommends:

Realtek USB SDR

  • Getting started? Baofeng UV-5R 2m/70cm handheld: £30
  • Listen to the bands on your computer: USB Software Defined Radio Dongle: £10 (More)
  • Meshtastic Networking: Meshtasic Heltec V3 (More)

Heltec Meshtashic
More Recommendations

Recent Forum Discussion

Peter M0PWX (2E0PWX) replied to VHF yagi balun 1 day ago Yagi's don't normally need impedance matching baluns, but a 1:1 balun isola...
DarrenSmith78 started VHF yagi balun 3 days ago Hello all. I have a VHF yagi that was gifted to me. The box containing the ...
Peter M0PWX (2E0PWX) replied to Baofeng GT3TP 6 days ago i forgot the file, the CSV you can import into chirp is in the zip file att...

Recent Comments

  • Gary Hayes on RSGB AGM – Saturday 11 April 2025
  • M5AKA on Ofcom Licence Exemptions Consultation 2025
  • M5AKA on Ofcom Licence Exemptions Consultation 2025

Show Your Support for Essex Ham

Free Training. Free Content. Free Help. No Membership Fees. Want to say thanks? PayPal or Coffee donations are always appreciated.
Make a donation

Copyright © 2011-2025 Essex Ham. Home | About This Site | Site Terms & Privacy | GDPR Statement >>

Powered by PressBook WordPress theme

This site uses cookies to enhance your browsing experience, serve personalised ads or content, and analyze our traffic. By clicking “Accept All”, you consent to our use of cookies, however you can select "Cookie Settings" to control your consent. View Terms & Privacy Policy
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
apbct_cookies_testsessionCleanTalk sets this cookie to prevent spam on comments and forms and act as a complete anti-spam solution and firewall for the site.
apbct_headlesssessionCleantalk set this cookie to detect spam and improve the website's security.
apbct_page_hitssessionCleanTalk sets this cookie to prevent spam on comments and forms and act as a complete anti-spam solution and firewall for the site.
apbct_prev_referersessionFunctional cookie placed by CleanTalk Spam Protect to store referring IDs and prevent unauthorized spam from being sent from the website.
apbct_site_landing_tssessionCleanTalk sets this cookie to prevent spam on comments and forms and act as a complete anti-spam solution and firewall for the site.
apbct_site_referer3 daysThis cookie is placed by CleanTalk Spam Protect to prevent spam and to store the referrer page address which led the user to the website.
apbct_timestampsessionCleanTalk sets this cookie to prevent spam on comments and forms and act as a complete anti-spam solution and firewall for the site.
apbct_urls3 daysThis cookie is placed by CleanTalk Spam Protect to prevent spam and to store the addresses (urls) visited on the website.
cookielawinfo-checkbox-advertisement1 yearSet by the GDPR Cookie Consent plugin, this cookie is used to record the user consent for the cookies in the "Advertisement" category .
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
CookieLawInfoConsent1 yearRecords the default button state of the corresponding category & the status of CCPA. It works only in coordination with the primary cookie.
ct_checkjssessionCleanTalk–Used to prevent spam on our comments and forms and acts as a complete anti-spam solution and firewall for this site.
ct_fkp_timestampsessionCleanTalk sets this cookie to prevent spam on the site's comments/forms, and to act as a complete anti-spam solution and firewall for the site.
ct_has_scrolledsessionCleanTalk sets this cookie to store dynamic variables from the browser.
ct_pointer_datasessionCleanTalk sets this cookie to prevent spam on the site's comments/forms, and to act as a complete anti-spam solution and firewall for the site.
ct_ps_timestampsessionCleanTalk sets this cookie to prevent spam on the site's comments/forms, and to act as a complete anti-spam solution and firewall for the site.
ct_sfw_pass_key1 monthCleanTalk sets this cookie to prevent spam on comments and forms and act as a complete anti-spam solution and firewall for the site.
ct_timezonesessionCleanTalk–Used to prevent spam on our comments and forms and acts as a complete anti-spam solution and firewall for this site.
sessionIdsessionThis cookie, set by Microsoft, is used by the website to store the user's session ID and is sent with each request to the ASP.NET application.
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
CookieDurationDescription
apbct_pixel_urlsessionCleanTalk set this cookie to provide spam protection.
__cf_bm30 minutesThis cookie, set by Cloudflare, is used to support Cloudflare Bot Management.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
CookieDurationDescription
_gat1 minuteThis cookie is installed by Google Universal Analytics to restrain request rate and thus limit the collection of data on high traffic sites. For details of this cookie, go to Google's Privacy & Terms site
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
CONSENT2 yearsYouTube sets this cookie via embedded youtube-videos and registers anonymous statistical data.
ct_screen_infosessionCleanTalk sets this cookie to complete an anti-spam solution and firewall for the website, preventing spam from appearing in comments and forms.
UID1 year 1 month 4 daysScorecard Research sets this cookie for browser behaviour research.
_ga1 year 1 month 4 daysThe _ga cookie, installed by Google Analytics, calculates visitor, session and campaign data and also keeps track of site usage for the site's analytics report. The cookie stores information anonymously and assigns a randomly generated number to recognize unique visitors. For details of this cookie, go to Google's Privacy & Terms site
_gat_gtag_UA_*1 minuteSet by Google to distinguish users. For details of this cookie, go to Google's Privacy & Terms site
_gid1 dayInstalled by Google Analytics, _gid cookie stores information on how visitors use a website, while also creating an analytics report of the website's performance. Some of the data that are collected include the number of visitors, their source, and the pages they visit anonymously. For details of this cookie, go to Google's Privacy & Terms site
__gads1 year 24 daysThe __gads cookie, set by Google, is stored under DoubleClick domain and tracks the number of times users see an advert, measures the success of the campaign and calculates its revenue. This cookie can only be read from the domain they are set on and will not track any data while browsing through other sites. For details of this cookie, go to Google's Privacy & Terms site
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
CookieDurationDescription
DSID1 hourThis cookie is set by DoubleClick to note the user's specific user identity. It contains a hashed/encrypted unique ID.
ebaysessionThe domain of this cookie is owned by Ebay. This cookie is used for targeting and advertising purpose.
IDE1 year 24 daysGoogle DoubleClick IDE cookies are used to store information about how the user uses the website to present them with relevant ads and according to the user profile.
mc1 year 1 monthQuantserve sets the mc cookie to anonymously track user behaviour on the website.
test_cookie15 minutesThe test_cookie is set by doubleclick.net and is used to determine if the user's browser supports cookies.
VISITOR_INFO1_LIVE5 months 27 daysA cookie set by YouTube to measure bandwidth that determines whether the user gets the new or old player interface.
YSCsessionYSC cookie is set by Youtube and is used to track the views of embedded videos on Youtube pages.
yt-remote-connected-devicesneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt-remote-device-idneverYouTube sets this cookie to store the video preferences of the user using embedded YouTube video.
yt.innertube::nextIdneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
yt.innertube::requestsneverThis cookie, set by YouTube, registers a unique ID to store data on what videos from YouTube the user has seen.
__gpi1 year 24 daysGoogle Ads Service uses this cookie to collect information about from multiple websites for retargeting ads. For details of this cookie, go to Google's Privacy & Terms site
__qcaneverThe __qca cookie is associated with Quantcast. This anonymous data helps us to better understand users' needs and customize the website accordingly.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
CookieDurationDescription
DEVICE_INFO5 months 27 daysNo description
dp12 yearsNo description available.
nonsession2 yearsNo description available.
rtid14 years 10 months 2 days 1 hourDescription unavailable.
ssessionNo description
slimstat_tracking_code1 monthNo description available.
SAVE & ACCEPT
Powered by CookieYes Logo