I2C doesn't work, 3 differents cars

Inquiry and support for Freematics products
Post Reply
CoCo24
Posts: 10
Joined: Mon Apr 04, 2016 2:49 am

I2C doesn't work, 3 differents cars

Post by CoCo24 »

Hi Stanley,

Sorry for my bad english.
I received the OBD2 Adapter Model B yesterday. I tried to connect the adapter to my car (Opel Vectra B from 1998) with "rpm_led_i2c" sketch. Sadly, the led doesn't turn on at 2000 RPM (I lowered to 2000).
I tried to explicitly specifiy the communication protocol in the header file but it's still doesn't work.

I have another scan tool (OP-COM) that works very well with my car and it says the car's communication protocol is KWP2000 (which is normally supported by the adapter).
I added some prints in the code and it's seems to be stuck on obd.init().

I tried the adapter on two other newer cars (Mini Cooper S from 2010 and Peugeot 206 from 2004) and it's still doesn't work...

I enabled "#define DEBUG Serial" but I don't get any debug print in the serial monitor. How can I get debug print ?

I wired the adapter to my Arduino UNO :
RED -> VCC (5V)
BLACK -> GND
GREEN -> SDA
WHITE -> SCL

What I have done wrong ?

Thank you,
CoCo24
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: I2C doesn't work, 3 differents cars

Post by stanley »

Can you run the OBD example sketch obd_i2c_test and let me see what the output is?
bsxiong
Posts: 2
Joined: Tue Apr 19, 2016 10:44 am

Re: I2C doesn't work, 3 differents cars

Post by bsxiong »

Nothing i printed for me.
Please advise!
CoCo24
Posts: 10
Joined: Mon Apr 04, 2016 2:49 am

Re: I2C doesn't work, 3 differents cars

Post by CoCo24 »

Ok I try whenever I can
CoCo24
Posts: 10
Joined: Mon Apr 04, 2016 2:49 am

Re: I2C doesn't work, 3 differents cars

Post by CoCo24 »

Ok I tried obd_i2c_test and here is the output :

Sending ATZ
Timeout
Sending ATL1
OK
Sending ATH0
OK
Sending ATRV
12.0V
Sending 0100
UNABLE TO CONNECT
Sending 010C
UNABLE TO CONNECT
Sending 0902
UNABLE TO CONNECT

Init...
[35911]ATZ
[35969]ATE3
[36027]ATL1
[36084]0100
[38927]0100
[42720]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[42724]ACC=-13500/7792/-3512 GYRO=-288/19/65
[42726]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[42730]ACC=-13492/7740/-3304 GYRO=-292/-7/72
...
...

In the first try, ATZ returned "OBDUART v1.0" but ATRV returned "0.1V"
BrAjN
Posts: 2
Joined: Sun May 29, 2016 7:05 am

Re: I2C doesn't work, 3 differents cars

Post by BrAjN »

I got this problem with my Model B too.

I think my adapter is faulty cause i got the same result on three different cars, what i have to do?

Sending ATZ
BDUART v1.0
Sending ATL1
OK
Sending ATH0
OK
Sending ATRV
14.3V
Sending 0100
UNABLE TO CONNECT
Sending 010C
UNABLE TO CONNECT
Sending 0902
UNABLE TO CONNECT
Init...

[53074]ACC=-3720/3444/17268 GYRO=-107/184/-111
[53076]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[53083]ACC=-3784/3336/17164 GYRO=-91/184/-104
[53085]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[53091]ACC=-3640/3432/17180 GYRO=-97/187/-94
[53093]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[53099]ACC=-3580/3424/17288 GYRO=-59/167/-90
[53101]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
[53107]ACC=-3704/3484/17252 GYRO=-60/119/-65
[53109]104= 105= 10C= 10D= 10E= 10F= 111= 12F=
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: I2C doesn't work, 3 differents cars

Post by stanley »

If it's faulty, it won't respond to any commands.
If you try on 3 different cars which are all not KWP2000 or CAN bus, the adapter won't work on any of them.
CoCo24
Posts: 10
Joined: Mon Apr 04, 2016 2:49 am

Re: I2C doesn't work, 3 differents cars

Post by CoCo24 »

I tried on a car which is KWP2000 certified (work with another scantool and it says that the protocol is KWP2000)
I think KWP2000 protocol used by Opel is a bit different so I need to specify a custom init sequence...

I still look for a solution and I will return if I find a good way to run the adapter correctly !
Post Reply