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
GPS to VHF
#6
(2021-05-01, 07:53 PM)Netdrum Wrote: Hi Guys,

Many thanks for the helpful advice, I am still struggling and the number of factors that could be preventing this connection is head wrecking.

I have reversed the polarity of the wires from the GPS, I have turned off and on the checksum on the radio.

I have followed the thread which SCarns posted above, and installed the NMEA to NMEA pluggin and set that up and I think I have the input and output events labelled correctly.  However on the SK dashboard I can see the GPS Puck with 100% but my Serial Port (VHFOut) shows zero activity.

It would be useful to know if the actual data was being directed and output to the USB to Serial connection as at that point I could look at issues with the radio and the connection. BTW I wrongly said my USB to serial device was an RS422 it is in fact an RS485 which I am using to output the data, if this any difference.

Here is a description of the set up so far:

In Serial 2.2.1 - set up Rs485 to USB In device tab and named it "vhfout"
In the connections tab added it to SK set baud rate to 4800 - colour is green


In SK for the device vhfout

Data type NMEA0183
Output Events - vhf
Sentence Event -nmea0183out
Validate Checksum - Yes
Ignored Sentences - RMB, APB

In SK for the Device GPS Puck
Baud Rate 38400
Output Events - vhf
Sentence Event - left bank
Validate Checksum - Yes
Ignored Sentences - RMB, APB

In OpenCPN 5.0.0 - Options - Connections
3 enabled Data Connections

1- Network - TCP
Localhost
Data Port 10110
Priority 1
Control Check Sum - selected
Receive Input on this port - selected
Output on this port - not selected

2- Network - TCP
Localhost
Data Port 3000
Comment - Signal K
Priority 1
Control Check Sum - selected
Receive Input on this port - selected
Output on this port - not selected

3- Network - UDP
Localhost
Data Port 10119
Comment - OpencpnOUT
Priority 1
Control Check Sum - selected
Receive Input on this port - not selected
Output on this port -  selected 
Input Filtering-  Accept only Sentences - selected
Out Filtering - Transmit Sentences -RMB,APB

Back in Signal K - connections

OpencpnOUT
NMEA0183
NMEA 0183 Source - UDP
Port 10119
Sentence Event N- nmea0183out
Validate Checksum - yes
Ignore Sentences RMB, APB


In SK plug-ins - Forward and Fliter NMEA0183 input to NMEA0183 out

Input Event - NMEA0183out
Output Event - vhf

On pressing submit I am getting and error message - which says - Status: Failed to start: can not have same input and out put: vhf

If any of this make sense or you can see my error can you let me know, happy to delete and remove everything and start again if needed.

Thank You

In SK for the device/connection vhfout:

Data type NMEA0183
Output Events - vhf
Sentence Event -leave blank for now
Validate Checksum - Yes
Ignored Sentences - blank

In SK for the Device GPS Puck
Baud Rate 38400
Output Events - nmea0183out
Sentence Event - left bank
Validate Checksum - Yes
Ignored Sentences - blank

In nmea0183 to nmea0183 plugin in SK, start with just one connection and use these settings:
Input event (internal)*
   nmea0183out
Output event (internal)*
   vhf
(looks like you have this correct already)
check GGA, GLL, GNS, RMC (or whatever your radio requires per it's manual).

Forget about everything else for now. Restart SignalK and verify you are getting GPS data to the VHF at this point. What this is suppose to do is this: every time the puck updates the nmea0183out data stream, an "event" is created. This event triggers the nmea0183-to-nmea0183 plugin to create a new event called "VHF" with only the nmea0183 data you checked in the plugin settings and sends it out to the port "vhfout." This should forward the location info from the puck to the radio.

If you can get that going, the rest will fall into place. Also, you have too many connections to OpenCPN, which isn't necessarily an issue, but they are unneeded. For now start with this:

1- Network - TCP
Localhost 
Data Port 10110
Priority 1
Control Check Sum - selected
Receive Input on this port - selected
Output on this port - not selected 

Delete #2 and #3 for now. "Convert SignalK-to-nmea0183" needs to be installed and active for this to work with the appropriate NMEA0183 sentences checked and activated (check them all for now).

Steve
Reply


Messages In This Thread
GPS to VHF - by Netdrum - 2021-04-30, 03:54 PM
RE: GPS to VHF - by Techstyle - 2021-04-30, 05:27 PM
RE: GPS to VHF - by SCarns - 2021-05-01, 03:09 AM
RE: GPS to VHF - by Netdrum - 2021-05-01, 07:53 PM
RE: GPS to VHF - by SCarns - 2021-05-04, 02:32 AM
RE: GPS to VHF - by Netdrum - 2021-05-04, 10:19 PM
RE: GPS to VHF - by Techstyle - 2021-05-04, 10:48 PM
RE: GPS to VHF - by Netdrum - 2021-05-06, 08:48 PM
RE: GPS to VHF - by SCarns - 2021-05-13, 05:04 AM
RE: GPS to VHF - by Techstyle - 2021-05-01, 08:41 PM
RE: GPS to VHF - by mateo - 2021-05-07, 05:42 AM
RE: GPS to VHF - by SCarns - 2021-05-07, 07:04 AM
RE: GPS to VHF - by MigGat - 2021-05-07, 07:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)