Skip to content

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

  1. Plug in an ethernet cable to pi you will need the internet for this
  2. Open up an ssh connection or in terminal run ifup eth0
  3. Hook the GPS to the Pi as follows VCC to pin 2 GND to pin 6 TX to pin 10 RX to pin 8 raspberry_pi_ultimategpsuart_bb
  4. type in sudo apt-get install gpsd gpsd-clients python-gps
  5. sudo systemctl stop gpsd.socket sudo systemctl disable gpsd.socket
  6. sudo nano /boot/cmdline.txt
  7. deleate everything and type in dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  8. sudo systemctl stop serial-getty@ttyAMA0.service sudo systemctl disable serial-getty@ttyAMA0.service
  9. sudo reboot
  10. sudo killall gpsd sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
  11. 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

  1. Plug in an ethernet cable to pi you will need the internet for this
  2. Open up an ssh connection or in terminal run ifup eth0
  3. Hook the GPS to the Pi as follows VCC to pin 2 GND to pin 6 TX to pin 10 RX to pin 8 raspberry_pi_ultimategpsuart_bb
  4. type in sudo apt-get install gpsd gpsd-clients python-gps
  5. sudo systemctl stop gpsd.socket sudo systemctl disable gpsd.socket
  6. sudo nano /boot/cmdline.txt
  7. deleate everything and type in dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
  8. sudo systemctl stop serial-getty@ttyS0.service sudo systemctl disable serial-getty@ttyS0.service
  9. go to sudo nano /boot/config.txt and at the very bottom add enable_uart=1
  10. sudo reboot
  11. sudo killall gpsd sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
  12. Connect to stratux and go to 192.168.10.1 in chrome and check the GPS tab is working