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
2
votes
1 answer

How to communicate with a specific ECU using its physical address

Each time I send a query to the OBD2 I get two responses. For instance, if I send 0105, I get 41 05 5C 7F 01 12 If I turn on header with AT H1 and then send 0105, I get 83 F1 11 41 05 5C 83 F1 18 7F 01 12 I only need the first response, the one…
shups
  • 31
  • 6
2
votes
1 answer

Android BLE peripheral disconnects with status code BLE_HCI_INSTANT_PASSED(0x28)

My application is able to connect to the BLE peripheral(which is an OBDII/J1939 device) device successfully. 2018-01-24 14:58:38,413 INFO LogUtil - GATT Server Status = (0) : BLE_HCI_STATUS_CODE_SUCCESS(0x00) 2018-01-24 14:58:38,414 INFO …
2
votes
0 answers

Android Shared Array with dynamic OBD commands

In my app I established a communication with car via OBD port and Bluetooth. I have a SharedPreferences that contains the preferences of commands to shown set by a Preference Activity. I would to use a Shared Array of commands that can change their…
Dario
  • 732
  • 7
  • 30
2
votes
2 answers

How to take third byte from NSData (OBDII)

I'm trying to make iOS app which will connect to a car with phone via OBDII (BLE). I can get a connection with the module and ask about RPM's, and the answers are returned in parts. First - 010C (Data used to get RPM's) then - 41 0C 0A 98 \n \n To…
2
votes
1 answer

Python-OBD module object has no attribute "OBD"

Having problem in bootstrapping my OBD scanner using python-obd library. I'm more of a Ruby guy, new to python. Doing the python-obd's tutorial code and terminal answers this: File "car.py", line 2, in import obd File…
aabulkhairov
  • 366
  • 2
  • 9
2
votes
1 answer

OBD II App in Visual Studio(C#) with Xamarin

I am working on an Android App that receives Data from a OBD II Bluetooth Adapter. Setting up the Connection between App and Adapter works but when I send commands to the Adapter I wont get the right results. It either returns: +CONNECTING< or…
Caspar
  • 21
  • 1
  • 3
2
votes
1 answer

Converting Hex answer to Dec?

I need some help in converting the answers I get from my OBD adapter in my car to decimal and then later adding whatever value comes out of the conversion to a formula and printed out. private class ConnectedThread extends Thread { private…
swess
  • 171
  • 19
2
votes
0 answers

Not getting proper voltage reading from my OBDII reading app

I'm working on a OBDII reading app to read basic data such as (in this case) voltage. I've tried other apps and it works just fine to read the voltage of the OBDII adapter, so there's nothing wrong with the adapter itself. I'm using the OBDII api…
swess
  • 171
  • 19
2
votes
0 answers

Connecting to OBD ELM327 via Android

I am creating an Android app that connects to OBD ELM327 via Bluetooth, similar to the BluetoothChat. I have currently successfully connected to the device using a socket but am struggling with the Input and Output streams. I currently have the…
JoelArgls
  • 23
  • 6
2
votes
2 answers

Finding vehicle fuel-air equivalence ratio with OBD

I'm trying to write an app that communicates with the OBD port in a car and (among other things) find the AFR, but my car doesn't seem to support the fuel-air equivalence ratio command 01 44. I see that there are two sets of PIDs for the oxygen…
wlyles
  • 2,236
  • 1
  • 20
  • 38
2
votes
1 answer

Headlight status with OBD-II

I'm developing an Android app that uses an ELM327 device for OBD-II communications, and I'd like to be able to get the status of the headlights. Specifically, I would like to know if the driver has turned them on or not, but it would also be…
wlyles
  • 2,236
  • 1
  • 20
  • 38
2
votes
0 answers

Can we communicate with obd devices using php, If yes than how and if not what web language should be used

I have to make a web app in which we have to get response from obd device (like car speed, temperature, battery, tracker power) and show all that results on website. So, how can we connect to obd devices. Can this be done with php language. I am new…
Jp Singh
  • 51
  • 1
  • 2
2
votes
2 answers

Is it possible to read VIN from CAN data?

Will VIN information be available from CAN data? Does any ECUs are module broadcasts VIN information on CAN channel?
Kumar
  • 616
  • 1
  • 18
  • 39
2
votes
2 answers

OBD II with STM32

I want to make an OBD II Reader using my stm32f4 discovery board. I googled for the some documentations on what kind of CAN frame needs to be sent to the OBD port and what is been received from it. Please help me in this context, I don't want to use…
Mridul Pandey
  • 382
  • 4
  • 7
2
votes
2 answers

Raw CAN data from OBD2

I am new to OBD 2. I want to get RAW CAN data from my vehicle(Duster from Renault,India). I am using OBDlink connector. Basically my question is how to extract only CAN data from vehicle OBD connector? I want to get the data from CAN. Is this…
Atul Charate
  • 31
  • 1
  • 5