Page 1 of 1

Model B & ISO 15765-4 CAN (11-Bit 500k baud) & Prius Proble

Posted: Thu Apr 02, 2015 4:18 am
by doki10000
I have tried to connect the OBD-II Adapter for Arduino - Model B to a 2014 Toyota Prius (ISO 15765-4 CAN | 11-Bit 500k) which should be supported, but the program hangs at obd.init().
I have properly connected the two wires to the SDL/SDA ports and tried to change the protocol in obd.h init() but still did not work...
I have tried with the car ON and OFF, connecting SDA and SDL before and after the arduino is ON.

When I try this code (inside de setup function):

Serial.println("test");
if(obd.init()){
Serial.println("OBDII adapter has been connected");
} else {
Serial.println("Connecting to OBDII adapter...");
}

Only test is displayed, nothing else in the if/else statement is displayed, it seems like the code hangs inside the init() method.
When connecting the adapter the blue light flashes twice and then turns off, is this a normal behaviour?

Any ideas?

Re: Model B & ISO 15765-4 CAN (11-Bit 500k baud) & Prius Pr

Posted: Mon Apr 20, 2015 10:43 am
by stanley
Did you connect GND?

Re: Model B & ISO 15765-4 CAN (11-Bit 500k baud) & Prius Pr

Posted: Thu Apr 23, 2015 1:30 am
by doki10000
You are right, I did not connect GND. I tried again with the ground connected to the arduino and this time it worked! (That and turning the car on and waiting a couple of minutes for the whole thing to connect). The blue lights also flash every couple of seconds and I get good data back.
Thank you!

Re: Model B & ISO 15765-4 CAN (11-Bit 500k baud) & Prius Proble

Posted: Wed Jan 23, 2019 9:16 pm
by jolacoupe
What do you mean exactly by connecting to the GND ?
Are you using a OBD connector or do you connect directly to the pins ?

Re: Model B & ISO 15765-4 CAN (11-Bit 500k baud) & Prius Proble

Posted: Sat Feb 16, 2019 10:23 pm
by stanley
Connect Arduino GND and adapter GND.