SlideShare a Scribd company logo
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
So how about Java? 
@bjschrijver
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
(insert legal notice here) 
@bjschrijver
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?
Thanks for your time! 
Please care about 
conference quality.
Liked it? 
Tweet it! 
@bjschrijver 
bertjan@jpoint.nl

More Related Content

PDF
Devoxx 2014: Decoding the airspace above you with Java and $7 hardware (ignit...
PDF
OpenValue meetup February 2019 - Decoding the air around you with Java and $7...
PDF
Decoding the airspace above you 
with Java and $7 hardware by Bert Jan Schrijver
PDF
Devoxx UK 2015 - Decoding the air around you with java and $7 hardware
PDF
JavaLand 2016 - Decoding the air around you with Java and $7 hardware
PDF
JavaLand 2016: Continuous performance
PPTX
Kill the mutants and test your tests - Roy van Rijn
PPTX
Reactieve applicaties allard buijze
Devoxx 2014: Decoding the airspace above you with Java and $7 hardware (ignit...
OpenValue meetup February 2019 - Decoding the air around you with Java and $7...
Decoding the airspace above you 
with Java and $7 hardware by Bert Jan Schrijver
Devoxx UK 2015 - Decoding the air around you with java and $7 hardware
JavaLand 2016 - Decoding the air around you with Java and $7 hardware
JavaLand 2016: Continuous performance
Kill the mutants and test your tests - Roy van Rijn
Reactieve applicaties allard buijze

Viewers also liked (16)

PPTX
Web-scale op basis van Hadoop en Akka Reactive Streams - Johan Tillema, Rene ...
PDF
Ing presentatie j fall 2013 nijkerk amir arooni
PPTX
On the integrity of data in Java Applications
PDF
Workshop spring boot presentatie - Atos
PDF
Cultivating the jenkins job jungle with groovy - Patrick van Dissel
PDF
J fall 2013 - Hands-on lab 'effectief automatisch testen met cucumber'
PPT
How to get more kids to code
PPTX
Speedy perception trumps speedy reception–smart asynchronous interactions - L...
PPTX
Scratching the Surface with JavaFX
PPTX
Using Docker to Develop, Test and Run Maven Projects - Wouter Danes
PPTX
Gebruik dezelfde Docker container voor Java applicaties tijdens ontwikkelen e...
PDF
Real-World Scala Design Patterns
PDF
Shootout! template engines on the jvm
PDF
Opening J-Fall 2013
PPTX
Ringkasan perkuliahan semester 1 pengantar ilmu pertanian (bagian 1)
PDF
Akka in Practice: Designing Actor-based Applications
Web-scale op basis van Hadoop en Akka Reactive Streams - Johan Tillema, Rene ...
Ing presentatie j fall 2013 nijkerk amir arooni
On the integrity of data in Java Applications
Workshop spring boot presentatie - Atos
Cultivating the jenkins job jungle with groovy - Patrick van Dissel
J fall 2013 - Hands-on lab 'effectief automatisch testen met cucumber'
How to get more kids to code
Speedy perception trumps speedy reception–smart asynchronous interactions - L...
Scratching the Surface with JavaFX
Using Docker to Develop, Test and Run Maven Projects - Wouter Danes
Gebruik dezelfde Docker container voor Java applicaties tijdens ontwikkelen e...
Real-World Scala Design Patterns
Shootout! template engines on the jvm
Opening J-Fall 2013
Ringkasan perkuliahan semester 1 pengantar ilmu pertanian (bagian 1)
Akka in Practice: Designing Actor-based Applications
Ad

More from NLJUG (20)

PPTX
The future of Web-Scale - Johan Tillema, Rene Boere & Chris Quach
PDF
Real-time user interfaces - sosm gewoon makkelijker - Allard Buijze
PPTX
The end of traditional enterprise IT - ING's journey to the next generation I...
PDF
Performance van Java 8 en verder - Jeroen Borgers
PDF
Introduction to Reactive with Play and Akka - Markus Jura
PDF
Workshop angular dart presentatie - Atos
PDF
Rethink your architecture - Marten Deinum
PPTX
Evolutionary Algorithms: the key to solving complex Java puzzles! - Bas knopper
PDF
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
PDF
Apache Wicket: 10 jaar en verder - Martijn Dashorst
PDF
Opening - Bert Ertman
PDF
Returning the right results - Jettro Coenradie
PDF
Reactive programming met Java 8 en Java EE 7 - Martijn Blankestijn
PDF
Event-sourced architectures with Akka - Sander Mak
PPTX
Setting up a mini big data architecture, just for you! - Bas Geerdink
PDF
A Storm of Drones - Dennis Vredeveld
PPTX
ING : How top quality software and state-of-the-art technology leads to conti...
PDF
Data Science with R for Java Developers
PDF
Modular JavaScript
PDF
JVM bytecode engineering 101
The future of Web-Scale - Johan Tillema, Rene Boere & Chris Quach
Real-time user interfaces - sosm gewoon makkelijker - Allard Buijze
The end of traditional enterprise IT - ING's journey to the next generation I...
Performance van Java 8 en verder - Jeroen Borgers
Introduction to Reactive with Play and Akka - Markus Jura
Workshop angular dart presentatie - Atos
Rethink your architecture - Marten Deinum
Evolutionary Algorithms: the key to solving complex Java puzzles! - Bas knopper
Modularity and Domain Driven Design; a killer Combination? - Tom de Wolf & St...
Apache Wicket: 10 jaar en verder - Martijn Dashorst
Opening - Bert Ertman
Returning the right results - Jettro Coenradie
Reactive programming met Java 8 en Java EE 7 - Martijn Blankestijn
Event-sourced architectures with Akka - Sander Mak
Setting up a mini big data architecture, just for you! - Bas Geerdink
A Storm of Drones - Dennis Vredeveld
ING : How top quality software and state-of-the-art technology leads to conti...
Data Science with R for Java Developers
Modular JavaScript
JVM bytecode engineering 101
Ad

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