2021-05-01, 07:53 PM
(2021-05-01, 03:09 AM)SCarns Wrote: We just had a very similar discussion here earlier this week. Hope it helps. https://forum.openmarine.net/showthread.php?tid=3401
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