Need help: Can INIT OK, but no data..

My Board:
Loading... the orange one in this kit…
"16 hz Uno r3 compatible…I thought it was an arduino :(…

My Shield:

To start off, I have the db9 cable, the Uno R3, the shield is stacked on my Uno R3.

So I have been trying for over 2 weeks now to receive some CAN data from my vehicle(03 trailblazer).
I can make a program in C#, and view all of the can data but don’t know how to interpret it in C#… But that means my vehicle is pushing Can data through the OBD port. When using my Arduino setup, I get the Can INIT OK, showing it’s connected… but nothing after… no data… This is my code:

/*
This is for use with Sparkfun's CAN Bus Shield: https://www.sparkfun.com/products/10039
*/

#include <Canbus.h>
#include <defaults.h>
#include <global.h>
#include <mcp2515.h>
#include <mcp2515_defs.h>

void setup() {
  Serial.begin(9600); // For debug use
  Serial.println("CAN Read - Testing receival of CAN Bus message");  
  delay(1000);
  
  if(Canbus.init(CANSPEED_500))  //Initialise MCP2515 CAN controller at the specified speed
    Serial.println("CAN Init ok");
  else
    Serial.println("Can't init CAN");
    
  delay(1000);
}

void loop(){

  tCAN message;
if (mcp2515_check_message()) 
	{
    if (mcp2515_get_message(&message)) 
	{
        //if(message.id == 0x620 and message.data[2] == 0xFF)  //uncomment when you want to filter
             //{
               
               Serial.print("ID: ");
               Serial.print(message.id,HEX);
               Serial.print(", ");
               Serial.print("Data: ");
               Serial.print(message.header.length,DEC);
               for(int i=0;i<message.header.length;i++) 
                {	
                  Serial.print(message.data[i],HEX);
                  Serial.print(" ");
                }
               Serial.println("");
             //}
           }}

}

If anyone has any ideas, I’m out of ideas :frowning: I’m all ears. I can’t wait until I can receive Can DATA :smiley: just this last little nitch to get through.

I can make a program in C#, and view all of the can data

How does the data get to the C# program?

What does that piss-poorly formatted code actually output? Does it ever get any messages? Have you looked at the library that you didn't provide a link to?

Well, I've tried three different libraries and all sorts of code, but getting the same thing. CAN Init OK, but not getting any data..

With my C# Program, I create a serial connection to my ELM327, and use AT commands to get my data.. The first command will connect ELM327 to the CANBUS (ATSP0), then if we send the AT command (ATMA), that will tell the ELM327 to start receiving data from the can bus, and I get flooded with data. I can roll my window down or turn the radio up and see the packet in my C# program.. But it doesn't look right to me. This is why I'm trying to set up my Arduino project.

The library I am using right now is CanbusV4, from this link here

https://code.google.com/p/skpang/downloads/detail?name=Canbus_v4.zip&can=2&q=

Some example Can data from my C# program is when I roll the window down I get this packet, but only the six bytes: Because I am not sure how to get the identifier, or length using the ELM327..

09 04 11 00 00 70

I'm curious, with the basic receive code, for the can shield, will it automatically get can data.. Or will I have to send a command, to start receiving the Can data? The help is appreciated, thank you.

here is some more of my CAN Data from the C# program, Key off, radio still plays I only get "03" spamming on the can bus. All other packets are from actions.. Here is an example of some data I got if it helps..

03 
07 00 
03 
03 
03 
11 31 
07 00 
03 
03 
22 33 
03 
07 00 
03 
0A 32 EF 
22 30 
03 
07 00 
03 
03 
03 
03 
03 
03 
03 
07 00 
03 
03 
03 
07 00 
0A 32 FD 
03 
03 
03 
07 00 
03 
03 
07 00 
03 
03 
03 
03 
03 
03 
07 00 
03 
03 
0A 33 0A 
03 
03 
07 00 
03 
03 
07 00 
03 
03 
11 31 
03 
07 00 
03 
0A 33 16 
03 
03 
03 
11 31 
03 
03 
11 33 
07 00 
03 
03 
03 
03 
08 05 65 
48 
07 00 
03 
10 01 
81 
41 
50 
03 
09 04 11 00 00 70 
09 04 11 00 00 70 
22 34 
09 04 11 00 00 70 
09 04 11 00 00 70 
01 
11 31 
41 
09 04 11 00 00 70 
07 00 
22 31 
03 
09 01 11 00 00 70 
03 
0A 33 23 
03 
07 00 
03 
03 
03 
03 
11 2F 
03 
03 
07 00 
03 
08 05 7A 
48 
03 
03 
03 
07 00 
0A 33 2F 
03 
11 2D 
03 
07 00 
03 
03 
11 2C 
03 
07 00 
03 
03 
03 
03 
03 
03 
11 2A 
07 00 
03 
0A 33 3A 
03 
03 
07 00 
03 
03 
03 
07 00 
03 
03 
10 76 
03 
03 
07 00 
03 
03 
0A 33 46 
11 28 
03 
03 
03 
07 00 
03 
03 
03 
07 00 
03 
03 
03 
07 00 
03 
90 94 2C 
50 
50 
0A 33 52 
03 
10 00 00 
50 
50 
18 80 03 F3 56 
03 
03 
07 00 
03 
03 
11 27 
03 
03 
03 
07 00 
03 
03 
03 
22 34 
07 00 
03 
0A 33 5D 
03 
03 
07 00 
03 
03 
11 26 
22 31 
03 
03 
07 00 
03 
03 
03 
03 
03 
07 00 
03 
0A 33 69 
03 
03 
07 00 
03 
03 
03