Open thijstriemstra opened 7 years ago
@thijstriemstra I've been trying to get this working on the pi zero, following your comments above I now get data out running:
sudo cat /dev/serial0
sudo gpsmon /dev/serial0
but not:
sudo cgps -s
Any thoughts as to why cgps doesnt like this?
@kirgy no, I also saw mixed results with these tools.
@thijstriemstra I was hoping to produce a GPS tracker using a node library, unfortunately the node libraries I found rely on using the cgps. It seems fairly simple to just read in from the serial in node and translate the sentences to GPS lat/lon, so I'm going to have a go at making a small node library for my solution.
Thanks for sharing, I was stumped until I discovered this!
Thanks @thijstriemstra I'll update the instructions to make them clear they were for Raspi B/B+ I don't have a Raspi 3 or Zero, so can't test your changes.
@kirgy Have you seen this one? https://github.com/eelcocramer/node-gpsd
I've documented more after opening this ticket, will update the description, maybe there's something useful in there @kirgy (done)
I followed your instructions and got them to work with an older B+ model but it didnt work on the raspberrypi 3. There I had to use the following (the jq installation is optional; it's used to get json data from the GPS):
More in this thread: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=51788