DIY ADS-B on PI Zero

posted in: Uncategorized 0

Stratux is free software that enables DIY and low cost ADS-B receivers for pilots. It’s easy to build an ADS-B receiver from the parts list, or there are many inexpensive pre-built options available. The Image for Raspberry Pi 3 did not work on my Raspberry Pi zero. I used the instructions below to get it working.

Stratux-based ADS-B receivers are the only full-featured receivers on the market that are compatible with every major EFB.

 

Download Raspbian Stretch with desktop

https://www.raspberrypi.org/downloads/raspbian/

unzip then copy to disk. More detailed instructions here

https://www.raspberrypi.org/documentation/installation/installing-images/linux.md

use lsblk to locate where the sdcard is attached. replace the /dev/sdx with letter for you drive. Like /dev/sdc

dd bs=4M if=2018-04-18-raspbian-stretch.img of=/dev/sdX conv=fsync status=progress

After startup initially a WIFI connection is require. To enable WIFI after startup complete the following. Connect the sdcard to the computer and put a blank ssh file and a wpa_supplicant.conf file with the password and ssid in the file.

details here for connecting over serial  here

touch /media/boot/ssh
sudo nano /media/boot/wpa_supplicant.conf  . Insert your SSID and Password into wpa_supplicat.conf file.

country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
 
network={
ssid="NETWORK-NAME"
psk="NETWORK-PASSWORD"
}

Insert the sdcar into the raspberry PI zero and power up the PI zero. from you host computer, log in with ssh with the following commands. user name pi password raspberry.

ssh-keygen -R raspberrypi.local
ssh pi@raspberrypi.local

default
username:pi
password:raspberry

use “passwd” command  to change your password for security. Expand the filesystem using “raspi-config”

sudo raspi-config
select 7 advance options
select A1
Expand filesystem

then

sudo shutdown -r now. after a rest run the following commands. it will download file from the network and configure the pi zero for ADS-B

sudo apt-get update
sudo apt-get install git
sudo git clone https://github.com/specialed1790/pi_zero_w.git
sudo bash stratux-setup.sh
sudo shutdown -r now

EFB Compatibility

Platform ADS-B Traffic ADS-B Weather AHRS
FlyQ EFB (Seattle Avionics) 2.1+ (iOS) :white_check_mark: :white_check_mark: :white_check_mark:
Xradio ADS-B Receiver :white_check_mark: :white_check_mark: :white_check_mark:
Naviator (Android) :white_check_mark: :white_check_mark: :white_check_mark:
AvNav 2.0.0+ (Android) :white_check_mark: :white_check_mark: :white_check_mark:
ForeFlight 7.x+ (iOS) :white_check_mark: :white_check_mark: :white_check_mark:
WingX (iOS only) :white_check_mark: :white_check_mark: :white_check_mark:
Avare EFB (Android) :white_check_mark: :white_check_mark: :x:
FltPlan Go (Android, iOS, and Windows) :white_check_mark: :white_check_mark: :white_check_mark:
DroidEFB (Android) :white_check_mark: :white_check_mark: :white_check_mark:
AerovieReports (iOS) :white_check_mark: :white_check_mark: :white_check_mark:
AvPlan EFB (iOS and Android) :white_check_mark: :white_check_mark: :x:
iFly GPS 9.4+ (iOS and Android) :white_check_mark: :white_check_mark: :white_check_mark:
DroidEFB 2.1.1+ (Android) :white_check_mark: :white_check_mark: :white_check_mark:
OzRunways EFB 5.4.2+ (iOS) :white_check_mark: :white_check_mark: :x:
GRT Avionics EFIS (latest firmware) :white_check_mark: :white_check_mark: :x:
Garmin Pilot (ios) :x: :x: :x: