This is a quick post showing how to to get Realtime plane tracking working on Mac OSX. I decided to write this after I purchased this DVB-T dongle from Pimoroni.
They had several links to good tutorials showing how to get the DVB-T dongle to work as a Software-defined Radio (SDR). I used the one written by David Taylor of SatSignal.eu. The tutorials listed show you how to get this running on a RaspberryPi.
This was a fun project I wanted to do with my youngest son, so I wanted to check that it would work, and see how quick the process was as I wanted to keep him interested. So I used the steps below to get it working in secret first on my Mac running OSX High Sierra 10.13.4
Install Brew and then use it to install git
The rtl-sdr repo depends on the libusb-1.0-0-dev package but this isnt available on OSX, its closest equivalent is libusb-compat, so we need to install that instead.
git clone git://git.osmocom.org/rtl-sdr.git
brew install cmake
brew upgrade cmake
brew install libusb-compat
cmake ../ -DINSTALL_UDEV_RULES=ON
sudo make install
git clone git://github.com/MalcolmRobb/dump1090.git
Thats both the required repo’s sorted, so now we can run a quick terminal session based test to see if the dongle can pick up any realtime flight information about some of the planes passing overhead!
If you run dump1090 with the interactive switch you see a live updating table of everything that the DVB-T dongle is picking up through it aerial.
Or you can run it bound to your local machine, which will produce the following output in Terminal.
./dump1090 –net –net-bind-address 127.0.0.1
Once that is running you can open a browser on your Mac and point it to http://127.0.0.1:8080
Which should produce a nice page like this!
How awesome is that!
My son thoroughly enjoyed doing this on his RaspberryPi and looking at the planes moving around on the map, and its encouraged him to ask all sorts of questions about the World, Planes and Computing. Its simple but great project to get up and running, and a great way of teaching kids some basic geography.
You can look up each flight number by clicking on the flight number and then clicking on the FlightStats link will take you to a third party site with details of where the flight is going, etc.