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
0
votes
0 answers

How to get specified data from stream?

I did simple app that connects to tcp stream server(OBD wifi connection in car). It connects and works pretty well - I can send messages and get answers from car. Now I want to read only specified data from answer. When I send request to car for…
Mateusz Tylman
  • 271
  • 1
  • 2
  • 17
0
votes
1 answer

Android OBD-II distance travelled (PID31)

I am trying to read the distance traveled since some codes were cleared from the OBD with an Android application. I have managed to get the RPM and fuel % to work but the distance traveled is higher than what I would expect. case 49: //PID(31):…
user3010383
  • 91
  • 1
  • 2
  • 12
0
votes
1 answer

OBD ll (elm327) data exchange over Bluetooth

I develope an android application which can read(and send) the data from OBD2 and show it in real time. My question is what the optimal frequency for reading data and sending commands to OBD? For example, when I make the initialization of OBD with…
Geka P
  • 587
  • 1
  • 6
  • 22
0
votes
2 answers

Android OBD command response not coming in Hexadecimal

I am using the distance command(0131\r) to get the Obd response from Car. But the response I am getting for distance command is like: N10DO DATA, 0PS0DDP, 0O0S, ADE, These are not in Hexadecimal. So how can i handle this?
Devil
  • 11
  • 3
0
votes
1 answer

Parsing a Very Simply Config File

I am writing a OBDII reading library / application in C++. Data is retrieved from the car's computer by sending a simple string command, then passing the result through a function specific to each parameter. I would like to read a config file of…
lkrasner
  • 112
  • 2
  • 13
0
votes
0 answers

Bearing angle of the vehicle

I have logged some data from OBD-II port of a vehicle using Torque app. One of the parameters logged via GPS is "Bearing" which I suppose is the angle between North and vehicle direction of motion (?). If that is true, should the difference between…
Jack
  • 1
  • 1
0
votes
1 answer

How to send/get request/response with obd2 ELM327 adapter for Android?

I am working on an android application which has to connect to OBD II ELM327 device via Bluetooth and has to get data(rpm, speed.. etc) from car.. Able to connect via bluetooth but Not sure how to write a code for communication ... Can anyone help…
user3832506
  • 93
  • 2
  • 4
0
votes
2 answers

pySerial reading data from AT commands

I'm having trouble reading the response from a RS232 OBD2 interface via pySerial. The code successfully enters the data, as I can see from a direct parallel terminal screen, but fails to read and print the response, regardless of the response. Right…
Codin Moldovanu
  • 90
  • 2
  • 10
0
votes
1 answer

unable to communicate with obd-II

I am trying to communicate with ECUsim 2000 which is OBD-ll ECU simulator (link). Yet, responses I always receive from device are something like "??" or "?" (when I run programs like TouchScan or OBD Auto Doctor, they successfully reads data so…
Gorkem Polat
  • 94
  • 2
  • 11
0
votes
2 answers

Create OBD2 MUT scanner by using Java FTDI lib - jd2xx - openport1.3 usb cable

I am trying to create a Java obd2 scanner app for my mitsubishi lancer mx 1997 which use MUTII protocol over OBD2. Can anybody help me to read MUT request codes using jd2xx library. I have tried the below program, but it didn read engine…
harshadura
  • 234
  • 1
  • 2
  • 11
0
votes
1 answer

Error Response from OBD-ii (7F 01 11)

I have been extracting OBD-II DATA from UART board (ELM327) on my TOYOTA INNOVA. It responded correctly few weeks before and gave all supported sensor values. But now, for every response, ECU responds "7F 01 11". Please tell me what exactly this…
0
votes
2 answers

OBD2 serial command over wi-fi

I'm looking for sending serial commands to an OBD-II wi-fi device via my iPad. In order to do it, I've use CocoaAsyncSocket lib to connect my iPad to the OBD-II and it works fine. Then, I've send a command "010C/r" to the device to get the rpm of…
user3684398
  • 99
  • 1
  • 11
0
votes
2 answers

Reading VIN number via OBD-II (from Citroen, Peugeot, Fiat)

I built a simple Android app that reads in basic car parameters via OBD-II like VIN number and battery voltage. It work nice but I have problems retrieving VIN number from non-German/non-American cars. So for instance in case of Citroen or Fiat one…
user3628996
  • 9
  • 1
  • 4
0
votes
1 answer

Inappropriate response from OBDKey (inputStream)

I'm currently developing an iPhone application regarding the communication between iPhone and OBDKey via wifi. So far so good. I managed to establish the TCP/IP communication using CFStream. My problem now: When I send some message to the OBDKey,…
0
votes
1 answer

Communication with OBD-II using Windows Phone

I have a problem with sending and receiving data from elm327 device. I tried to connect to the device using channel 01 (on Bluetooth) but it doesn't matter what command I send, I just receive the string "AT+BRSF=24\r" as an answer. I tried also to…
Arie
  • 179
  • 2
  • 16