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 30-09-2023, 14:28   #31
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,221
Re: Connecting to NMEA 2000 Network

Re Hakan's comment -"but other devices using similar technical function may also work."
Quote:
What other adapters support the Data Link Escaping (DLE) protocol? Is this just opening a pandora's box should users ask about which other devices are supported?
I've a possible memory once testing a ShipDriver device and it was working. Though I'm not 100% sure it was N2k and not N0183 I received. If anyone have such a device it's easy to try. The word "may" would not force anyone to purchase anything not mentioned.
But if you have doubts and the text can confuse we just take it out again?
Hakan is offline   Reply With Quote
Old 01-10-2023, 02:51   #32
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,700
Images: 2
Re: Connecting to NMEA 2000 Network

SignalK in the wiki is found under Supplemental Hardware
https://opencpn.org/wiki/dokuwiki/do...ftware:signalk


Read and use signalK data
https://www.cruisersforum.com/forums...d.php?t=251679

Connections after hibernate
https://www.cruisersforum.com/forums...d.php?t=279118


Nmea2k in Opencpn
https://www.cruisersforum.com/forums...d.php?t=276825

Twocan pi
https://www.cruisersforum.com/forums...d.php?t=209706
rgleason is offline   Reply With Quote
Old 02-10-2023, 03:10   #33
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 155
Re: Connecting to NMEA 2000 Network

Quote:
Originally Posted by stevead View Post

The following NMEA 2000 Parameter Group Numbers (PGN) are supported.
  • 60928 ISO Address Claim
  • 126996, NMEA Product Information
  • 128259, Speed (1)
  • 128267, Depth (1)
  • 129025, Position (Rapid Update)
  • 129026, COG/SOG (Rapid Update)
  • 129029, GNSS Position
  • 129540, GNSS Satellite Data (1)
  • 129038, AIS Class A Position Report
  • 129040, AIS Class B Position Report
  • 129041, AIS AToN
  • 129793, AIS Date & Time Report
  • 129794, AIS Class A Static Data & Voyage Report
  • 129798, AIS SAR Position Report
  • 129809, AIS Class B Static Data Report, Part A
  • 129810, AIS Class B Static Data Report, Part B
  • 130306, Wind (1)
  • 130312, Temperature (1)
1. These are only parsed and displayed in the Dashboard plugin.
On my system (Raspberry Pi, Debian Bullseye, Waveshare Canhat, OpenCPN 5.8.4) the following corrections need to be made to the above table:

PGN 130312 not recognised:
<GREEN>18:31:45 (N2000) PGN: 130312 Source: nmea2000 socketCAN-can0 ID: 0 Desc: Temperature. Not used by OCPN, maybe by Plugins


The following PGNs are recognised and the info could be added to the table:
<GREEN>18:29:34 (N2000) PGN: 126720 Source: nmea2000 socketCAN-can0 ID: 1 Desc: No description. Not used by OCPN, maybe passed to plugins
<GREEN>18:29:34 (N2000) PGN: 127245 Source: nmea2000 socketCAN-can0 ID: 1 Desc: DBoard: Rudder data
<GREEN>18:29:34 (N2000) PGN: 127250 Source: nmea2000 socketCAN-can0 ID: 0 Desc: Heading rapid
<GREEN>18:31:45 (N2000) PGN: 127257 Source: nmea2000 socketCAN-can0 ID: 35 Desc: DBoard: Roll Pitch


The following PGNs are n ot recognised, but would be nice to add to O:
<GREEN>18:31:45 (N2000) PGN: 130314 Source: nmea2000 socketCAN-can0 ID: 0 Desc: Actual Pressure. Not used by OCPN, maybe by Plugins
<GREEN>18:31:45 (N2000) PGN: 130316 Source: nmea2000 socketCAN-can0 ID: 0 Desc: Temperature extended range. Not used by OCPN, maybe by Plugins


Best,

Manfred
Aldebaran17 is offline   Reply With Quote
Old 02-10-2023, 03:29   #34
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 155
Re: Connecting to NMEA 2000 Network

On the wiki NMEA200 it says:

We need screen shots showing

OpenCOPN Connections dialog for adding the NGT-1 or YDNU-02 on Windows,
Mac or Linux
Configuration of a SocketCAN device on Linux.


I am happy to provide a screen shot, however in OpenCPN there is only the need to activate the available socketcan, e.g. can0. So, a screen shot will not be very informative.


More important are the changes to config.txt and interfaces, where my installations deviates slightly from the info on the web page, which worked on buster, but not on bullseye any more (at least for me).

So, here is my installation:
Code:
This works for the following system: Raspberry Pi 4B, Debian Bullseye, Waveshare Canhat, OpenCPN 5.8.4

Add the following lines to /boot/config.txt/

dtparam=spi=on 
dtoverlay=mcp2515-can0,oscillator= 12000000,interrupt=25,spimaxfrequency=1000000



check if there is a file /etc/network/interfaces

with the following content:

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d


create file /etc/network/interface.d/can0


with the following content:

#physical can interfaces
auto can0
iface can0 can static
bitrate 250000
pre-up /sbin/ip link set can0 type can restart-ms 100
down /sbin/ip link set $IFACE down
up /sbin/ifconfig $IFACE txqueuelen 10000
Aldebaran17 is offline   Reply With Quote
Old 02-10-2023, 08:37   #35
Registered User

Join Date: Mar 2011
Posts: 696
Re: Connecting to NMEA 2000 Network

Thanks Manfred for the corrections.

I should have reviewed the plugin source to determine what PGN's it consumes rather than guessing!

Regarding the setting for the Waveshare device, do you think we need to add these to the Wiki, or simply refer to the manufacturer's instructions? I think all devices based on the MCP2515 chipset (Waveshare, Copperhill) use very similar configuration settings.
stevead is offline   Reply With Quote
Old 02-10-2023, 09:31   #36
Registered User

Join Date: Mar 2011
Posts: 696
Re: Connecting to NMEA 2000 Network

Manfred, what plugins are installed ?
Just curious re PGN 126720, which is a manufacturer proprietary PGN. I know Fusion use it for controlling their media players, Raymarine for controlling Autopilots and it's also transmitted by a number of Garmin sensors.
stevead is offline   Reply With Quote
Old 02-10-2023, 09:40   #37
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 155
Re: Connecting to NMEA 2000 Network

Quote:
Originally Posted by stevead View Post
Manfred, what plugins are installed ?
Just curious re PGN 126720, which is a manufacturer proprietary PGN. I know Fusion use it for controlling their media players, Raymarine for controlling Autopilots and it's also transmitted by a number of Garmin sensors.
It's a Raymarine SPX-5 wheel pilot.
Aldebaran17 is offline   Reply With Quote
Reply

Tags
network, nmea, nmea 2000, work


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
Raymarine NMEA 2000 -> NMEA 2000 cable GreenHeaven Marine Electronics 5 24-08-2021 03:52
Adding a NMEA 2000 Chart Plotter to a NMEA 0183 Network SailingPNW Marine Electronics 28 26-04-2021 07:00
For Sale: Garmin NMEA 2000 Network Updater Tim R. Classifieds Archive 1 13-03-2014 07:46
Seatalk Ng and NMEA 2000 connecting X5 and E7 TheOffice Marine Electronics 0 21-10-2012 18:40

Advertise Here


All times are GMT -7. The time now is 10:23.


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.