The document discusses a presentation about visualizing air traffic data using a Raspberry Pi and Oracle APEX. It includes an agenda for the presentation, details about assembling the necessary hardware and software components, loading and streaming air traffic data, and potential use cases for the data. The presentation also includes a live demo of visualizing air traffic data on a map.
2. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Agenda – Goal is “Think about IT”
q About Viscosity (briefly)
q Innovation & Disruption
q Growing Fast: IOT
q Air Traffic Control
q Components to Assemble
q Demo
q Giveaways (blatant bribes to stay!)
3. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Oracle Cloud Pocket Solutions Guide
Real-Life Cloud Solutions
Kindle version was created in Q4 2016
The Oracle Cloud Pocket Solutions Guide will evolve
with Oracle Cloud with new features and
changes will be reflected in the Kindle version
Text 12c to #444999 to win
Or email hello@viscosityna.com
4. #Kscope17 #orclBi @oracleCoffee @viscosityNA 4
Our Presentation Calendar
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
May 9-10 Cloud HOL Georgia Oracle Users Group Training Days Atlanta, GA
May 9-11 APEX Connect 2017 Berlin, Germany
May 17-18 Cloud HOL Great Lakes OUG Conference Cleveland, OH
June 25-29 ODTUG Kscope17 @ JW Marriot San Antonio, TX
June 29 Oracle Code - Mexico City Mexico City
Aug 24 Dallas Oracle UG (Oracle 12.2) Dallas, TX
Oct 1-5 Oracle OpenWorld (Cloud HOL, 12.2 PDB Case Study) Dallas, TX
Nov 8 Cloud HOL @Michigan OUG Chicago, IL
Jul 28 – Aug 9 OTN Latin America Tour South America
Aug 11– Aug 21 OTN Latin America Tour Central America
5. #Kscope17 #orclBi @oracleCoffee @viscosityNA
About Me
Austin, Texas
Engineer & Developer
Twitter @oraclecoffee
Oracle Apex Nerd
#letsWreckThisTogether
Co-author Oracle Cloud Solutions Guide
Co-founder Viscosity North America
Data Science Specialist JHU
Passion for the Red Grape
Private Pilot
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
13. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Each Day around 6,000 flights operate in UK Airspace
Air Traffic Control
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
14. #Kscope17 #orclBi @oracleCoffee @viscosityNA
What Happens when a Thunderstorm hits the World’s Largest Airport? (ATL)
Traffic and Weather Visualized from the ADS-B System at the Atlanta-Hartfield Airport
Traffic and Weather
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
15. #Kscope17 #orclBi @oracleCoffee @viscosityNA
What Happens when a Thunderstorm hits the World’s Largest Airport?
Traffic and Weather Visualized from the ADS-B System at the Atlanta-Hartfield Airport
The ADS-B Air Traffic Control System
16. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Assembling the Software
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
http://stratux.me
https://github.com/cyoung/stratux
https://www.eaa.org/en/eaa/eaa-news-and-aviation-news/bits-and-pieces-newsletter/06-14-2016-stratux-ads-b-weather-and-traffic
Chris Young
17. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Software: dump1090
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
https://github.com/antirez/dump1090
Radio decoder (mode S) designed for software defined radios.
Decodes either 1090mhz (newer) or 978mhz (dump978)
19. #Kscope17 #orclBi @oracleCoffee @viscosityNA 1
9
Endpoint
Managemen
t
Message delivery &
Event Cache
Stream
Processing
Device
Software
Managemen
t
Event and
Metadata
Store
Device with
IoT Cloud
Service
Gateway
software
Mobile app
using IoT
Cloud Service
SDK
Device integrated
with IoT Cloud
Service Client
Libraries
2G/3G/LTE
Network
WWAN
Oracle
Integration
Cloud
Service
Oracle Business
Intelligence
Cloud Service
Firewall
IoT Cloud Service
Gateway & Client
Libraries
Othe
r
Devic
es
Other
Cloud
Services
IoT Cloud Service
Event
Dispatcher Database-as-
a-Service
Custom
Application
Charging
and Billing
CRM / OM /
SFA
ERP
• Financi
als
• SCM
• HCM
Industry
Vertical
Applicatio
ns
Field
Service
Enterprise
Cloud or On Premise
Oracle IOT Cloud Service
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
20. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Raspberry Pi 3
1090 Mhz Radio & Antenna
978 Mhz Radio & Antenna
Micro SD Memory Card
Battery
Miscellaneous Cables
The Components
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
21. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Raspberry Pi 3
1090 Mhz Radio & Antenna
978 Mhz Radio & Antenna
Micro SD Memory Card
Battery
Miscellaneous Cables
Install Heat Syncs
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
33. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Switching from Batch to Streams
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
More Timely Access to Data
Lower Latency
Scale Up, Scale Down, Scale Out
Massive Unbounded Data Sets
“Never-Ending Volumes of Data”
Spread Workload evenly over time
34. #Kscope17 #orclBi @oracleCoffee @viscosityNA 3
4
Kafka Producer & Consumers
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A P E X
Consumer
sudo kafka-avro-console-consumer --topic FL_LOCATIONS
--zookeeper localhost:2181
--from-beginning
Producer
sudo kafka-avro-console-producer --broker-list localhost:9092
--topic FL_LOCATIONS
--property value.schema='{"type":"record","name":"FlightLocations”
…
{"name":"BEARING","type":"float"},{"name":"DISTANCE","type":"float"}]}’
Message Sample
{"ICAO_ADDR":5046538,"REG":"","TAIL":"CLX661","EMITTER_CATEGORY":0,"ON_GROUND":fal
se,"ADDR_TYPE":0,"TARGET_TYPE":1,"SIGNAL_LEVEL":-
19.374932247913172,"SQUAWK":3265,"POSITION_VALID":true,"LAT":30.331055,"LNG":-98
.36022,"ALT":32675,"GNSS_DIFF_FROM_BARO_ALT":2125,"ALTIS_GNSS":false,"NIC":7,"NACP
":8,"TRACK":7,"SPEED":491,"SPEED_VALID":true,"VVEL":-
4352,"PRIORITY_STATUS":0,"AGE":0.9900000000000001,"AGE_LAST_ALT":0.28,"LAST_GNSS_D
IFF_ALT":32700,"LAST_SOURCE":1,"EXTRAPOLATED_POSITION":false,"BEARING":277.8393809
259007,"DISTANCE":30473.893915820558}
35. #Kscope17 #orclBi @oracleCoffee @viscosityNA 3
5
Kafka Producer & Consumers
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A P E X
Kafka Connect Configuration
cat config/sink-ft-locations-oracle-jdbc.properties
name=sink-test
connector.class=io.confluent.connect.jdbc.JdbcSinkConnector
tasks.max=1
topics=FL_LOCATIONS
connection.url=jdbc:oracle:thin:@52.89.209.222:1521/ORCLPDB1
connection.user=iot
connection.password=XXX
table.name.format=${topic}
auto.create=true
Kafka Connect
connect-standalone
/etc/schema-registry/connect-avro-standalone.properties
/home/opc/config/sink-ft-locations-oracle-jdbc.properties
38. #Kscope17 #orclBi @oracleCoffee @viscosityNA 3
8
Any Useful Use Cases?
V i s u a l i z i n g A i r T r a f f i c D a t a w i t h R a s p b e r r y P I a n d A p e x
“Bud Fox, what on earth is Larry
Wildman doing in Erie Pennsylvania?
… he’s buying Anacott Steel”
Competitor Surveillance
Flightaware in Houston Texas
has done this
Crowd Source Worldwide
Tracking System
Obviously?
Collision Avoidance
Shop floor management,
industrial control.
Dedicated Control
Levy taxes against rich people
in your county (don’t do this
please)
The Tax Man
As the plane arrives what
events do I need to set in
place?
Event Coordination
Integral Part of our
transportation system
Air Traffic Control Where in the world is carmen
sandiego?
Fleet Tracking
Look up at the sky and ask
where that plane is going?
Curiosity
Unused or Often Used
Airplanes have different values
Asset Valuation
The Griffin IOT Toaster?
41. #Kscope17 #orclBi @oracleCoffee @viscosityNA
Oracle Cloud Pocket Solutions Guide
Real-Life Cloud Solutions
Kindle version was created in Q4 2016
The Oracle Cloud Pocket Solutions Guide will evolve
with Oracle Cloud with new features and
changes will be reflected in the Kindle version
Text 12c to #444999 to win
Or email hello@viscosityna.com