Decoding the airspace above you with Java and $7 hardware - Bert Jan Schrijver

Post on 11-Jul-2015

165 views 2 download

Tags:

Transcript of Decoding the airspace above you with Java and $7 hardware - Bert Jan Schrijver

Decoding the airspace above you

with Java and $7 hardware

Bert Jan Schrijver bertjan@jpoint.nl

@bjschrijver

Outline• Background • Software Defined Radio • About ADS-B • Decoding ADS-B • Demo

@bjschrijver

TL;DR• Now -> planes & Java • Afterwards -> free beer (at the bar)

@bjschrijver

How it all started…

@bjschrijver

Software Defined Radio• Radio communication system • Components implemented in software • Cheap DVB-T with RTL2832U chip ($7) • Hence: RTL-SDR • Details on www.rtl-sdr.com

@bjschrijver

Software Defined Radio

@bjschrijver

Demo

@bjschrijver

So how about Java?

Java and RTL-SDR• RTL_TCP: Provides socket for RTL-SDR

device • Java can connect, set frequency and

stream data • Decode data signal in Java • First try: AIS (ship traffic) • First tries never succeed…

@bjschrijver

ADS-B• Automatic Dependent Surveillance

Broadcast • Monitoring and collision avoidance • Installed on all airliners • Reports identity, position and more • Part of US and EU regulation

@bjschrijver

ADS-B

@bjschrijver

Source: simflight.nl

Java and ADS-B• Java connects to RTL_TCP socket • But now what? • No open source Java decoders

available • No other option than to write own

decoder… or is there?

@bjschrijver

@bjschrijver

(insert legal notice here)

How stuff works

@bjschrijver

@bjschrijver

Demo! \o/

How stuff works

@bjschrijver

That’s cool, but…• In-house reception is sub-optimal • Always-on service would be nice • Laptop needed for work now and then

@bjschrijver

Getting serious

@bjschrijver

We love data• Keep system running for a while • Nicely stocked MongoDB • Now what? • Visualize it!

@bjschrijver

Antenna range

@bjschrijver

1 hour of data

@bjschrijver

2 hours

@bjschrijver

4 hours

@bjschrijver

8 hours

@bjschrijver

16 hours

@bjschrijver

@bjschrijver

That’s all!

@bjschrijver

Questions?

Please care about conference quality.

Thanks for your time!

Liked it? Tweet it!

@bjschrijver

bertjan@jpoint.nl