Go Down

Topic: NMEA 2000 Shield (Read 44602 times) previous topic - next topic

Dick3

Hi,

I'm looking for the NMEA PGN 127245 Rudder field format for SW programming.
Can anyone help me, please?

Thanks!

Jan Richard

Enzycal

#76
Mar 04, 2016, 05:05 pm Last Edit: Mar 07, 2016, 10:15 am by Enzycal
Hi, is it possible to use this module http://www.14core.com/wiring-the-mcp2515-controller-area-network-can-bus-diagnostics/ with NMEA2000 library?

maxik

Do I understand correctly that for use of the library to Maple Minnie I need additional Shield?

Hobbe1979

Hi,
Great work you have done. I have managd to setup an Arduino due with a mcp2562 as described in the documentation from timolappalainen. I'm trying to communicate with a Garmin 721xs but I experience several problems.

It works if I use ActisenseListenerSender and run it with the nmea simulator by timolappalainen from openskipper. I do not receive all info sent. The wind data, tank and RPM does not show on the garmin unit. However fuel rate, engine temp, oil temp works among others. All simulated devices  appears in the list of devices on the garmin unit.

So now to the real trouble
If I use some of the other exampels as message sender or temp monitor. It shows up in the list and I receive data. Not complete but some of the data works. Then after 30-60 seconds it stops and the unit disappears from the list of devices. If I look on the traffic on the serial bus (usb), I still receive data from the garmin unit and the arduino seams to still send data. So I guess that its been kicked out by the garmin unit of some reason.
If I just initiate the Arduino and disable it from sending messages, then its stays in the list on the garmin unit.

I guess that I probably missed something important….   I have been reading through most of the documentation and libraries. I have to say that I'm impressed even if I do not understand even half.

I'm happy for all kind of support to get this to work.

The4thzeke

Hello everyone, I am a complete Noob to Arduino and forums in general so I hope I do not insult anyone with my first post.  I would like to use the Arduino to receive depth data from my Raymarine NMEA 2000 depth sounder to control a fishing downrigger.  The Arduino would adjust the depth of my fishing gear based on the information sent from my depth sounder.  I'm okay with the mechanical aspects but have really no idea about the programming end of things.  I would appeciate any oppinion on the "do-ability" of this project as well as the level of programming complexity (ie. Likelihood of existing libraries for the programming).  I have spent some time searching the forum and the web for similar projects and I think others have done similar things but have not found anyone who has taken depth information from a NMEA 2000 system.  Thank you in advance and forgive me if I posted this in the wrong place.

Hobbe1979

#80
Mar 16, 2016, 06:15 pm Last Edit: Mar 17, 2016, 10:00 am by Hobbe1979
Hello,
I´ve been keeping on trying to find out why I get kicked out from the Garmin unit. I have made some interesting observations.  When I watch the traffic sent from the Arduino with the temature monitor program.

If I  comment: " // SendN2kTemperature();"  so it doesn't send any messages. it will stay in the list in the Garmin unit.

The traffic looks as follows:
--------------------------------------
CAN device ready
Start address claim
Pri:6 PGN:60928 Source:22 Dest:255 Len:8 Data:FB,FF,5F,2E,0,A0,64,40
Pri:6 PGN:126996 Source:22 Dest:255 Len:134 Data:FF,FF,9A,2,45,78,63,61,6C,69,62,75,72,20,58,2D,31,31,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,30,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,FF,FF
Pri:6 PGN:60928 Source:22 Dest:0 Len:8 Data:FB,FF,5F,2E,0,A0,64,40
Pri:6 PGN:60928 Source:22 Dest:0 Len:8 Data:FB,FF,5F,2E,0,A0,64,40
-------------------------------------

And there after keep on sending PGN:60928 with a few seconds interval.
However when uncomment: " // SendN2kTemperature();" and I send a message, the traffic looks as follows. I Have noticed that it stops sending PGN:60928. Instead it send only PGN:13031.  See under.
I guess that this could be the reason? Are there any way of getting it to send PGN:60928 frequently?

------------------------------------------
CAN device ready
Start address claim
Pri:6 PGN:60928 Source:22 Dest:255 Len:8 Data:FB,FF,5F,2E,0,A0,64,40
Pri:6 PGN:126996 Source:22 Dest:255 Len:134 Data:FF,FF,9A,2,45,78,63,61,6C,69,62,75,72,20,58,2D,31,31,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,30,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,FF,FF
Pri:6 PGN:130310 Source:22 Dest:255 Len:8 Data:16,C1,70,FF,FF,FF,FF,FF
Pri:6 PGN:130310 Source:22 Dest:255 Len:8 Data:16,C1,70,FF,FF,FF,FF,FF
------------------------------

Hobbe1979

I have figured out that, if I do send an address claim by using "NMEA2000.SendIsoAddressClaim();" every 2000 milliseconds,  It works well with the Garmin 721xs.  Then everything seems stable. The RPM data works now. It seems to be just a setting in the garmin that was the issue.

Is this the correct way of solving my issue?

heryoon

#82
Mar 19, 2016, 01:48 am Last Edit: Mar 19, 2016, 03:42 am by heryoon
Hello, I'm trying to use the Mega and the Can-Bus shield in order to get readings from my NMEA 2000 "Intelliducer" from Garmin.
When I was attempting to use the temperature monitor sample code,
"CAN device failed to open"
from the
NMEA2000.SetForwardType(tNMEA2000::fwdt_Text); part of the code.
Even though on my Can-Bus shield, the RX led is flashing.

Any idea why it's failing to "open" to the device which I'm assuming it's not communicating with it???

Hobbe1979

Hello, I'm trying to use the Mega and the Can-Bus shield in order to get readings from my NMEA 2000 "Intelliducer" from Garmin.
When I was attempting to use the temperature monitor sample code,
"CAN device failed to open"
from the
NMEA2000.SetForwardType(tNMEA2000::fwdt_Text); part of the code.
Even though on my Can-Bus shield, the RX led is flashing.

Any idea why it's failing to "open" to the device which I'm assuming it's not communicating with it???
I got the same issue with my mega when the MCP2515 where not hooked up correctly. So I think that its caused when there are no working communication to the can controller.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy