Arduino Nano + MCP2515 + OBD2 + CAN BUS

I'm trying to read data from the can network of a Fiat Siena via OBD2 connector (pins 14 and 6) but I can't get any response. I'm using coryjfowler library(GitHub - coryjfowler/MCP_CAN_lib: MCP_CAN Library). Basically I fall into "Error Sending Message..." on the serial monitor. Tried some answer on https://forum.arduino.cc/t/can-not-receive-messages-from-arduino-uno-with-mcp2515-module /653937/3, but nothing worked.

1 Like

Either wrong MCP2515 crystal frequency (8/16MHz), wrong baud rate (250, 500Kbps, 1Mbps?) or wrong wiring.
(You need a 16MHz crystal to do 1Mbps.)
Have you connected the ground wire?

16MHZ, I tried from 50 kbps to 1mb. Now on the ground, you say link the GND of the arduino to that of the vehicle? I confess I didn't pay attention to that detail.

I used loopback to test too and the message is ok

"Error sending message" tells me that the message is not getting an ACK from another device. This could mean that there is no other device or the baud rate is incorrect.

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