ADSBx Custom Pi Image


Power Supply

The cost of a Pi 4B is typically less than the current cost of a Pi 3B+.

Power supply issues are common when using a Pi based receivers and SDR. The Pi 3B+ requires a good 5V 2.5A power supply. The Pi 4B requires 5.1V 3.5A power supply. Clean power is important in maintaining a stable decode.

Official Pi 4 Power Supply: https://amzn.to/2SWFcez

Canakit Pi 4B power supply: https://amzn.to/2WvVAFX

We can’t express enough how important enough power for the Pi SDR combo is, many of the issues feeders have are due to poor power supplies creating under volt or under current anomalies with the Pi.

Antenna & SDR

ADSBx 1090/978 Custom dual band antenna is available on Amazon and ADSBx store.

ADSBx Store: https://bit.ly/33yItFH

Amazon (free shipping with Prime): https://amzn.to/34AI5Hy

Cable

SMA to N-Type Male: https://amzn.to/2GJBBOH

Using good quality cable is important in optimizing range and decoding of ADS-B signals. Short runs of 3-5 feet / 1-2 meters can use RG-58 or other ‘poor’ cable. Runs of 10 feet / 3 meters or more require and low loss equivalent cable designed for high frequency.

Do not underestimate the loss from poor cable and connections.

*Before you start you will need your Location (Lat/Lon) to 5 decimal points and your Antenna Elevation, if you don’t know this already you can use THIS WEBSITE to get it. *Remember the website gives ground elevation so you will need to add your antenna’s height to that.

Image Download

https://adsbexchange.com/myip/downloads/adsbx_buster.1.0.zip
md5sum (zip): 46ebb47248f3bccc0cf4dcdf1b70a167
latest: 1.0.6 Sept 8th 2020

To find your latitude, longitude, and altitude for adsb-config.txt, go to https://www.mapcoordinates.net/en.

Be sure to add in the height above ground of the antenna install to the altitude.

To test your feeder is working correctly after setup go to https://www.adsbexchange.com/myip/ and look for 2 green smiles!

Links to the map and dashboard can be found by putting IP assigned to your Pi by your LAN network in a web browser.

Initial Configuration

Edit adsb-config.txt located on the sd card after burning image file.

Sample 1090 single SDR adsb-config.txt:

 LATITUDE=34.495594
 LONGITUDE=-41.782331
 ALTITUDE=1050ft
 USER="buster_adsbx"
 DUMP1090=yes
 GAIN=49.6
 DUMP978=no
 ZEROTIER=no

Edit the file with your information and altitude of antenna in MSL. Use notepad or basic text editor.

DO NOT USE MAGIC QUOTES.

DO NOT CHANGE FORMAT.

Be sure to change the USER to a unique name for your Pi.

Save adsb-config.txt to the sd card.

See next section for wireless setup.

Wifi Setup

ADSBx image uses default Raspbian setup for Wifi.

Once an image is created on an SD card, by inserting it into a card reader on a Linux or Windows machines the boot folder can be accessed. Adding certain files to this folder will activate certain setup features on the first boot of the Pi itself.

Before you power on the device you need to edit the wpa_supplicant.conf with your SSID and password located on the sd card.

After editing wpa_supplicant.conf, you can plug everything in and power the Pi.

At any time you can place a new wpa_supplicant.conf on /boot to update Wifi.

Raspbian Buster Lite guide can be found here.

Login Info

SSH access is enabled and runs on port 22 or you may hook up a monitor and keyboard to log in locally..

Default user: pi
Default password: adsb123

978 for US based 2 SDR receivers

You only need to do this if you have more than one SDR on the device.

Set serials of each SDR one at a time, plug in, run the appropriate command, then unplug and run the appropriate command for the other SDR.

Example commands
sudo rtl_eeprom -d 0 -s 1090
sudo rtl_eeprom -d 0 -s 978

Then edit /boot/adsbx-env

RECEIVER_OPTIONS=”–device 1090 –device-type rtlsdr –ppm 0″
#RECEIVER_OPTIONS=”–device-type rtlsdr –ppm 0″

* Pi Zero W users ONLY

After booting the pi Zero W you will need to run the following commands for Grafana and Prometheus to work.

sudo apt remove grafana
sudo apt install grafana-rpi
sudo apt remove prometheus
sudo apt install prometheus

Grafana Dashboard Login

admin
adsb123

Display ADSBx config

cat /boot/adsb-config.txt

Restart readsb service

sudo systemctl restart readsb

Show readsb status

sudo systemctl status readsb

ZeroTier service

sudo systemctl disable --now zerotier-one
sudo systemctl enable zerotier-one
sudo systemctl status zerotier-one

Start Feeder Services

sudo systemctl start adsbexchange-mlat
sudo systemctl start adsbexchange-feed

Restart Feeder Service

sudo systemctl restart adsbexchange-feed
sudo systemctl restart adsbexchange-mlat

Show Feeder Service

sudo systemctl status adsbexchange-mlat
sudo systemctl status adsbexchange-feed

Technical Info (aka, stuff you probably don’t even need to know)

  • All MLAT participants will receive a back-feed of any aircraft where their data was used in the calculations.
  • A list of the software on the image can be seen HERE

Reporting Issues

Feel free to report any issues you encounter with this script using the forum or contact ADSBx here.

NEED HELP? Join our Discord Chat.

That’s it, your traffic should now appear on the Global Radar Page.