Skip to content

Instantly share code, notes, and snippets.

@ShaolinGardener
Forked from hsiboy/gpsd.sh
Created February 12, 2022 00:03
Show Gist options
  • Save ShaolinGardener/d320e94dc53d36855a91aa7344e83dca to your computer and use it in GitHub Desktop.
Save ShaolinGardener/d320e94dc53d36855a91aa7344e83dca 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