mshulman - Does anyone have a CAN to USB device...

Does anyone have a CAN to USB device that they like with good linux drivers? I thought I had one, but I can't build the ubuntu drivers for it.
61 Replies
Scott Bender
Scott Bender9mo ago
lots of options. None of which should require building drivers. What do you have?
Scott Bender
Scott Bender9mo ago
No idea if that would even work with Signal K I have a couple of the canable ones. They work fine. I’ve only tried on a pi.
mshulman
mshulmanOP9mo ago
Are you saying that Intel micro PC with Ubuntu won't run signalK, or that the CAN to USB adapter won't work?
Scott Bender
Scott Bender9mo ago
The adaptor. I don’t know if it will work.
juans#0046
juans#00464w ago
Hi everyo, i just connect canable pro to the raspi and it doesn't recognize any device. Any suggestions? Thank you!
Scott Bender
Scott Bender4w ago
I think you have to change the firmware (I know I did, it that was years ago) https://canable.io/getting-started.html#alt-firmware
juans#0046
juans#00464w ago
Yeah, is it working! But I'm a little confused. Please, help me. Signal k discovered my Vulcan 7. But it appears NMEA0183 instead of NMEA2000. WHY? What I want is send wind data from my ST40 which I'm already reading in Openplotter.
juans#0046
juans#00464w ago
No description
Scott Bender
Scott Bender4w ago
The server can discover some tcp 0183 sources You should ignore that if you have an nmea20000 connection It does not automatically discover a Canable. You have to add a Data Connection for that.
juans#0046
juans#00464w ago
Here what kind of data do I need to put? Nmea2000 or signalk?
No description
juans#0046
juans#00464w ago
No description
juans#0046
juans#00464w ago
Here should appear raspberry? Because I'm emitting to nmea2000 through canable
juans#0046
juans#00464w ago
No description
No description
No description
juans#0046
juans#00464w ago
I'm very confused 😕
Scott Bender
Scott Bender4w ago
I don’t know what that screenshot is from? It does not look like you are getting any data from the canable?
juans#0046
juans#00464w ago
What I want is output data to the B&G Vulcan 7 which has NMEA2000 input. Thank you Scott 🙏
Scott Bender
Scott Bender4w ago
You should be seeing something in the data browser from your n2k network? Can you screenshot the data connection settings for the canable? did you run this command ip link set can0 up type can bitrate 500000?
juans#0046
juans#00464w ago
No, I didn't
Scott Bender
Scott Bender4w ago
it has to be run everytime the pi boots up
juans#0046
juans#00464w ago
Might be that's the problem I'm not at the boat right now. I'll try tomorrow evening So, once I'll run that command. I need to do any extra config for output data? I activated wind and other checks at signalk-n2k plugin.
Scott Bender
Scott Bender4w ago
you should not
juans#0046
juans#00464w ago
Ok thank you so much Scott!
Scott Bender
Scott Bender4w ago
but something is off here. I just saw that screeenshot of the candump. and it looks like you are gertting data
juans#0046
juans#00464w ago
Yes But might be is corrupted because of the bitrate
Scott Bender
Scott Bender4w ago
might be. I'm not sure what would happen if the butrate is wrong when you get on the boat, try this after setting the bitrate
sudo npm install -g @canboat/canboatjs
candumpjs can0
sudo npm install -g @canboat/canboatjs
candumpjs can0
juans#0046
juans#00464w ago
Ok I'll do it @Scott Bender are you there?
juans#0046
juans#00464w ago
juans#0046
juans#00464w ago
The B&G Vulcan 7 doesnt detect the openplotter data... I'm using Canable Pro 1.0 might be it's broken or the NMEA2000 port from Vulcan 7 is broken. I don't know... I'm going to buy RS485 Can Hat para Raspberry Pi to try other option. Also I'm going to talk another friend to try another plotter. At the begining I connected just H and L as the manual says. I tried to connect GND because it suggest some devices might need it. But I doesn't work...
juans#0046
juans#00464w ago
this is the log
Scott Bender
Scott Bender4w ago
can you try the canboatjs command I gave you?
juans#0046
juans#00464w ago
This one? I did
Scott Bender
Scott Bender4w ago
You ran candump, not candumpjs
juans#0046
juans#00463w ago
Ohh You are right I leave the boat already 🥺 I bought CAN HAT with MCP2515 and it didnt work either 😦
juans#0046
juans#00463w ago
No description
juans#0046
juans#00463w ago
I tried candumpjs can0 and there is no traffic also I changed the bitrate to can0
juans#0046
juans#00463w ago
No description
juans#0046
juans#00463w ago
candumpjs canable0 (USB slcand device) show the data coming from s2k-nmea2000 plugin but there is no traffic from Vulcan7 to the openplotter. also I don't know why candumpjs can0 (which correspond to MCP2515 device) doesn't show the data from the plugin sk-nmea2000 The only thing left to try is going to another boat and try another nmea2000 device. I have a question, I'm connecting directly canbus (H and L) to the plotter Vulcan 7 (B&G). I'm not connecting power and ground. Might be that is the problem? The network nmea2000 is supposed to be powered by 12v?
juans#0046
juans#00463w ago
something like that
No description
Scott Bender
Scott Bender3w ago
I think the Vulcan may require power there And you need termination The canable also requires power and ground Oh. Maybe power, depends on the model https://canable.io/getting-started.html#connect-to-the-bus
juans#0046
juans#00463w ago
No description
juans#0046
juans#00462w ago
I bought that I connected everything and it doesn't work 😦
juans#0046
juans#00462w ago
No description
juans#0046
juans#00462w ago
No description
juans#0046
juans#00462w ago
It receives some data at Rx messages
juans#0046
juans#00462w ago
No description
juans#0046
juans#00462w ago
I connected can_l can_h and gnd to the nmea network And the network is connected to 12v
juans#0046
juans#00462w ago
No description
juans#0046
juans#00462w ago
I connected canable to windows and check if received any data from Vulcan and it doesn't.
Scott Bender
Scott Bender2w ago
All TX errors are definitely suspect Do you get those when the canable is disconnected?
juans#0046
juans#00462w ago
I'm going to spend more money and time than buying all the devices new 😂😂😂 No Sorry yes, the Rx changes if I connect the canable. But the tx are stucked. Even if I reset the counter it goes to 255 automatically and keep there
Scott Bender
Scott Bender2w ago
So hard to tell what’s going on with only two n2k devices.
juans#0046
juans#00462w ago
I'm running out of options to try
Scott Bender
Scott Bender2w ago
The Vulcan or the canable could be bad. Or the wiring could be bad.
juans#0046
juans#00462w ago
I'm going to do a fresh install and use the hat mcp2515 and try with it Because I don't know why with mcp2515 didn't appear the traces on the console from signal k plugin Thank you Scott for your help 🙂
Scott Bender
Scott Bender2w ago
Do you really need to do a new install?
juans#0046
juans#00462w ago
No It's to discard possible errors
Scott Bender
Scott Bender2w ago
If you can borrow another n2k device, that would help a lot. Can be just about anything. That way you could confirm that the Vulcan can see other devices.
juans#0046
juans#00462w ago
Ok I'll try Thank you

Did you find this page helpful?