CAN BUS Shield + Arduino UNO + VW Golf

Hi, i’ve a CAN BUS shield and i can’t receive any information from my car (Volkswagen Golf VI).

I use the Audio unit connector to connet to can circuit. I’ve a CanUSB cable and i can read and send CAN message trough the audio unit Connector.
The speed of CAN is 100Kbit.

I’ve tried with the can example but when connect the shield to my car i can’t see any message from serial monitor and the rx/tx led don’t blink.

i attach image for explain.

The wire in the serial connector is:

  • red +12v
  • black ground
  • yellow can+
  • green can -

Where i wrong???
IMG_20141020_155810.jpg
IMG_20141020_155739.jpg

I’ve tried with this example from http : / / jeepjkcanbus . blogspot . it/p/can-bus-supersniffer . html

this is code:

#include <SPI.h>
#include "mcp_can.h"

INT32U canId = 0x000;

unsigned char len = 0;
unsigned char buf[8];
char str[20];


void setup()
{
    Serial.begin(38400);

START_INIT:

    if(CAN_OK == CAN.begin(CAN_100KBPS))
    {
        Serial.println("CAN BUS Shield init ok!");
    }
    else
    {
        Serial.println("CAN BUS Shield init fail");
        Serial.println("Init CAN BUS Shield again");
        delay(100);
        goto START_INIT;
    }
}


void loop()
{
    if(CAN_MSGAVAIL == CAN.checkReceive())  
    {
        CAN.readMsgBuf(&len, buf); 
        canId = CAN.getCanId();
        Serial.print("<");Serial.print(canId);Serial.print(",");
        for(int i = 0; i<len; i++)
        {
            Serial.print(buf[i]);Serial.print(",");
        }
        Serial.print(">");
        Serial.println();
    }
}

Library from here:
https : / / github . com /yexiaobo-seeedstudio/CAN_BUS_Shield

The result is the same, i can’t receive any data. I suspect my shield don’t work at all…

Hi, If the led is not blink, that means It doesn’t get any message.
I think you could double check this 2 things:

  1. does the CAN_H and CAN_L connect right?
  2. does the baudrate set right? I mean if the baud rate of your CAR is 100k?

One more thing, the latest code is here: github.com/Seeed-Studio/CAN_BUS_Shield

Hi, thank you for your reply

Yes i’m sure. I use the same connector with another USB Cable (canUSB from Lawicel) that work fine

Yes, the baudrate is 100K because with the other USB Cable (canUSB from Lawicel) with this baudrate i can read CAN Data. I’ve found on the web other people using this baudrate for Can REad from VW Golf 6

Ok, would you mind sharing me your code? See if I could find any problem. You can send me a email: luweicong@seeedstudio.com.

Try to use CAN_500KBPS. I’m able to control the gauges of the Golf IV with this baudrate. I don’t know about golf VI (the golf VI gauges will arrive tomorrow though :smiley: ), but it’s worth a try. :wink:

I also don’t know about golf VI.
plz give some information