2021-05-04, 10:19 PM
(2021-05-01, 08:41 PM)Techstyle Wrote: What do you have checked in the Signalk to Nmea0183 plug-in? And is it enabled?
(2021-05-04, 02:32 AM)SCarns Wrote:Hi Steve(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
Thank you very much, this worked perfectly, as soon as I made the changes you suggested the Position data appeared on the radio. This is amazing, I just need to take some time now to understand why this works and how I can use this for other proposes.
Many thanks to all on this thread for the help, I would never have got this working or got my open plotter project up and running without the great community on this forum.
Next will be adding AIS receive and depth data to me set up.
Many thanks
Regards
Derek