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

Getting "No data" response from BOD II in android

I have developed application to receive OBD II data using ELM 327 (Bluetooth) in android. Application is working in OBD2 simulator,I10 but it is not working in Suzuki. Getting response like below : Failed to run command. -> Error running 01 46,…
GNK
  • 1,036
  • 2
  • 10
  • 29
1
vote
0 answers

How to parse the data from OBD II simulator for every 2 seconds in android

I have developed the android application to parse the data from OBD II simulator through Bluetooth for every 10 seconds. Now I am trying to parse the data from OBD II simulator for every 2 seconds. Is it possible ? Note : I have not mentioned…
GNK
  • 1,036
  • 2
  • 10
  • 29
1
vote
1 answer

OBD2 - 0x7E8 Messages greater than 8 bytes - ISO 15765-2

My question concerns 0x7E8 response messages where the message is greater than 8 bytes. I am sure OBD2 experts won't need much of the detail below but for the sake of clarity...... When a diagnostic device (eg scantool) sends a 0x7DF message with a…
IanF
  • 11
  • 2
1
vote
1 answer

Accurate car fuel consumption with OBD II

I want to calculate fuel consumption of a car quite accurately with a raspberry pi. The car I use is a Citroen and has not many available PID for OBD II. Here are the available PIDs (in decimal) : 1, 3-7, 11-15, 17, 19-21, 18, 31-33, 35, 46, 48, 49,…
Axel Puig
  • 1,304
  • 9
  • 19
1
vote
0 answers

Problem connecting to obd-ii via python-obd

I have an orange pi and I have installed python-obd library, it throws an exception when I try to connect or even when I try to scan the ports, apparently it comes from the pyserial library (version 3.4), this is the error it gives: import obd ports…
aexposito
  • 93
  • 7
1
vote
1 answer

Looking for Information on the Bluetooth LE "Indicate" Behavior

I'm working on a Bluetooth LE project, and it's going fairly well. However, I am now up to supporting a Kiwi device, and the rules are changing a bit. Before, I would use various combinations of BLE read and BLE write properties on vendor-specific…
Chris Marshall
  • 4,910
  • 8
  • 47
  • 72
1
vote
2 answers

Android bluetooth connection to ELM327/OBD2 device

I tried to create a simple android application to connect to my ELM327 device to get some car diagnostic data. But I wasn't able to set up the bluetooth connection b/t my android phone and my ELM327 device. My code is very simple as below: public…
1
vote
2 answers

Python-OBD most commands not supported

i'm trying to interface a raspberry Pi 3B+ to a Bluetooth ELM327 OBD scanner but i'm having some troubles. I've connected the raspberry to the OBD Scanner by running the following commands from terminal: bluetoothctl power on default-agent pair…
1
vote
0 answers

Issue while importing android.car package

I am trying to import an android.car package, but it's not showing up. I can hardly find any useful tutorial to do so. Looks like I'm missing out something really elementary. If someone can guide in a step by step way. I will be really…
user2176576
  • 734
  • 3
  • 14
  • 39
1
vote
1 answer

Is there any code for get original Distance travelled in my car via OBDII in case of DTC Code clean-up

now at i use o1 31 PID to get Distance travelled but this give only Distance traveled since codes cleared-up not total travelled KM
Himalay
  • 162
  • 1
  • 13
1
vote
1 answer

How to fix this race condition in Objective C / async problem? 'index 1 beyond bounds for empty array'

Hi i have a Problem with this Library: LTSupportAutomotive I´m a swift programmer so not really good in objective c. how to fix this race condition? I hope someone can help me. '*** -[__NSArrayM insertObject:atIndex:]: index 1 beyond bounds for…
Skyborg
  • 854
  • 13
  • 13
1
vote
1 answer

How to get the battery voltage of a car using OBD-2?

I'm developing an mobile app for OBD2 dongle using BLE, but I am facing trouble in getting the battery voltage of the car. Firstly, I am unable to find any specific PID for battery voltage and second I have tried some PIDs which I found on wiki but…
Harshit
  • 21
  • 1
  • 1
  • 3
1
vote
1 answer

Bluetooth Chat App answering back same text I sent

Im using one app to send data to the elm327 through bluetooth and I'm trying the AT Z command but everything I get back from the OBD2 is AT Z too, my code is missing something or its supposed to answer like that ? I expected the AT Z to return…
Predule
  • 27
  • 7
1
vote
1 answer

Bluetooth Unable to connect to OBD2

I'm using one app that I found on github to be able to test and see how bluetooth chat works with my ELM327 but when I pair and try to connect with it the connection fails. After that I tried getting my old phone and setting the connection with it…
Predule
  • 27
  • 7
1
vote
0 answers

simulating a CAN / OBD2 vehicle using python-can

I wrote a front-end demo app that simulates access and display of vehicle data. I'd like to extend my demo to access a simulated vehicle CAN-bus / OBD to have my demo retrieve standard and non-standard -- custom specified -- vehicle data. I hoping…
user2193970
  • 345
  • 2
  • 10