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.
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.