Adafruit Ultimate GPS Breakout - cyoung/stratux GitHub Wiki
This wiki is outdated. Now stratux support GPS module via uart natively. We don't need to install gpsd anymore
Two different setups, depending on Pi version:
here are the steps that you need to follow for the Pi 1 and 2
- Plug in an ethernet cable to pi you will need the internet for this
- Open up an ssh connection or in terminal run
ifup eth0 - Hook the GPS to the Pi as follows
VCC to pin 2GND to pin 6TX to pin 10RX to pin 8
- type in
sudo apt-get install gpsd gpsd-clients python-gps sudo systemctl stop gpsd.socketsudo systemctl disable gpsd.socketsudo nano /boot/cmdline.txt- deleate everything and type in
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait sudo systemctl stop [email protected]sudo systemctl disable [email protected]sudo rebootsudo killall gpsdsudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock- Connect to stratux and go to 192.168.10.1 in chrome and check the GPS tab is working
here are the steps that you need to follow for the Pi 3
- Plug in an ethernet cable to pi you will need the internet for this
- Open up an ssh connection or in terminal run
ifup eth0 - Hook the GPS to the Pi as follows
VCC to pin 2GND to pin 6TX to pin 10RX to pin 8
- type in
sudo apt-get install gpsd gpsd-clients python-gps sudo systemctl stop gpsd.socketsudo systemctl disable gpsd.socketsudo nano /boot/cmdline.txt- deleate everything and type in
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait sudo systemctl stop [email protected]sudo systemctl disable [email protected]- go to
sudo nano /boot/config.txtand at the very bottom addenable_uart=1 sudo rebootsudo killall gpsdsudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock- Connect to stratux and go to 192.168.10.1 in chrome and check the GPS tab is working