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.

3D printed Pi 4 case

3D printer STLs (exported from FreeCAD)

Pi 4 case lid

Pi 4 Single Fan Case

Pi 4 dual SDR case

Power Supply

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 under volt or under current the Pi.

SDR Hardware

Use a RTL-SDR.

RTL-SDR w/ bias-t https://amzn.to/2J6wRQN

Added filter: 1090 LNA powerd by bias-t https://amzn.to/2J60W2I

Or FA sticks.

1090 ProStick https://amzn.to/2xgYILy

978 SDR https://amzn.to/3a3XAcx

Antenna

ADSBx 1090/978 Custom 26″ / 66 cm antenna https://bit.ly/33yItFH

Cable

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.

Custom Cooled Case

ADSBx designed a custom case that takes a 30 mm fan and mounts the Pi and SDR in the airflow, STL and a link to purchase the case are below.

https://github.com/adsbxchange/pi-4-feeder-case

ADSBx Custom Case 1090 ADS-B and 978 UAT

ADSBexchange.com Custom Image – Compatible with Pi 3B, Pi 3B+, and Pi 4B, & Pi ZeroW*

*Pi Zero W requires additional steps to get graphs to work.

ADSBx offers a custom feeder image with stats, dashboard, map tiles, US sectionals, and many more features!

Current image is based on Raspbian Lite Buster.

Map UI is the much celebrated tar1090. (https://github.com/wiedehopf/tar1090)

*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

NOTE: Image is tested with RTL-SDR blog SDR and FA Prostick blue and orange. There have been reports of the following SDR not functioning well, setting gain to -10 let’s the dump1090 decoder use auto-gain.

These SDR are not designed to be used reliably for 1090 Mhz ADS-B.

Short of it is this – SDR high gain and wide band antenna equals high noise.

If you know what you are doing here is a direct link to the image:

https://adsbexchange.com/myip/downloads/adsbx_buster.1.0.zip

md5sum: 126c858de31e298832b617f426152c2b

latest: 1.0.3

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=13.366081
 LONGITUDE=-121.694665
 ALTITUDE=1050ft
 USER="buster_adsbx"
 DUMP1090=yes
 GAIN=49.6
 DUMP978=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.

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 recievers

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

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.