how do I get my gps working? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: how do I get my gps working? (/showthread.php?tid=2792) |
how do I get my gps working? - svpablo - 2020-07-28 I've just receive a HAT with GPS and can-bus interface (https://copperhilltech.com/pican-with-gps-can-bus-board-for-raspberry-pi/ for the ones interested). I'm trying to get the GPS working and cannot understand how to get it setup. So far, I've tried pretty much all the options in signal K. The most successful I've been is : In Serial, configure the only entry I see (/dev/ttyAMA0) with the alias gpshat and the data as nmea0183. Then in connection, add it to gpsd Then open signal K, and add a new connection with: add new connection - Input == nmea0183 - enable == yes - id == gpshat - nmea 0183 source == GPSD - host == localhost - port == 2947 - output event == [blank] - sentence event == [blank] - validate checksum == true When restarting signal K, i get in the dashbaord: ID : gpshat Last Error [empty] Status: connected to localhost:2947 But if I go in the data browser, I get nothing. OpenCPN doesn't have a fix either. Did I miss something?! I should add: I'm on a fresh install of openplotter, ran all the updates and on signalk Server 1.32.0, RPI 4b (4gb) RE: how do I get my gps working? - holgerw - 2020-07-28 Test in the Terminal for gpsd is running and connected: gpsmon it should show some gps data. if not check the baudrate or your hardware-hat. signal k gets the data from gpsd, so this is the second step to check if the first works. RE: how do I get my gps working? - svpablo - 2020-07-28 (2020-07-28, 07:27 AM)holgerw Wrote: Test in the Terminal for gpsd is running and connected: gpsmon never seem to fully load, I only get this : tcp://localhost:2947 JSON slave driver> (82) {"class":"VERSION","release":"3.17","rev":"3.17","proto_major":3,"proto_minor":12} (32) {"class":"DEVICES","devices":[]} (122) {"class":"WATCH","enable":true,"json":false,"nmea":false,"raw":2,"scaled":false,"timing":false,"split24":false,"pp s":true} From the spec, the hat is outputting 9600baudrate. I've just booted a vanilla instance of Raspian and I get the gps data. So there's something on the OP config somewhere... RE: how do I get my gps working? - holgerw - 2020-07-28 You have to Connect your hat in serial to gpsd First! RE: how do I get my gps working? - svpablo - 2020-07-28 (2020-07-28, 08:25 AM)holgerw Wrote: You have to Connect your hat in serial to gpsd First! well I did. I created an alias, then added it to GPSD. I couldn't select the baudrate, it doesn't let me, so I hit auto... Or you're talking of something else?? |