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

Python • Re: Reading GPS

$
0
0
They can take quite a while to get a lock (ublox) so a window or outdoors is recommended. Or an AGPS setup, of which I cannot remember anything about to get the location of says.
Lots of commas is a lock problem normally.

You can double check using
cat /dev/serial0
And see what it is actually providing.
Or gpsmon
May need to use
gpsmon /dev/serial0
Gpsmon can actually use the ublox 'speak' directly, you get lots of funny characters.


If I get time I'll pop the gpsd methods too, but it has been a while. There are some floating around on the forum.
Gpsd had the advantage that it is always working, you can read it from another device over the network (run python on a phone/pc/another pi and read it from the Pi) etc..

Have a read here
https://learn.adafruit.com/adafruit-ult ... basic-test

Statistics: Posted by bensimmo — Sat Apr 06, 2024 9:34 am



Viewing all articles
Browse latest Browse all 5782

Trending Articles