Results 1 to 9 of 9

Thread: [FULL TUTORIAL] The €25,- Air Radar project (2016)

  1. #1
    Passenger
    Join Date
    May 2016
    Location
    The Netherlands
    Posts
    24

    Post [FULL TUTORIAL] The €25,- Air Radar project (2016)

    Dear flight fanatics,

    I've been working (or mostly ordering and waiting..) on a air/flight radar project for a while now. And I've come back with some great results, for an insane low amount of money! I've been able to hit planes up to 250KM above the North Sea. Let me share with you how and what I've done...

    IMG_20160529_202847_HDR.jpg IMG_20160529_202621_HDR.jpg Selection_051.png
    Raspberry Pi Zero setup with USB hub + ethernet and DVB-T USB receiver stick Little standard antenna that came with the DVB-T USB receiver stick Result of my personal LoS (Line of Sight) situation



    First, let's start with the hardware of the project. I'm running this all on a Raspberry Pi Zero (more), which has more than enough processing power to do all the decoding. My setup is running at max. 30% load for dump1090-mutability, and fr24feed isn't popping above 5% load. Let's sum it up:

    Item Cost Source
    Raspberry Pi Zero £4,00 (+ £4,00 shipping) ThePiHut.com (example)
    8GB Micro SD card €2,50 AliExpress.com (example)
    USB hub with ethernet €3,00 AliExpress.com (example)
    DVB-T USB receiver stick €7,00 AliExpress.com (example)
    Micro USB phone charger (min. 1A) (€1,00) laying arround



    After loading it with Raspbian Jessie Lite (2016-05-10-raspbian-jessie-lite.img), I SSH into it, and it went something like this:

    Raspi-config
    Code:
    sudo raspi-config
    • Expand filesystem
    • Reboot

    Code:
    sudo raspi-config
    • Set your hostname under advanced options
    • You could turn down the video memory split to 32 or 16, since the video chip doesn't need to do much
    • You could change the administrator password to your liking
    • Under localisation settings, change it to your correct settings
    • Reboot



    Update the system
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo reboot

    Install necessary programs
    Code:
    sudo apt-get install git-core
    sudo apt-get install git 
    sudo apt-get install cmake
    sudo apt-get install build-essential
    sudo apt-get install debhelper
    sudo apt-get install rtl-sdr
    sudo apt-get install librtlsdr-dev
    sudo apt-get install libusb-1.0-0-dev
    sudo apt-get install pkg-config
    sudo apt-get install fakeroot
    sudo apt-get install curl
    sudo apt-get install cron
    sudo reboot

    RTL-SDR drivers
    Code:
    git clone git://git.osmocom.org/rtl-sdr.git
    cd rtl-sdr
    mkdir build
    cd build
    cmake ../ -DINSTALL_UDEV_RULES=ON
    make
    sudo make install
    sudo ldconfig
    cd ~
    sudo cp ./rtl-sdr/rtl-sdr.rules /etc/udev/rules.d/
    sudo reboot
    Now you can connect your DVB-T USB receiver stick to the USB hub.


    Install mutability repository (for stable releases and updates)
    Code:
    wget https://github.com/mutability/mutability-repo/releases/download/v0.1.1/mutability-repo_0.1.1_armhf.deb
    sudo dpkg -i mutability-repo_0.1.1_armhf.deb
    sudo apt-get update

    Choices...
    From here on you have two choices, you can install the latest stable version of DUMP1090-mutability, or the latest developtment version from the github. I went with the latest.

    If you want the latest stable from the repository, do so like this:
    Code:
    sudo apt-get install dump1090-mutability
    sudo dpkg-reconfigure dump1090-mutability

    Build and install the latest development version of dump1090-mutability
    Code:
    git clone https://github.com/mutability/dump1090.git
    cd dump1090
    sudo dpkg-buildpackage -b
    cd ..
    sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb (check version!)
    sudo dpkg-reconfigure dump1090-mutability
    • You can basicly keep all the default settings, except for your location



    Install and activate external webserver (lighttpd)
    Code:
    sudo apt-get install lighttpd
    sudo lighty-enable-mod dump1090
    sudo /etc/init.d/lighttpd force-reload
    sudo reboot

    Wait, that's it?
    YUP! That's it. You should have a fully functional air/flight radar for under €25,-!

    Check it out, with the IP of your Raspberry Pi:
    Code:
    http://x.x.x.x/dump1090/


    How about FR24feeder?

    Code:
    wget http://repo.feed.flightradar24.com/rpi_binaries/fr24feed_1.0.18-5_armhf.deb (check version!)
    sudo dpkg -i fr24feed_1.0.18-5_armhf.deb (check version!)
    sudo fr24feed –-signup
    • Use auto detect to detect running instances of dump1090.
    • For everything else; you can basicly keep the default settings for everything, except for the closest airport.
    Last edited by HNJAMeindersma; 2016-05-29 at 18:57. Reason: Added pictures

  2. #2
    Passenger
    Join Date
    May 2016
    Location
    MMIO
    Posts
    43
    how do you connect your raspberry zero to internet?

  3. #3
    Passenger
    Join Date
    May 2016
    Location
    The Netherlands
    Posts
    24
    Quote Originally Posted by dedicados View Post
    how do you connect your raspberry zero to internet?
    Check out the "USB hub with ethernet" in the product overview. It's a micro USB hub with three USB 2.0 ports, and one 10/100 ethernet port.

  4. #4
    Passenger
    Join Date
    May 2016
    Location
    MMIO
    Posts
    43
    Quote Originally Posted by HNJAMeindersma View Post
    Check out the "USB hub with ethernet" in the product overview. It's a micro USB hub with three USB 2.0 ports, and one 10/100 ethernet port.
    you are right! i missed it =)

    s-l500.jpg

    at ebay i only see raspberry pi at 20 USD so bad

  5. #5
    Passenger
    Join Date
    May 2016
    Location
    The Netherlands
    Posts
    24
    Quote Originally Posted by dedicados View Post
    at ebay i only see raspberry pi at 20 USD so bad
    The Raspberry Pi Zero was announced as the $5 computer. You will actually pay this price, IF you buy it at the few official (online) stores. But because of demand you will need to wait until batches come available. You can sign up for a email reminders for when they come available. Note that you will need to buy them within 2 hours after receiving such an email.

    I highly advise against buying Raspberry Pi (Zero)'s from eBay. You'll pay 4 or 5 times as much, and in most cases the seller doesn't even fysical have the product. They just wait untill they come available and order them to your address.
    Last edited by HNJAMeindersma; 2016-05-29 at 16:47.

  6. #6
    Passenger
    Join Date
    Feb 2016
    Location
    Palembang Indonesia
    Posts
    7
    What all Dvb-t dongle support for so feeder fr24? I had a raspberry pi but no Dvb-t

    Sent from my SM-J200G using Tapatalk

  7. #7
    Passenger
    Join Date
    May 2016
    Location
    The Netherlands
    Posts
    24
    Quote Originally Posted by makkiahmad View Post
    What all Dvb-t dongle support for so feeder fr24? I had a raspberry pi but no Dvb-t

    Sent from my SM-J200G using Tapatalk
    As far as I know, all DVB-T RTL-SDR sticks are supported.

  8. #8
    Passenger
    Join Date
    Feb 2016
    Location
    Palembang Indonesia
    Posts
    7
    Quote Originally Posted by HNJAMeindersma View Post
    As far as I know, all DVB-T RTL-SDR sticks are supported.
    Ok thank you

    Sent from my SM-J200G using Tapatalk

  9. #9
    Passenger
    Join Date
    Mar 2016
    Posts
    14
    Quote Originally Posted by makkiahmad View Post
    What all Dvb-t dongle support for so feeder fr24? I had a raspberry pi but no Dvb-t

    Sent from my SM-J200G using Tapatalk
    Most RTL-SDR dongles work, but just make sure the tuner can receive 1090MHz. The R820T and R820T2 tuners work well for ADS-B.


    Sent from my iPad using Tapatalk

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •