322Views1Replies

Author Options:

Arduino MCP2515 connecting to Volkswagen Answered

Picture of

Hello,

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:[
https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/CAN_receive/CAN_receive.ino

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...
[/quote]

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
BR,
Julian

1 Replies

user
Downunder35m (author)2017-05-20

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

Select as Best AnswerUndo Best Answer