Skip to content

SDR – ADS-B Decoding: dump1090 (Linux/OSX)

by on September 25, 2013

dump1090-interactive

Previously, I covered RTL1090 to observe ADS-B signals on the Microsoft Windows Operating System. In this post post I will walk you through the simple operation of the Linux & OSX equivalent dump1090.  This Open-Source package performs just as good as its Windows counterpart, maybe even better as no additional mapping software is necessary.

Source Code

git clone https://github.com/antirez/dump1090.git

Complication

You’ll need a compiler and make-tools (on OSX this means access to the developer environment and Xcode), to compile the source.
$ cd dump1090
$ make

Operation

Default Options:
$ ./dump1090 -h
Unknown or not enough arguments for option '-h'.
--device-index Select RTL device (default: 0).
--gain Set gain (default: max gain. Use -100 for auto-gain).
--enable-agc Enable the Automatic Gain Control (default: off).
--freq Set frequency (default: 1090 Mhz).
--ifile Read data from file (use '-' for stdin).
--interactive Interactive mode refreshing data on screen.
--interactive-rows Max number of rows in interactive mode (default: 15).
--interactive-ttl Remove from list if idle for (default: 60).
--raw Show only messages hex values.
--net Enable networking.
--net-only Enable just networking, no RTL device or file used.
--net-ro-port TCP listening port for raw output (default: 30002).
--net-ri-port TCP listening port for raw input (default: 30001).
--net-http-port HTTP server port (default: 8080).
--net-sbs-port TCP listening port for BaseStation format output (default: 30003).
--no-fix Disable single-bits error correction using CRC.
--no-crc-check Disable messages with broken CRC (discouraged).
--aggressive More CPU for more messages (two bits fixes, ...).
--stats With --ifile print stats at exit. No other output.
--onlyaddr Show only ICAO addresses (testing purposes).
--metric Use metric units (meters, km/h, ...).
--snip Strip IQ file removing samples < level.
--debug Debug mode (verbose), see README for details.
--help Show this help.
Debug mode flags: d = Log frames decoded with errors
D = Log frames decoded with zero errors
c = Log frames with bad CRC
C = Log frames with good CRC
p = Log frames with bad preamble
n = Log network debugging info
j = Log frames to frames.js, loadable by debug.html.

Simple execution/dump : $ ./dump1090
Which will dump decoded ADS-B receptions:
dump1090-console
For a live feed use:
./dump1090 --interactive

dump1090
Or more interestingly to start a webservice that will utilise Google-Maps, and draw simple arrows to represent planes (if you cant afford a PlanePlotter licenses):
./dump1090 --enable-agc --aggressive --net --net-http-port 8080
Then open up your web-browser to http://127.0.0.1:8080 to view the air-traffic…

dump1090-map

dump1090-map2

Other Links

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 126 other followers

%d bloggers like this: