-
Notifications
You must be signed in to change notification settings - Fork 369
Adafruit Ultimate GPS Breakout
Cheng Yang edited this page Aug 13, 2023
·
2 revisions
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 2
GND to pin 6
TX to pin 10
RX to pin 8
- type in
sudo apt-get install gpsd gpsd-clients python-gps
-
sudo systemctl stop gpsd.socket
sudo systemctl disable gpsd.socket
sudo 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 reboot
-
sudo killall gpsd
sudo 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 2
GND to pin 6
TX to pin 10
RX to pin 8
- type in
sudo apt-get install gpsd gpsd-clients python-gps
-
sudo systemctl stop gpsd.socket
sudo systemctl disable gpsd.socket
sudo 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.txt
and at the very bottom addenable_uart=1
sudo reboot
-
sudo killall gpsd
sudo 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