Author Options:

Arduino MCP2515 connecting to Volkswagen Answered


I'd like to connect an arduino with mcp2515 with my Volkswagen Golf 6, in order to look whats going on in the CAN Bus network  :)

This is the MCP2515 breakout is used (chinese clone): [attachment 1]

Therefore I used this script:[

I did the wiring like this one [attachment 2]

After uploading the source code to my arduino nano, I got the following message:

[quote]Entering Configuration Mode Successful!
Setting Baudrate Successful!
MCP2515 Initialized Successfully!
MCP2515 Library Receive Example...

I think everything should be fine. But I didn't see any canbus message there.
Which steps do I have to take, to see any message on the CAN Bus.
Whats the setting for can bus communication (baud rate, oscillator mhz...)?

Thanks in advance



if(CAN0.begin(MCP_ANY, CAN_250KBPS, MCP_16MHZ) == CAN_OK16


if(CAN0.begin(MCP_ANY, CAN_250KBPS, MCP_8MHZ) == CAN_OK)

The smaller modules work on 8Mhz compared to the shields that use 16Mhz

Check where you found the code.
Contact the author...
For some reason I don't think he posted an Instructable for this here....