Skip to content

Instantly share code, notes, and snippets.

@hsiboy
Created July 20, 2018 10:28
Show Gist options
  • Save hsiboy/a24933ec63c004d10e2377d93aae80f6 to your computer and use it in GitHub Desktop.
Save hsiboy/a24933ec63c004d10e2377d93aae80f6 to your computer and use it in GitHub Desktop.
Adding GPS to Raspberry Pi running PiAware / Dump1090 for ADS-B Flight Tracking
sudo apt-get install -y gpsd
sudo apt-get install -y gpsd-clients
sudo apt-get install -y python-gps
sudo apt-get install -y libcap-dev
sudo apt-get install -y pps-tools
echo console=ttyACM0,115200 >> /boot/cmdline.txt
# edit /etc/rc/local and add (before the exit 0)
# sudo gpsd /dev/ttyACM0 -F /var/run/gpsd.sock
sudo reboot
# to test, run :
sudo cgps -s
# and if all went well, you’ll see the gps output on-screen,
# note: flightaware auto detects and uses gpsd positions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment