Tracking Nearly Every Aircraft With A Raspberry Pi

FlightAware is the premier site for live, real-time tracking of aircraft around the world, and for the last year or so, Raspberry Pi owners have been contributing to the FlightAware network by detecting aircraft flying overhead and sending that data to the FlightAware servers.

Until now, these volunteers have used Raspis and software defined radio modules to listen in on ADS-B messages transmitted from aircraft. With FlightAware’s new update to PiAware, their Raspberry Pi flight tracking software, Mode S transponders can also be detected and added to the FlightAware network.

Last year, FlightAware announced anyone with a Raspberry Pi, a software defined radio module, and an Internet connection would earn a free FlightAware enterprise account for listening to ADS-B transmitters flying overhead and sending that information to the FlightAware servers. ADS-B is a relatively new requirement for aviators that transmits the plane’s identification, GPS coordinates, altitude, and speed to controllers and anyone else who would like to know who’s flying overhead.

Mode S transponders, on the other hand, are older technology that simply transmits the call sign of an aircraft. There’s no GPS information or altitude information transmitted, but through some clever multilateration in the new PiAware release these transponders and planes can now be tracked.

To get the location of these transponders, at least three other PiAware boxes must receive a signal from a Mode S transponder. These signals, along with a timestamp of when they were received are then sent to the FlightAware servers where the location of a transponder can be determined.

The end result of this update is that FlightAware can now track twice as many aircraft around the world, all with a simple software update. It’s one of the most successful applications of crowdsourced software defined radio modules, and if you’d like to get in on the action, the FlightAware team put together a bulk order of ADS-B antennas.

19 thoughts on “Tracking Nearly Every Aircraft With A Raspberry Pi

    1. First of all, in many countries listening in on emergency services is illegal. Second, the systems used differs widely, and are thus on many different bands all over the world. TETRA here in Western Europe mainly uses 300-400 MHz
      This antenna is specifically made for 1090 MHz (ADSB) with a 5dB gain. It will be horrible for anything else.

    2. You are probably going to want either something in the 150-176 range, 450 range, or ~800 range for various police systems, provided you are in the US. Not sure about our OZ or EU friends.

      You might have trouble listening in unless you are in a rural area due to Digital or Scramble Analog transmissions. Digital like P25 is getting common and our local Sheriff in podunka Nebraska where I live uses it. WIthout the key you are not going to be able to listen in. Scramble Analog is no big deal. Many scanner now support it so unless you have an older radio (or don’t have the plugin for an SDR receiver) you can listen in.

      Otherwise check state and federal rules for legality of the behavior and good luck if the are digital.

  1. So it looks like they have you set the location of the antenna / receiver via a manual process. Wonder why they dont have you use a GPS receiver so that you can also ensure that the times of all of the RPis are all synced for better triangulation abilities. A cheap receiver, mag patch antenna, and GPSD+Chrony would ensure some very precise timings.

    1. I’d think they could get a pretty accurate receiver location by just looking at the centroid of the received plane co-ordinates. May need to correct for local terrain, but you could maybe even do some of that from altitude

    2. They don’t use triangulation, ADS-B transmits the location AFAIK, the whole idea is to be safe and not have collisions.

      And a stationary receiver doesn’t need a GPS receiver. And since the Raspi is connected to the internet it can sync its clocks with any old NTP server, of which most are based on atomic clocks, like the one at NIST (National Institute of Standards and Technology).

      It might be more interesting to couple it with some other sensors like outside temperature or air pressure, or to combine it with the lightning strike detector receiver system, or if you want to go even more expensive, a network of radiation detectors is also handy, since it’s well established the governments WILL lie if there is a radiation leak anywhere. And it would be both informative and scientifically interesting.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.