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

Inquiry and support for Freematics products
Post Reply
doki10000
Posts: 4
Joined: Thu Apr 02, 2015 3:29 am

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

Post 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?
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

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

Post by stanley »

Did you connect GND?
doki10000
Posts: 4
Joined: Thu Apr 02, 2015 3:29 am

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

Post 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!
jolacoupe
Posts: 2
Joined: Fri Jan 18, 2019 7:53 pm

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

Post 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 ?
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

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

Post by stanley »

Connect Arduino GND and adapter GND.
Post Reply