How to read Sensor Data (Serial Print) from different Power Circuit?

Hello,
this Question may Sound stupid, but Im very new into this stuff.

So basically, Im trying to read out Data from my Cars OBD2 Port. (Pin 9 in the Pinout Image)
And at the Same Time, I want to Serial Print the Data to my Computer.
How exactly can I do this? Do I just ground my Arduino with my Car while using it with the USB Connector?
(Sorry for my bad english btw)

I would start by looking at several OBDII scan tools that have a cable to a laptop or something like that. That will give you an idea of how to do it. It will be much easier to transfer the data to the laptop and print from there rather then having the Arduino format it etc. You can use the redirection key ">" in dos to send it to the LPT or a file. ZI do not use windows but this worked many years ago. COM? > LPT2. Or you can send it to a file. using ">>" would append it to an existing file. My experience ended with win 95. I then switched to Linux, hollered at it for a few days and never looked back.

Hey,
thanks for your answer!

I know that I get a clean output from the pin, since I have already seen other threads on the subject.

However, I just want to see the output signal in the Arduino IDE software to then analyze the output.

So basically my question; should this work?:

I use a FreeMatics ODBC dongle and a ESP32 to readout my auto's numerous CPU's.

Putting spurious signals onto the ODBCII bus will cause things to go wrong.

Basic answer. No.

From the Uno to the ODBC port you will want a ODBC interface module.

You sure?
I know that BMW allow OBD readout from a single wire for the RPM.

Thats basically all I need.

Do it how ever you want and let us know how it works out for you. Good luck.

Why did OP ask if he knew the answer. I bet there is also a ground connection, that makes it two wires.

Thanks. But still.
My question is not quiet anwered yet xd.

Again. How do I display the output of the Pin in IDE if the OBD is in a different circuit as the Arduino?
Do I just ground the Arduino to the Car and power it via USB? Would that work?

Yes, that will work, but it is not particularly safe for the equipment if the vehicle engine is running.

The automobile ground connection should be made at the same connector as the data connection. Avoid large loops and long wires as those pick up EM interference.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.