element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Blog SDR and SBC: Cheap thrills with radio waves
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 7 Apr 2014 2:56 AM Date Created
  • Views 4140 views
  • Likes 3 likes
  • Comments 11 comments
  • realtek
  • beaglebone_black
  • open_source
  • sbc
  • single_board_computer
  • software_defined_radio
  • rtlsdr
  • usb
  • bbb
  • BeagleBone
  • sdr
  • bb_black
  • adafruit
  • rtl-sdr
Related
Recommended

SDR and SBC: Cheap thrills with radio waves

fustini
fustini
7 Apr 2014

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I recently gave a presentation on Software Defined Radio (SDR) at my hackerspace in Chicago, Pumping Station: One.  I've attached the slides to this blog post for reference.  After the talk, someone told me they had seen a program that maps out airplanes flying in one's area based on data received via Automatic dependent surveillance-broadcast (ADS-B) on 1090 MHz.   After a search, I found dump1090 which works with cheap DVB-T USB sticks with certain Realtek chipsets thanks to the rtl-sdr library

 

dump1090 by Salvatore Sanfilippo

https://github.com/antirez/dump1090

a simple Mode S decoder for RTLSDR devices


Here is how I built rtl-sdr on BeagleBone Black which is running Angstrom on eMMC:

opkg update

opkg install libusb-1.0-dev

git clone git://git.osmocom.org/rtl-sdr.git

 

I have further details of installation process in this GitHub Gist:

https://gist.github.com/pdp7/5503462

 

After installing, test if the USB adapter is recognized:

root@beaglebone:~# rtl_eeprom

Found 1 device(s):

0: Generic RTL2832U OEM

Using device 0: Generic RTL2832U

OEM

Found Rafael Micro R820T tuner

 

Here is how I installed dump1090:

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

cd dump1090/

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ 

make

 

Next edit the html for the web interface so that your location is displayed on the map:

vi gmap.html

 

To the program:

export LD_LIBRARY_PATH="/usr/local/lib/:${LD_LIBRARY_PATH}"

./dump1090 --interactive --net

 

You will then see ADS-B data start to fill the screen assuming you are nearby any flights.  I live in Chicago near O'Hare so I see a lot of traffic:

image

 

dump1090 also runs a web server on port 8080 which displays the flights atop Google Maps:

image

 

You can find out more details for each individual flight from websites like http://flightradar24.com/:

image

 

Here is a video of my setup in action:

 

Watching airplanes with Adafruit SDR on BeagleBone

https://www.youtube.com/watch?v=l65sBZ25be4



Cheers,

Drew

http://twitter.com/pdp7

Attachments:
imagenerp-sdr-20140331.pdf
  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 11 years ago +2
    I couldn't wait too long to try this out. I did it on debian, following your instructions, it was very smooth. Just a few changes compared to Angstrom. This was what I typed: apt-get install libusb-1.0…
  • shabaz
    shabaz over 11 years ago +1
    Hi Drew, Great video, it really made it clear how this works! Impressive how well it works, and how quickly the data started to fill up. - I'm looking forward to trying it now.
  • Former Member
    Former Member over 11 years ago in reply to shabaz +1
    shabaz wrote: EDIT: just saw a few more, approaching 1am, but these aircraft refused to supply lattitude/longitude - possibly cargo planes I guess. I know there are all sorts of good reasons to broadcast…
  • clem57
    clem57 over 10 years ago in reply to shabaz

    Agree with shabaz. In the US cell phone communications are verboten (except for NSA!)image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to Former Member

    Hi Tinashe,

     

    You (generally) don't need a license for this, primarily because you are receiving, not transmitting.

     

    However, note that in some countries it is illegal to have equipment that can receive certain frequencies. (I'm not saying it will be easy to enforce, but nevertheless the legality is an issue in some countries).

     

    So, you may need to check your country legislation.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Hi Drew, did you have a radio license for you to produce this prototype? An interesting project it is. Don't you think this is another way of tracking systems other than airplanes? What was the maximum radius your system could operate in?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago in reply to fustini

    Interesting wikipedia article Drew, the 'System Design considerations' acknowledges the problems as well as one I didn't think about - the ease of causing chaos by someone broadcasting a spoofed signal.

    Reading the article certainly gives the impression that it came about post 9/11, which makes it all the more surprising that seemingly little or no thought was given to security aspects.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fustini
    fustini over 11 years ago in reply to shabaz

    I think ADS-B is real-time. Looking at Flightradar24.com - Live flight tracker!, it shows FAA data is delayed 5 minutes but ADS-B appears to be real-time.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube