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 the OBDII work (Receive commands and send responses) even with the vehicle's engine off?

Why does my OBDII (Bluetooth adapter) generate a response (for example, using PID command 0105 among others) even when the vehicle's engine is off? It is expected that when the vehicle's engine is off the response would be NO DATA or something…
1
vote
0 answers

installing obdé library

i am trying to use obd library in python for my project; however when instaling it; i get the following problem: PS C:\Users\DELL\Documents\OBD\project2> pip install "obd==0.7.1" Could not import runpy module Traceback (most recent call last): …
SAM SIMA
  • 11
  • 1
1
vote
0 answers

How to send “AT” commands over Ionic(Angular)?

I would like to program an app where I can read live data from an ODB2 ELM327 BLE connector. For this use the BluetoothLE plugin. I already get a connection, but I don’t know where and how to send my “AT” command to get live data. On which service…
1
vote
2 answers

How to parse multiline response of 09 04 PID from OBD adapter in Android

I am getting raw data from OBD adapter, It is getting parsed for single line but for multiline response I am not able to parse. I used below code to parse String hexaData = getResult(); // getResult is here the raw…
1
vote
1 answer

How to send more than 8 byte message in a single frame using ELM327 device in KWP2000 protocol

I tried sending a Higher payload data frame (containing more than 8 bytes) in KWP2000 protocol but I'm getting '?' response fron the ELM327 device. In CAN this can be achieved by using Flow control and sending the data in multiple lines seperately…
aryans
  • 11
  • 1
1
vote
0 answers

React Native BLE with OBD devices

I am currently trying to create a React Native app that lets me connect to my OBD2 device and read data about my car from it. However, I am struggling to figure out the "reading data" step. I am able to connect to the device and see characteristics…
1
vote
0 answers

Can not communicate sparkun OBDII UART with Raspberry pi 4 over (minicom)

I'm trying to use Sparkfun's OBD-II-UART board to interface with a CAN network using a Raspberry pi 4. Upon connecting to sudo screen /dev/ttyAMA0 and when I send the commands, I'm not able to get any response from the OBD-II-UART board. Can anyone…
Binjaw
  • 11
  • 2
1
vote
1 answer

Python obd doesn't connect raspberry pi to car

I have a Raspberry Pi 3 and I'm trying to hook it up to my car's OBD. I've got a Veepeak Mini Bluetooth OBD2 Scanner and I've tested it works perfectly fine with Torque on Android. [UPDATE AFTER UPDATING TO THE LATEST VERSION OF pythonOBD] It turns…
user2565010
  • 1,876
  • 4
  • 23
  • 37
1
vote
0 answers

Can I get 2 L9637 iso9141 single-wire transceivers talking to each other with an ESP32?

Eventually, I want to tap into the K-line of my Kawasaki Ninja with an (ISO 9141) OBD reader, using an ESP32 WROVER and a L9637 single-wire transceiver. To get there, I'm at the stage of confirming my L9637 chip is wired properly to my…
Rick_CBR929RR
  • 197
  • 2
  • 15
1
vote
1 answer

How to get raw CAN traffic from a car with the help of OBD2?

I made a device with an OBD2 cable, soldered its CAN-H and CAN-L lines to a USB-CAN interface called USBtin (https://www.fischl.de/usbtin/). When I tried mode 1 of OBD2, I received just one reply for one query like: slcan0 7DF [8] 02 01…
1
vote
1 answer

Python OBD issues

I'm trying to get this cable to work but unfortunately impossible to use the OBD python library here is the error returned someone would have any idea ? or tell me if this cable is accountable? and if it is possible to do it from my pc. Thank a…
1
vote
1 answer

Unable to read data from characteristic on Android but able to read on iOS Flutter Blue

I am unable to read data from characteristic on Android but have been able to read the data on iOS device. Can anyone tell me what I'm missing so that data can be read on Android too. Connecting the device:- try { await device.connect(); }…
vibu
  • 77
  • 1
  • 8
1
vote
1 answer

Is it possible to connect and read data from OBD Bluetooth LE adapter using Android GATT interface?

I am trying to read data from a obd2 Bluetooth LE adapter. I am able to connect to the adapter (Carista). I know this because onDescriptorWrite callback is called but I never get a response after sending a command using the write characteristic…
Ali Feili
  • 61
  • 1
  • 9
1
vote
1 answer

Cannot read data from ELM327 device with PySerial

I am trying to communicate with a ELM327 device using PySerial. However I am not able to read any data from the device. Here is the results of what I have tried in the terminal interpreter. >>> import serial >>> ELM327 =…
Chadley Maggott
  • 336
  • 1
  • 4
  • 8
1
vote
1 answer

OBD2 Simulator: unable to send AT-commands

I have been trying to use OBDSIM (https://icculus.org/obdgpslogger/obdsim.html) to simulate a car. My plan is to write a mobile application to read data from a real car using an OBD2 dongle. For testing purposes, using a simulator is the best way to…
Ramon Brokking
  • 55
  • 2
  • 2
  • 10