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

20
Decoding the airspace above you with Java and $7 hardware Bert Jan Schrijver [email protected] @bjschrijver

description

Devoxx Ignite 2014 session

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

Page 1: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Decoding the airspace above you

with Java and $7 hardware

Bert Jan Schrijver [email protected]

@bjschrijver

Page 2: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

How it all started…

@bjschrijver

Page 3: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Software Defined Radio• Radio communication system • Components implemented in software

@bjschrijver

Page 4: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

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

@bjschrijver

Page 5: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

@bjschrijver

Amateur radio

Page 6: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

@bjschrijver

Wireless mic

Page 7: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

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

@bjschrijver

Page 8: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

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

Page 9: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

ADS-B

@bjschrijver

Source: simflight.nl

Page 10: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

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

available

@bjschrijver

Page 11: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Java and ADS-B• So what are our options? • Use C implementation • Write own decoder • …

@bjschrijver

Page 12: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

How stuff works

@bjschrijver

Page 13: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

How stuff works

@bjschrijver

Page 14: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Mini-demo

@bjschrijver

Page 15: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

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

@bjschrijver

Page 16: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Getting serious

@bjschrijver

Page 17: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Antenna range

@bjschrijver

Page 18: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

8 hours of flight data

@bjschrijver

Page 19: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

16 hours

@bjschrijver

Page 20: Decoding the airspace above you with Java and $7 hardware by Bert Jan Schrijver

Liked it? Tweet it!

@bjschrijver

[email protected]

github.com/bertjan