Search found 12 matches

by element22
Wed Jan 07, 2015 5:55 pm
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

Re: New I2C Adapter doesn't work, two other OBD tools do

I got it to work, though the OBD communication is still shaky (it takes several tries for obd.init to succeed). For whatever reason I can only make one reliable obd.read() call per loop. I only need PID_RUNTIME, so I removed PID_RPM and things seem to work.
by element22
Mon Jan 05, 2015 1:58 pm
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

Re: New I2C Adapter doesn't work, two other OBD tools do

After lots of work I've achieved some shaky communication, by looping through protocols and hitting on the right one: void setup() { obd.begin(); conn=obd.init(); if (!conn) { for (int i=0; i<4; i++) { if (i==0) obd.setProtocol(PROTO_CAN_11B_500K); else if (i==1) obd.setProtocol(PROTO_CAN_11B_250K);...
by element22
Tue Dec 23, 2014 1:24 am
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

Re: New I2C Adapter doesn't work, two other OBD tools do

My car was bought new in 2010 in the US, so it uses the ISO 15765 CAN. Quote: "2008: All cars sold in the United States are required to use the ISO 15765-4 signaling standard (a variant of the Controller Area Network (CAN) bus)." ( Source: http://en.wikipedia.org/wiki/On-board_diagnostics ...
by element22
Mon Dec 22, 2014 6:45 am
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

Re: New I2C Adapter doesn't work, two other OBD tools do

Downloaded the new lib, recompiled, uploaded to Arduino, same thing: it gets stuck on obd.init().
by element22
Fri Dec 19, 2014 8:24 pm
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

Re: New I2C Adapter doesn't work, two other OBD tools do

Nothing connected to Tx/Rx on Arduino. Yellow lead from I2C Adapter plugged into SCL, blue into SDA, power red/blue to Vin/GND. The power from OBD seems to work, as Arduino boots up.
by element22
Tue Dec 16, 2014 5:21 pm
Forum: Freematics Products
Topic: New I2C Adapter doesn't work, two other OBD tools do
Replies: 9
Views: 16786

New I2C Adapter doesn't work, two other OBD tools do

We have a problem here. I see several messages about the I2C Adapter not working, which are being shrugged off. My freshly bought I2C Adapter Model B doesn't work. To verify that everything is OK with OBD in my car I used two independent tools: a MaxiScan LCD scanner and a Bluetooth OBD adapter that...
by element22
Sun Dec 07, 2014 12:22 pm
Forum: Freematics Products
Topic: Auto increase "Time since engine start"
Replies: 1
Views: 5983

Auto increase "Time since engine start"

In the emulator GUI, could you implement an option to automatically increase the "Time Since Engine Start" clock every second since the "Ignition" button was last clicked, as it would happen in real life? I have a sequence of events dependent on this time and it would be much eas...
by element22
Sun Nov 23, 2014 7:44 am
Forum: Freematics Products
Topic: Yellow/blue vs yellow/white
Replies: 1
Views: 6265

Yellow/blue vs yellow/white

I just got the ODB-II Model B adapter. This page http://arduinodev.com/hardware/obd-kit/ tells me to connect the yellow/blue wires to SCL/SDA pins. The adapter I got has black/red and yellow/white connectors. I assume the yellow is to be connected to SCL and the white to SDA, correct?
by element22
Tue Nov 04, 2014 5:05 pm
Forum: Freematics Products
Topic: OBD
Replies: 6
Views: 12759

Re: OBD

Thanks. One more question... I'd like to debug my Arduino code at home, using an OBD emulator. Given that the Rx/Tx connectors need to be plugged in for this model to work, is there any way to print out debug messages through the serial port in Arduino's IDE? I assume that when the Rx/Tx ports on th...
by element22
Sat Nov 01, 2014 12:06 pm
Forum: Freematics Products
Topic: OBD
Replies: 6
Views: 12759

Re: ODB

I have 3 pairs of connectors: red/black (I assume it's +5V/GND), blue/yellow (I assume it's SDA/SCL) and white/green (I assume it's Rx/Tx). Images of my unit and connectors enclosed. http://imageshack.com/a/img674/2110/jLVOM4.jpg http://imageshack.com/a/img661/4148/nzbqZ5.jpg