Forum >Re: Introducing the OBD-II UART Adapter for Arduino (with built-in MPU-6050)
Telematics General

Re: Introducing the OBD-II UART Adapter for Arduino (with built-in MPU-6050)

userHead johanhenselmans 2013-06-15 22:27:19 14665 Views7 Replies
[quote="stanleyhuang"]
The OBD-UART adapter I received has a blue/yellow wire. Which one is SDA, which one is SCL?
[/quote]

How many connectors does your adapter have? If it's 2, you may have ordered the standard version without I2C accelerometer.

[quote]Furthermore I wondered how the device is powered: is it via the 12 V OBD bus or via the 5V wire?[/quote]
The adapter is powered by the 12V from the OBD port. The 5V/GND connector is used to power Arduino with regulated DC 5V.
2013-09-25 03:34:29 I am positive the connectors are correct.  Mine is working in this configuration.  I know what you mean about not having the pintout for the sensor board.  The site where they are sourced from doesn't even have the right picture.  I used a meter to verify where power and ground were for all UART plugs and for the I2C.

When I first tried mine out, I had the same blank 'stare' from the display.  It did nothing.  I don't know what changed but it is working now.

I haven't noticed the red light being on, on the adapter, but it wouldn't surprise me.  The problem isn't communications when the adapter is plugged in, it is power.  For instance, if you have the adapter unplugged, and you are running the board and display off of USB power, then plug in the adapter, the display will gradually go dim until it is blank.  At that point my computer shuts down the USB ports as it detects too much power being drawn.

I have found that patients is a virtue with this setup and software.  You will do lots of resets and wait.

I am curious about your SD card, as I am having problems.  Would you join this thread here? [url=https://www.dfrobot.com/forum/index.php?topic=904.0]https://www.dfrobot.com/forum/index.php?topic=904.0[/url]  I'm curious to know exactly what card you are using, and if you are using the Mega board.

Thanks. Sb
userHeadPic sbirdranch
2013-09-24 20:07:39 Are these connectors connected correctly? I had my connectors upside down. When plugged into USB the red LED in the UART adapter lights up. I can see the megalogger program on the TFT screen which I had uploaded and SD detected, but when I plug into my Jeep's OBD port I get a flickering blank screen like the screen is constantly rebooting. After seeing this pic above I reversed the connectors to find that when I plug into USB on PC the screen does not work at all.
While in the OBD port the screen is still blank but remains on constantly with the power on LEDS on Arduino (green) and I/O board (red) lit. Hopefully I haven't damaged anything while having the connectors reversed but I could not find any instructions and the O/I board has no schematics.
userHeadPic mattt
2013-09-19 09:10:30 An update to this discussion seems in order.

As of a shipment received last week, of Stanley's Kit 3 which is supposed to have (and I believe does) the OBD-II version B adapter (with additional gyro, accelerometer, magnetomoter), you only have two plugs.  Two plugs total.

The OBD-II plug is a 4 pin plug with power and serial lines.  The other is a 4 pin plug, with only 2 pins populated.  This later plug is for the I2C comm.  The wire colors match the description.
userHeadPic sbirdranch
2013-09-06 14:59:53 Can this device provide any function of sending commands to the car such as: rolling down the windows, or tuning the radio, etc.? userHeadPic quigath
2013-06-28 10:34:08 Could you please update the instruction on [url=http://www.arduinodev.com/hardware/obd-kit/]http://www.arduinodev.com/hardware/obd-kit/[/url] about the colors? It is very confusing, as I did not get any signal on green and white that were supposed to be serial... userHeadPic johanhenselmans
2013-06-27 22:27:03 [quote="johanhenselmans"]
The OBD-UART adapter I received has a blue/yellow wire. Which one is SDA, which one is SCL?
[/quote]

[quote="stanleyhuang]
How many connectors does your adapter have? If it's 2, you may have ordered the standard version without I2C accelerometer.
[/quote]

Nope, I have three connectors:

red/black
yellow/blue
green/white

[quote author=johanhenselmans"]
Furthermore I wondered how the device is powered: is it via the 12 V OBD bus or via the 5V wire?
[/quote]
[quote author=stanleyhuang]
The adapter is powered by the 12V from the OBD port. The 5V/GND connector is used to power Arduino with regulated DC 5V.
[/quote]

OK, thanks.
userHeadPic johanhenselmans
2013-06-17 17:36:01 Was wondering if there is an easy way to use the UART adapter on a software serial port instead of the hardware pins 0 and 1. Using an UNO, so only one hardware serial port.

I ask this because I would like to use the hardware serial port to communicate with my computer (connected by USB) during debugging. Is there a better way to accomplish this debugging?



userHeadPic gprime