Has anyone turned the MCP2515 board and an Arduino into a CAN interface?

I've been researching this for quite a while. Although there are many related topics all over the web, I haven't found the answer yet. My project takes an Arduino, mates it with a MCP2515 board and sniffs data on my cars I-bus (low speed 33.3KHZ). This works fine in the windows10 Arduino IDE and the VirtualBox Ubuntu version, however, when I try and use Can-utils, I get an error message saying Can0 cannot be found.

So, has anyone turned the MCP2515 board and an Arduino into a CAN interface that lets me work on the data in VirtualBox with SocketCan aka Can-utils? Someone must have done it?

Please keep an replies in layman's terms, I'm more of a hands on guy rather than coder.

Thanks

Several years ago someone created GitHub - kahiroka/slcanuino: USB-CAN(SocketCAN) sketch for Arduino CAN-BUS shield. I have no idea if it works well or not.

If you want a no-code solution then buy a CAN interface dongle that supports socketCAN.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.