OpenMarine

Full Version: Can’t get GPS serial to show up in Signal K or OpenCPN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am using a KEYESTUDIO GPS Module connected to a RPi 3B+.  The Keyestudio outputs NMEA 0183 data at 9600 and I have this connected to the Rx pin on RPi (pin 10, GPIO15).
 
I did have it working and displaying in both OpenCPN and Signal K but following various updates I now can’t get it to display any GPS data.
 
I have the latest versions of all apps installed.
 
Running Check System in Settings gives the following warning:
GPIO service running
 
I have used sudo raspi-config to ensure:
The serial login shell is disabled                       │ 
The serial interface is enabled
 
If I use
Code:
cat /dev/ttyAMA0
I get garbled NMEA data:
GPGGA,1409,N,00127.591140,M,48.0A,3,22,1,14,23,01.04*00
$GPGSV,,29,07,02,264,09,50,072,20*7E
0,09,297,33,32,1GLL,5503.18009,N41923.00$GPRMC,141924.0000127.59117,W,0.68
$GPV,0.085,K,A*2C
 
However, if I set raspi-config to:
The serial login shell is enabled                        │ 
The serial interface is enabled
 
Running cat /dev/ttyAMA0 gives me a Permission Denied error.  Running sudo cat /dev/ttyAMA0 gives me well formed NMEA data:
 
$GPGGA,143046.00,5503.17983,N,00127.58878,W,1,10,1.07,38.1,M,48.0,M,,*72
 
$GPGSA,A,3,22,28,21,27,01,30,32,14,08,10,,,1.84,1.07,1.50*0E
 
… and a Permission Denied message against the gps connection in Signal K.
 
I have been going around in circles with this so any advice greatly appreciated.
It's worth trying disconnecting that port from SignalK and connecting to it with OpenCPN directly, then use the NMEA debug output to see if you are getting good data.

It would also be interesting to see what you get when you install KPLEX and connect that port rather than going into SignalK. It might help narrow down the corruption issue you seem to have.
Hi abarrow. Thanks for your advice. I did what you suggested and connected directly to OpenCPN and everything worked fine and debug looked good so I added the connection back into SignalK and that all seemed to work as well.

Thanks for your help. My next task is to get it paired to the Navionics Boating app.

Wish me luck. :-)
It shouldn't be a problem. Ask if you need help. I have mine working with Navionics.