Skip to content

Instantly share code, notes, and snippets.

@jrossmanjr
Last active May 21, 2020 04:07
Show Gist options
  • Save jrossmanjr/6e145f5b76da410b9288ca48c3f33582 to your computer and use it in GitHub Desktop.
Save jrossmanjr/6e145f5b76da410b9288ca48c3f33582 to your computer and use it in GitHub Desktop.
Install stuff for ADSB-Exchange and FR24
  1. Download the iso/img from ADSBexchange - https://adsbexchange.com/myip/downloads/adsbx_buster.1.0.zip?v=latest
  2. Download and install Balena Etcher to "burn" the image - https://www.balena.io/etcher/
  3. Insert your SD card into your computer and open Etcher to write the iso/img to the sd card
  4. Once complete remove and then re-insert your sd card into the computer so you can see the /boot drive
  5. Open the sd card in finder and edit adsb-config.txt located on the sd card
  6. Navigate to https://www.freemaptools.com/elevation-finder.htm and get your lat/long/altitude
  7. plug in your data like below --- be sure to add in your antenna height to the altitude you got from the site

////Sample 1090 single SDR adsb-config.txt:////

LATITUDE=13.366081
LONGITUDE=-121.694665
ALTITUDE=1050ft
USER="buster_adsbx"
DUMP1090=yes
GAIN=49.6
DUMP978=no
  1. Be sure to change the USER to a unique name for your Pi.
  2. Save adsb-config.txt to the sd card.
  3. Next open the wifi_supplicant.conf with a text editor and replace your wifi name and password -- leave the quotes!

////Sample wpa_supplicant.conf////

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
   ssid="WIFINETWORKNAME"
   psk="P@$$W0RD"
   proto=RSN
   key_mgmt=WPA-PSK
   pairwise=CCMP
   auth_alg=OPEN
}
  1. Save wifi_supplicant.conf to the sd card
  2. Eject the sd card
  3. Insert the sd card into the raspberry pi
  4. Plug in the SDR and then power on the pi by plugging it in
  5. While that is booting, open terminal and type -
  • ssh pi@raspberrypi.local
  • password: adsb123
  1. You should now be logged into your pi!
  2. Change your password - It will prompt you to type in the old password and then a new one twice
  • passwd
  1. Update your pi by typing -
  • sudo apt update && sudo apt upgrade -y
  1. The pi will now update itself - grab a drink...
  2. Once updated - open a browser on your computer and navigate to - http://raspberry.local
  3. Click the link for ADSBexchange Status and you should see two green faces!
  4. Back in your terminal window we will now install FlightRadar24's server
  5. Copy this bit of code into the prompt
  • sudo bash -c "$(wget -O - https://repo-feed.flightradar24.com/install_fr24_rpi.sh)"
  1. This will now install the software and set it's self up
  2. You will be asked to enter your email address, antenna position and other details
  3. When it detects another instance of dump1090 say that you want to use that now make a new one...
  4. After it completes - go to - https://www.flightradar24.com/account/data-sharing
  5. You should see your site listed on the page!

At this point it should be like a showtime rotisserie grill... just set it and forget it. You can go to http://raspberry.local and then check the map or your Grafana stats

  • Grafana login -- user: admin / pass: adsb123

Written with StackEdit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment