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
NmeaOut from OpenCPN & SignalK
#1
Im trying to send the following information in nmea 183 format:

- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+ 

I have used the following setup:

Signal K  Conection Type NMEA0183, ID nmeaout, Source Serial, Port  /dev/ttyOP_nmeaout,  Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data

OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE

When checking for conflicts I get:

Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
    OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
    Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout

What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K

Can anyone give me some guidance?
Reply
#2
I don't have/use OpenCPN but it seems you are using one single serial adapter for both VHF and AP connections. Maybe this is the reason, try to disable SK-VHF connection and check only with the AP.
Anyway, is just a hint, I'm not very sure about this, sorry and good luck!
- SV Haimana
Reply
#3
(2024-04-29, 11:17 PM)Pantera Wrote: Im trying to send the following information in nmea 183 format:

- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+ 

I have used the following setup:

Signal K  Conection Type NMEA0183, ID nmeaout, Source Serial, Port  /dev/ttyOP_nmeaout,  Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data

OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE

When checking for conflicts I get:

Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
    OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
    Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout

What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K

Can anyone give me some guidance?
Don't do the serial connection from OCPN, let SignalK handle that.  The output from OCPN should be setup as a network connection filtered to only send out RMB, APB, XTE.  Then SignalK will forward that data via serial.  Like this:
   
Reply
#4
(2024-04-30, 04:48 PM)Techstyle Wrote:
(2024-04-29, 11:17 PM)Pantera Wrote: Im trying to send the following information in nmea 183 format:

- GPS position from Signal K to VHF
- AutoPilot information from OpenCPN to Raymarine ST2000+ 

I have used the following setup:

Signal K  Conection Type NMEA0183, ID nmeaout, Source Serial, Port  /dev/ttyOP_nmeaout,  Baudrate 4800, Using NMEA0183 to NMEA0183* emiting GGA - Global Positioning System Fix Data

OpenCPN Conection: Type Serial, Direction IN/OUT, Protocol NMEA0183, Port /dev/ttyOP_nmeaout, Baudrate 4800, Transmiting RMB,APB,XTE

When checking for conflicts I get:

Checking serial connections conflicts...
↳There are conflicts between the following serial connections:
    OpenCPN -> connection ID: 3 | device: /dev/ttyOP_nmeaout
    Signal K -> connection ID: nmeaout | device: /dev/ttyOP_nmeaout

What's wrong with my setup? Should I only transmit from either OpenCPN or Signalk? Not sure if APB is available in Signal K

Can anyone give me some guidance?
Don't do the serial connection from OCPN, let SignalK handle that.  The output from OCPN should be setup as a network connection filtered to only send out RMB, APB, XTE.  Then SignalK will forward that data via serial.  Like this:

Thanks for the advice! Implemented successfully  Big Grin . Great youtube channel by the way, I regularly watch your videos!

(2024-04-30, 06:15 AM)sebba Wrote: I don't have/use OpenCPN but it seems you are using one single serial adapter for both VHF and AP connections. Maybe this is the reason, try to disable SK-VHF connection and check only with the AP.
Anyway, is just a hint, I'm not very sure about this, sorry and good luck!

Thanks Sebba, you were right, only one output is allowed. Problem solved!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)