UART & I2C - General Confusion
Posted: Mon Sep 29, 2014 10:56 pm
Hi,
In the interest of being somewhat brief:
Over a year ago I purchased an OBD-II adapter, and wasn't able to get communication between arduino-adapter-obd working. The project was shelved until this week, when I gave it another go. It appears that in the mean time the website/company surrounding the product has... changed somewhat.
I recall buying a model A of the OBD-II adapter, since I didn't have a need for GPS/Accel data. But, the label on the blue box of the adapter says "OBD-II; UART Adapter; Designed for Arduino; Version 1.2" and it has 6 wires, which leads me to believe it's actually a model B.
The website states that model B uses I2C, while model A uses UART. Are they exclusive? Or can the model B use UART as well? Can you please help me determine which adapter I actually have, as well as firgure out the wire specifications?
Wires:
[red / black] - Power and ground (Other forum posts mention both 3.3 and 5 volts, which one is it?)
[yellow / blue] - I suppose this matches up with the white and yellow wires mentioned on the product page, which means it's either tx/rx or sda/scl.
[green / grey] - I have no idea, unless it's the additional sensor data for the model B, in which case why is the product labeled UART while the website declares it I2C based?
I apologize if I'm simply reading the wrong documentation, in which case please drop me a link and let me attempt to sort things out
Thank you,
-ctag
In the interest of being somewhat brief:
Over a year ago I purchased an OBD-II adapter, and wasn't able to get communication between arduino-adapter-obd working. The project was shelved until this week, when I gave it another go. It appears that in the mean time the website/company surrounding the product has... changed somewhat.
I recall buying a model A of the OBD-II adapter, since I didn't have a need for GPS/Accel data. But, the label on the blue box of the adapter says "OBD-II; UART Adapter; Designed for Arduino; Version 1.2" and it has 6 wires, which leads me to believe it's actually a model B.
The website states that model B uses I2C, while model A uses UART. Are they exclusive? Or can the model B use UART as well? Can you please help me determine which adapter I actually have, as well as firgure out the wire specifications?
Wires:
[red / black] - Power and ground (Other forum posts mention both 3.3 and 5 volts, which one is it?)
[yellow / blue] - I suppose this matches up with the white and yellow wires mentioned on the product page, which means it's either tx/rx or sda/scl.
[green / grey] - I have no idea, unless it's the additional sensor data for the model B, in which case why is the product labeled UART while the website declares it I2C based?
I apologize if I'm simply reading the wrong documentation, in which case please drop me a link and let me attempt to sort things out
Thank you,
-ctag