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

Connecting to OBD adapter with Bluetooth using Android fails with "Software Caused Connection Abort"

I have searched this and other sites, have tried many different suggestions, but it seems that I'm stuck now with my try-and-error approach. Here is the simple code with which I have tried the following things on my Android HTC Desire X (Jelly…
S F
  • 11
  • 1
  • 4
0
votes
0 answers

What is the most elegant and efficient way to log obd data?

So I have a poller that polls a device for a response that looks like this: {"mode":"41","pid":"0C","name":"rpm","value":1817.75} I have multiple pollers with similar responses. Say, another poller with the following…
Arvind
  • 179
  • 2
  • 4
  • 11
0
votes
1 answer

obdII bluetooth with CANCaseXL tool

This is Kishore I use ELM327 based OBDII to Bluetooth adapter to monitor the CAN traffic in the Passenger Vehicle. Said otherwise, our intent is to deploy EML327 as a CAN2BT Dongle (for CAN message Rx purposes). I would love to use the Monitor All…
0
votes
1 answer

i want data from obd using by bluetooth sample app

I want receive data form obd by using Bluetooth app but data is comes is split, what i have to do..??? I want the data fully. help me!! { case MESSAGE_STATE_CHANGE: if(D) Log.i(TAG, "MESSAGE_STATE_CHANGE: " + msg.arg1); …
0
votes
1 answer

Python .readline()

First let me preface with I am new to python, no ego here. I have this code I cobbled together from various sites the ultimate goal of which being that it would output a hex code to an OBD-II chip and wait for a response. This response, also HEX,…
asdf1234
  • 5
  • 3
0
votes
2 answers

How long should I sleep my thread while waiting for OBD data from ECU

I am developing an OBD2 scanner app for windows using C#. I was hoping someone could tell me the optimal time to wait for a response (using thread.Sleep()) from the car's ecu before reading the response from the serial port. I am developing using a…
Captain Kenpachi
  • 6,960
  • 7
  • 47
  • 68
0
votes
1 answer

OBDSIM gui plugin on windows

i am trying to develope an application on android that connects to ELM372 and using obdsim to simulate it the problem is whenever i do this obdsim.exe -g gui_fltk i get Couldn't find generator "gui_fltk" and it is not present in the list…
elmemo14
  • 1
  • 1
0
votes
1 answer

Parsing Diagnostic Trouble Codes(DTC) data to use in Android

I have some code that receives data from an OBD-II adapter and runs it through some regex so that I can identify the part that contains the Trouble Codes. This is it. dataRecieved = readMessage; RX.setText(dataRecieved); if((dataRecieved != null)…
v3rse
  • 68
  • 6
0
votes
2 answers

Serial IO: sleeping when communicating with a serial device (via OBD2)

I am trying to use a Java library to communicate with a car via the serial port using OBD2 protocol. The protocol is simple: you send an ASCII string (e.g. "01 0d"), and the car answers with an ASCII value. I've found many libraries in the web, but…
esoni
  • 1,362
  • 4
  • 24
  • 37
0
votes
1 answer

OBD2 is giving me a bus init error

I am working with a C# to build a application that would be similar as the other OBD2 reader applications. I have tested a OBD2 adapter which is connected troughthe Bluetooth port to my PC. I was testing this adapter with the following program…
user123_456
  • 5,635
  • 26
  • 84
  • 140
-1
votes
1 answer

How to iterate through OBD-II write/read requests with CoreBluetooth in Swift

I am trying to continually iterate through my write/read requests to get live data from the OBD-II bus on my vehicle. I am using CoreBluetooth in Swift to connect and communicate with my OBD-II BLE adapter. My goal is to constantly update the live…
-1
votes
1 answer

How to export the data - Python

I want to export the real time data that I am taking from my car to a .txt or .csv file (or something else that I don't know). How can I do that? Here's the documentation for obdII. import obd #import required libraries import time import…
BANI
  • 9
  • 4
-1
votes
1 answer

Access OBD2 data remotely

I am really confused about the operation of the OBD2. I have always thought that it is read only, and I see these apps starting there car remotely using OBD dongles. How do they get the stats remotely? If I would to use an arduino with GSM, what…
Sifaks Agizul
  • 71
  • 1
  • 11
-1
votes
1 answer

How to read multiple OBD-2 CAN sensor data simultaneously with 2 PCBs

I'm currently using an STN2120 on a custom slave PCB that will be plugged into the OBD-2 port of a vehicle. The STN will be interpreting the CAN protocols, and passing engine sensor information to a master PCB via UART. The ATMEGA2560 MCU on the…
Andrew
  • 33
  • 5
-1
votes
1 answer

Engine braking from obd2 data

so i have this data frame comming from OBD2 : Time Engine RPM [RPM] Vehicle Speed Sensor [km/h] Air Flow Rate from Mass Flow Sensor [g/s] pke fuelflow fuelcons 0 2020-06-01 06:58:41.245 0.0 0.0 0.88 0.000000 …
1 2 3
21
22