This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can’t get GPS serial to show up in Signal K or OpenCPN
#1
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.
Reply
#2
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.
Reply
#3
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. :-)
Reply
#4
It shouldn't be a problem. Ask if you need help. I have mine working with Navionics.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)