stanleyhuangyc / ArduinoOBD

OBD-II library and sketches for Arduino
http://freematics.com
968 stars 519 forks source link

OBD II UART Adapter fails #29

Open milefork opened 8 years ago

milefork commented 8 years ago

Hi,

I don't get the Adapter working on a Honda Civic Type R 2010; protocoll should be ISO 9141-2

I tired the sample lib and debugged it, it don't recive data.

So now I wrote a little program for it to communicate directly over the arduino:

void setup() {
  // put your setup code here, to run once:

  Serial.begin(9600);
  Serial1.begin(38400);
}
void loop() {
//Serial = PC Com
//Serial1 = OBD II UART
  if(Serial.available()){
    Serial1.write(Serial.read());
    }
  if(Serial1.available()){
    Serial.write(Serial1.read());
  }
  // put your main code here, to run repeatedly:
}

And fired the commands manually:

ATZ OBDUART v1.0

ATE0 OK

ATL0 OK

0C SEARCHING... NO DATA

What now? I also changed the protocoll type, but that helps neither.

Can someone help me?

firepower2k11 commented 6 years ago

Please check what OBD port it's exactly, with ISO 9141-2 it's probably K-Line and as I found out the OBD UART II adapter does not support K-Line.