We don’t know art, but we know what we like. And this gizmo by [Johan Kanflo] is right up our alley.
First, [Johan] gutted an old Macintosh Classic computer and stuffed a Raspberry Pi inside. Now this is not really a new idea, but [Johan] did a very nice job with the monitor and his attention to detail shows in the rebuilt floppy-drive eject mechanism. He gives it back that characteristic “schlurp” noise.
Then he outfitted the Raspberry Pi with an RTL dongle running dump1090 software to listen to the ADS-B radio signals. The data extracted from the SDR is piped off to an MQTT server with all sorts of data about the airplanes overhead. Another script subscribes to the MQTT topic and figures out which is the closest and runs an image search for the plane type in question, publishing the results back to another MQTT topic. One final script subscribes to this last topic and displays the relevant images on the screen. Pshwew!
The end result is a Macintosh Classic that’s continually updated with whatever planes are closest to being overhead. We’re not at all sure if this is fine art, or part of the useful arts, or maybe even none of the above. But we really like the nice case job and think that using MQTT as a back-end for coordinating multiple concurrent Python scripts (on the same computer) is pretty cool.
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.
Obviously Software Defined Radio is pretty cool. For a lot of hackers you just need the right project to get you into it. Submitted for your approval is just that project. [Simon Aubury] has been using a Raspberry Pi and SDR to record video of planes passing overhead. The components are cheap and most places have planes passing by; this just might be the perfect project.
We’re not just talking static frames with planes passing through them, oh no. Simon used two hobby servos and some brackets to gimbal his Pi camera board. A DVB dongle allows the rig to listen in on the Automatic Dependent Surveillance Broadcast (ADS-B) coming from the planes. This system is mandated for most commercial aircraft (deadlines for implementation vary). ADS-B consists of positioning data being broadcast from planes using known frequencies and protocols. Once [Simon] locks onto this data he can accomplish a lot, like keeping the plane in the center of the video, establishing which flight is being recorded, and automatically uploading the footage. With such a marvelously executed build we’re certain we will see more people giving it a try.
[Simon] did a great job with the writeup too. Not only did he include a tl;dr, but drilled down through a project summary and right to the gritty details. Well done documentation is itself worth celebrating!
Continue reading “Keep Tabs On Passing Jets With Pi And SDR”
For the sufficiently geeky aviation nerd there’s FlightAware, a website that tracks just about every airliner and most private planes currently in flight. The folks at FlightAware compile all the information with the help of a few thousand volunteers around the world that have a bit of hardware to listen to ADS-B transmissions and relay them to the FlightAware servers. Now you can do this with a Raspberry Pi, and as a nice little bonus FlightAware is giving away free enterprise accounts to anyone who does.
Listening in on ADS-B transponders is something Raspberry Pis have been doing for a while, but doing anything useful with the altitude, speed, heading, and registry numbers of various planes flying overhead is pretty much FlightAware’s only reason for existing, and the reason they’ve developed an easy to use software package for the Pi.
Setting everything up requires getting dump1090 running on the Pi, the only hardware required being an RTL-SDR USB TV tuner, a GPS module, and an antenna for 1090 MHz. From there, just send all the data to FlightAware and you get a free enterprise account with them. Not a bad deal for the aviation nerds out there.
Last year’s big hack was software-defined radio; a small USB TV tuner that could listen in on radio broadcasts anywhere between 64 and 1200 MHz. This year, it’s all about the Raspberry Pi, so it’s surprising we’re only just now seeing a mashup of these two pieces of hardware. [Corq] is using a Raspi and RTLSDR TV tuner to listen in on aircraft transponders, and getting a whole bunch of data from aircraft flying overhead.
Even though the ADS-B decoder [Corq] is using is written for OS X, he’s reading the data coming from the USB TV tuner over the network with a program called Dump1090. This program allows [Corq] to attach his SDR to a Raspbery Pi and put it somewhere the antenna will get good reception – an attic, or an outdoor weatherproof case – and stream data to his desktop over a WiFi or network connection.
With a USB TV tuner and a Raspberry Pi, [Corq] is able read the tail numbers, altitude, latitude, longitude, speed, heading, and even the type of aircraft currently flying over his house. That’s cool enough, but the fact that he can effectively do this over the Internet makes it a brilliant hardware mashup.
Early last year, [Edward] started work on an aircraft tracking system using components from old electronics he had sitting around the house. As you may or may not know, most modern aircraft continuously broadcast their current position over the 1090MHz band using the ADS-B protocol. [Edward] found that his old satellite receiver module was able to pick up the signals without too much trouble, and was more than happy to share how he did it.
The whole project cost him just under 5 Euros and requires the aforementioned satellite tuner as well as an ATMega48 microcontroller to decode the ADS-B messages. When the receiver is hooked up to a nice aerial and preamp he can listen in on planes within a 200km radius, but even with a simple piece of wire, he can locate aircraft up to 25 km away.
Raw ADS-B data isn’t terribly useful, so [Edward] put together a small application that plots nearby aircraft on a map for him. We imagine that it wouldn’t be too incredibly difficult to do the same sort of thing with the Google Maps API as well.
If you’re interested in putting together an aircraft tracking receiver of your own, be sure to swing by his site – he has a ton of useful information that will likely be a huge help along the way.