Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 05-05-2022, 15:03   #1
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Trying to get my AIS to OpenCPN

I love OpenCPN and have it opened on a laptop at the helm next to a small Simrad NSS Evo2.
Simrad shows all AIS targets as normal.
I installed a Yacht Devices dongle to the backbone and it's flashing lights appear to be normal.
I'm not computer savvy and I can't proceed further to get it to show targets etc. on the laptop.
I attach a screenshot of 'output' but don't know if this is AIS output or not.
Any help would be appreciated.
Attached Thumbnails
Click image for larger version

Name:	AIS Output2.jpg
Views:	74
Size:	345.2 KB
ID:	257192  
mickand is offline   Reply With Quote
Old 05-05-2022, 15:45   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

The messages you get are total garbage, AIS NMEA 0183 messages should look something like this:

Code:
!AIVDM,1,1,,A,14Uumt0Oi:00GQ0O;Ab6FTuR0L0>,0*36
!AIVDM,1,1,,A,14QsCa002Gww>8LO1T6<A9uP0D0A,0*64
!AIVDM,2,1,1,A,58UQ<802@Vj9TaIWV20pE@PE8h4pB1@T@F22220l2Hk8865E0<Tm<p8888888888,0*46
!AIVDM,2,2,1,A,8888880,2*25
To help you we need some more information, like screenshot of the Connections tab in OpenCPN and screenshot of the Serial Ports part of the device tree in the Windows Device Manager.
nohal is offline   Reply With Quote
Old 05-05-2022, 16:27   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: Trying to get my AIS to OpenCPN

Looks like maybe bad baud rate on the serial port.
AIS receivers generally use 38,400 baud interface.


Good Luck
Dave
bdbcat is offline   Reply With Quote
Old 06-05-2022, 10:06   #4
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

Nohal - connections and port screenshots attached
Attached Thumbnails
Click image for larger version

Name:	connections.jpg
Views:	54
Size:	364.2 KB
ID:	257247   Click image for larger version

Name:	Ports.jpg
Views:	48
Size:	368.7 KB
ID:	257248  

mickand is offline   Reply With Quote
Old 06-05-2022, 10:14   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

OK, this seems reasonably OK, so we may progress further.

What exactly is "Yacht Devices dongle"? And what exactly is connected to the two USB ports? I would guess the "dongle" is on COM4 and you try to forward the data to COM5, but there is a problem with that (It is not related to receiving garbage instead of NMEA 0183 data feed, I'm just wondering).

If the dongle is https://www.yachtd.com/products/usb_gateway.html are you sure it is switched to "0183" mode?
nohal is offline   Reply With Quote
Old 06-05-2022, 10:36   #6
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

That is the gateway device and at present it is factory set to 'auto' which should read 0183.
I have disabled Comm5 - originally thought this was the correct port.
mickand is offline   Reply With Quote
Old 06-05-2022, 10:46   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

Well what it sends certainly is not NMEA0183. Reading the manual for your device it is using the RAW mode. Please refer to the chapter V. Configuration of Device Operation Modes of the device's manual (https://www.yachtd.com/downloads/ydnu02.pdf) and set it to 0183 mode (OpenCPN must not be running when you do it, only one thing at a time may be using a serial port).
nohal is offline   Reply With Quote
Old 06-05-2022, 10:59   #8
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

Thanks for your continued help.
I will attempt to change to 0183 - but this will be a challenge for my Abacus-minded brain.
May take me a while.
mickand is offline   Reply With Quote
Old 06-05-2022, 11:02   #9
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

- Open Command Prompt from the Windows start menu
- type: echo YDNU MODE 0183 > COM4
- Hit Enter
- Close the Command Prompt
- Launch OpenCPN
- Everything should work
nohal is offline   Reply With Quote
Old 06-05-2022, 12:25   #10
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

Entered the command
This is latest output
Attached Thumbnails
Click image for larger version

Name:	Latest output.jpg
Views:	52
Size:	262.7 KB
ID:	257259  
mickand is offline   Reply With Quote
Old 06-05-2022, 12:31   #11
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

Yes, now your device is in NMEA0183 mode, it did not send any AIS sentences during the sub 1 second period of time covered by your picture though (which sure may be absolutely normal).
nohal is offline   Reply With Quote
Old 06-05-2022, 13:27   #12
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

Getting 0183 info but no AIS VDM or VDO info coming through. Chartplotter is showing all targets and tracking as per normal.
mickand is offline   Reply With Quote
Old 06-05-2022, 13:48   #13
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Trying to get my AIS to OpenCPN

Quote:
Originally Posted by mickand View Post
Getting 0183 info but no AIS VDM or VDO info coming through. Chartplotter is showing all targets and tracking as per normal.
I'm afraid I can't help you with that. If you are sure the AIS data is coming over the bus to which you connected the gateway, then it has to be the gateway not translating the AIS PGNs, but according to the manual it should do it without any further configuration.
nohal is offline   Reply With Quote
Old 06-05-2022, 13:53   #14
Registered User

Join Date: Nov 2015
Location: Naples FL
Boat: Cheer Men PT41
Posts: 97
Re: Trying to get my AIS to OpenCPN

I'll keep trying and I truly appreciate and thank you for all your help.
mickand is offline   Reply With Quote
Reply

Tags
ais, enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Get Information got seashells? Multihull Sailboats 7 26-08-2016 09:58
Can You Get Radar & AIS Overlay on Laptop ? AIS Transceiver Recommendations ? lunasea.ds Marine Electronics 22 27-12-2010 13:06
Discouraged and Trying to Figure Out How to Get into Sailing Sub Nate Meets & Greets 36 06-12-2010 19:15
Trying to get back in the water! son_of_a_sailor3 Meets & Greets 1 02-07-2007 19:42

Advertise Here


All times are GMT -7. The time now is 13:05.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.