This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Canbus to Signalk server
#1
Hello,
I can't make my connection between canbus ans Signalk server to work.
After canbus configuration, I can see data from device traffic and canbus lights from MacArthur Hat are blinking. But as soon I set up a Signalk connection, lights become fixed and no data are détectés in Signalk. I tried Canboatjs and canboat but it does not change anything. There is no specific error related to this connection in Signalk logs.
 The only other devices connected to the Hat are nmea183 GPS and i2c sensor

My installation is openplotter 4.2.9, canbus 4.1.0, opencpn 5.10.2, Signalk 2.14.4

Am I missing something ?
Thank you for your help and ideas.
Regards.
Reply
#2
Hello again,
a little bit further...

I finally reinstall  signalk-server 2 times before it works. I suppose something went wrong on the last update, maybe with socketcan as I found in another thread.

Nevertheless, I had to change the source from canbus-canboatjs to canbus-canboat in order to have data available in SignalK. Without that change, the leds on the MacArturHat for Can connection stay fixed as soon as Canbus connection was made with SignalK and no data were available in SignalK.

I started my PI5 several times and all (available on my network) NMEA2K data were available each time Smile

But when I used OpenCPN on my last sail, I was not able to get wind data, only some of them was available Dodgy . Candump utility showed me many sentences but Signal K seemed to loose some of them.
 
Ex : I couldn't see apparent wind data provided by my Garmin GWind transducer in SignalK, even though they were visible on the GMI display. On the other hand, I got water depth... 

I think that my NMEA2K signalK connection is not reliable for now.

Does anybody went in trouble with SignalK using data from Garmin NMEA2K network ?

Is that normal to use canbus-canboat source instead of canboatjs ?

Thank you again for your help and advices.
Regards.
Reply
#3
Most Errors on CAN Bus is wrong Termination.
Without Power on all the N2000 Devices the Restistor between H & L is 60 Ohm.
Reply
#4
Hello holgerw,

Thank you for your response.

I already suspected this problem and checked the resistance between H and L and it was 60 ohm (I checked this too removing a termination to be sure my network was Ok and I got 120 ohms).
Reply
#5
I use the setting canboatjs for my can-hat, this is the default setting for openplotter when it sets the signalk datasource.
But if the canboat works for you, why not. the difference may be the src-language, javascript vs python?

So signalk does not recognize your windsensor data but does sense the depth data. It is possible the Garmin sensor uses
an private Garmin PGM for its Data. Google in this Direction: "read Garmin GWind N2K signalk"
Reply
#6
Thank you holgerw,

I made other tests using canboat utilities to look at what candump gives me.

It appears that candump get PGN 130306 at the beginnig of the connection, with valid data, but once only.
I can't find any occurence of that pgn after.

Analyzing all the pgn Candump gave me, it got same keys (8 keys, always same), related to my seatalk pilot (nmea2000 connected) and depth or water temperature data. But no more wind data...
As the number of distinct keys is low, I cant' see any other PGN related to wind data, if Garmin

I already checked my GNI10 converter where my wind transducer is connected (Garmin bougth Nexus brand but keep wind transducer and made a converter Nexus to Nmea2000), it is working well = its nmea2000 led is lighting normally.

The thing I don't understand is why candump don't trace wind data more than one time (PGN 130306) and in the same time wind data are always ok on my Garmin display (GMI20), connected on nmea2000 network.
I will look at your advice holgerw.

I don't know how to go further with that problem.

Thank you for your help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)