Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3907

Troubleshooting • Re: Connecting a waveshare MAX m8Q GNSS to Rasp Pi 5

$
0
0
I've also recently gotten myself a Raspberry Pi 5, and decided the first project was going to be with the MAX-M8Q (great idea as light intro... :)). Took quite some time, but in the end managed to get a fix.

Basically, I have the 40pin of the MAX-M8Q connected directly to the 40pin of the Raspberry Pi, and the antenna is connected as well. After a while the PPS light starts flashing, indicating at least a signal is being acquired.

To get the data, it turned out I had to tune in to dev/ttyAMA0, not ttyUSB0 or ttyS0. With that, and making sure any running gpsd is killed before opening cgps, it worked for me.

Commands that give me a fix after start-up:

sudo systemctl stop gpsd.socket
sudo systemctl disable gpsd.socket
sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
cgps

OR

sudo killall gpsd
sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock
cgps

The following also works for me:
gpsmon /dev/ttyAMA0

Hope this helps...anyway, next challenge is somehow entering the MAX-M8Q settings (through NMEA?), to configure the MAX-M8Q to also accept the Galileo signals. If anyone knows how to do this, I'd love to hear it

Statistics: Posted by SpaceHusky — Thu Sep 05, 2024 8:42 pm



Viewing all articles
Browse latest Browse all 3907

Trending Articles