kopia lustrzana https://github.com/cyoung/stratux
Strona:
Adafruit Ultimate GPS Breakout
Strony
Adafruit Ultimate GPS Breakout
All About AHRS
Carbon Monoxide Detector (Testing)
Change SSID, Channel, or Encryption
FAQ
Home
How to compile and build Stratux executable
Projects that use stratux
SDR Serials
SSH into Stratux
SafeSky integration
Setting up a working developer sdcard
Share internet over Stratux WiFi
Shutdown link on iOS or Android home screen
Stratux Serial output for EFIS's that support GDL90 over serial.
Updating Stratux.
2
Adafruit Ultimate GPS Breakout
Cheng Yang edytuje tę stronę 2023-08-13 22:22:44 +08:00
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 serial-getty@ttyAMA0.service
sudo systemctl disable serial-getty@ttyAMA0.service
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 serial-getty@ttyS0.service
sudo systemctl disable serial-getty@ttyS0.service
- 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