Questions tagged [obd-ii]

OBD-II is an automotive term referring to the diagnostic system of a car. The OBD-II specification includes standardized hardware and message protocols. With an OBD-II connector, it's possible to read the diagnostic data from the car, e.g., vehicle speed, RPM, mileage, airflow.

External resources

323 questions
1
vote
1 answer

Does can bus pinout differ in cars?

I am doing research on CAN BUS and CAN Protocol. I want to know that, does each car model has different pinout on OBDII port? Or Is it same on all cars? P.S. If it differs, is there a database for it?
1
vote
1 answer

Android send commands to obd every sec or less for real time data

For now my app have a chat that comunicate via bluetooth with an OBD port in the car. Now i want upgrade my project for real time information, so i want create a method that repeat some Array with a list of commands and repeat the…
Dario
  • 732
  • 7
  • 30
1
vote
1 answer

Android and OBD port comunication received data in single row

I implemented this app by using a Message Chat via Bluetooth in Android. The app works, it's connect to the obd port and exchange message with it but the problem is that i receive data in multiple rows like this: Why the reply from the obd port…
Dario
  • 732
  • 7
  • 30
1
vote
0 answers

Arduino detect OBD init sequence on digital pin

I am developing an OBD simulator using an Arduino Uno so that I may then develop another Arduino to read the OBD data from the simulator. This is my first Arduino projectand I am find with all the serial comms but the one thing I cannot figure out…
hairyone
  • 439
  • 1
  • 5
  • 16
1
vote
1 answer

How do ODB II Scan Tools query the Amount of PIDs They're Able to?

From what I know from the ELM327: OBD to RS232 document , using multi-line responses, it is possible to receive up to 6 PIDs. I would like to know how it's possible for scan tools to receive over a dozen PIDs at once.
SE Student
  • 35
  • 11
1
vote
2 answers

Is it possible to request all desired ODB II PIDs via a .dbc file?

What I'm looking to do is request all desired PIDs via a .dbc file made in Vector db Editor++. I understand enough about CAN communication to be able to do this with 1 or 2 PIDs because the DLC allows up to 8 bytes of data per CAN message. I am…
SE Student
  • 35
  • 11
1
vote
1 answer

pip installation failure on raspberry pi

i have the new raspberry pi and i am trying to install package "pip install library" However an error occurs " could not create 'usr/local/lib/python2.7/dist-packages/obd' : permission denied" IF anyone could help that would really be appreciated.…
John
  • 39
  • 1
  • 6
1
vote
0 answers

Getting VIN number from Car's OBD-II Port

I'm currently trying to build a device that can read Car's VIN number and send it over Bluetooth connection to an Android phone.. Yes, I'm aware that not all car support this. So far what I'm aware of is by the ELM327 (to communicate data from car…
1
vote
1 answer

OBD2 Freeze Frame DTC vs. Stored / Pending / Permanent DTC

I'm developing an OBD2 scan tool with the help of a hardware OBD2 simulator. I'm getting an inconsistency between the DTC returned by 0202xx (xx being the number of the freeze frame) and 03 / 07 / 0A. How do the Freeze Frame DTCs correlate with the…
DrMickeyLauer
  • 4,455
  • 3
  • 31
  • 67
1
vote
3 answers

Swift how do I send AT commands to OBD2 device?

I already know how to establish a wifi connection with the OBD2 adapter, but I have no idea how to request information from it. Like 010C is the command to return the engine RPM in hex form, but how do I even send "010C" to the OBD2 adapter? I can…
modernwar24
  • 71
  • 1
  • 7
1
vote
2 answers

MCP2515 OBD II multiple PID

I am using a raspberry Pi and arduino CAN schield which is using a MCP2515 and SPI to request a single OBD II PID. I am able to request and receive a single PID from my OBD emulator (Freematics). I know that is possible to request multiple PIDs (up…
mohsen_og
  • 774
  • 1
  • 9
  • 31
1
vote
1 answer

Sending vehicle specific OBDII commands

Has anyone successfully sent a vehicle specific OBDII command through Bluetooth? I'm working on a Android app that sends OBDII commands to a OBDII Bluetooth adapter that will be connected to the cars OBDII port. But when I want to send a vehicle…
swess
  • 171
  • 19
1
vote
0 answers

Bluetooth to wifi pass through, not tethering, and not wifi to bluetooth

Im wondering if there's a way of bridging or using a 'pass-thru' to send data from a bluetooth connected device over wifi to another android device. The real world scenario is; I have a bluetooth OBD device (for reading your car specs in…
1
vote
1 answer

OBD II device returns response with different length

I am working on an Android app and whenever my client tests the app with his car, he is getting response with different length and it is failing. It so happened in my code that I need to handle the length of the message to proceed further. Any idea…
UVM
  • 9,776
  • 6
  • 41
  • 66
1
vote
1 answer

How to use the ObdRawCommand from pires OBD-II Java API to send custom commands

Does anyone know how I can send custom commands using the ObdRawCommand in pires Java api? I have little to no experience with this api and I have contacted the creator but I haven't gotten any answer yet. I have searched online for some project…
swess
  • 171
  • 19