Questions tagged [elm327]

The ELM327 abstracts the low-level protocol and presents a simple interface that can be called via a UART, typically by a hand-held diagnostic tool or a computer program connected by USB, RS-232, Bluetooth or Wi-Fi. New applications include smartphones.

The ELM327 is a programmed microcontroller produced by ELM Electronics for translating the on-board diagnostics (OBD) interface found in most modern cars. The ELM327 command protocol is one of the most popular PC-to-OBD interface standards and is also implemented by other vendors.

The original ELM327 is implemented on the PIC18F2480 microcontroller from Microchip Technology.

ELM327 is one of a family of OBD translators from ELM Electronics. Other variants implement only a subset of the OBD protocols.

81 questions
1
vote
1 answer

How to get some CAN address messages with ELM327

I'm trying to get some CAN messages with ELM327. But I couldn't handle it. Please let me know about ELM327's AT command. For example, How can I get only 1AA and 2BB address messages? I coudn't understand AT CF & CM command. I tried below command but…
toru
  • 11
  • 2
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
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
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

How do I establish communication with ELM327 OBDII WiFi device with ESP32 module

I have a project where in I have to develop an app with the help of IoT which fetches data of fuel tank level value and odometer value as these values are not available in normal OBD available in the market. I have found that ELM327 communicates…
nerd_god
  • 25
  • 1
  • 6
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
0 answers

Set up ELM327 to behave like FTDI - just forwarding commands without OBD init

My first question on here so I'm not sure if that's the right forum. I've connected with my car's ECU K-Line through FTDI-OBD cable and terminal. Found it's something like KWP2000 but without preinit hassle. I just send it commands on 9600 baud,…
Johnny
  • 11
  • 1
1
vote
1 answer

Bluetooth OBDII / ELM giving duplicate data as response

I a HC-05 connected to an Arduino's Serial 3. I have also been able to successfully pair with an OBD2-ELM adapter in the car, I have a code in my sketch to do simple communications with the OBD/ELM if (Serial3.available()) { …
shups
  • 31
  • 6
1
vote
1 answer

How to set timeout using AT commands and ELM327

Hello I'm working on Android App that can read data from CAN bus. The interface I'm using is ELM327. The problem is that this interface uses Bluetooth. So I cannot read all the data from CAN bus because after half of the sec the buffer is full. The…
Matt199
  • 264
  • 2
  • 18
1
vote
1 answer

How do ODB II Scan Tools query the Amount of PIDs They're Able to?

From what I know from the ELM327: OBD to RS232 document , using multi-line responses, it is possible to receive up to 6 PIDs. I would like to know how it's possible for scan tools to receive over a dozen PIDs at once.
SE Student
  • 35
  • 11
1
vote
2 answers

Is it possible to request all desired ODB II PIDs via a .dbc file?

What I'm looking to do is request all desired PIDs via a .dbc file made in Vector db Editor++. I understand enough about CAN communication to be able to do this with 1 or 2 PIDs because the DLC allows up to 8 bytes of data per CAN message. I am…
SE Student
  • 35
  • 11
1
vote
1 answer

Android : filter many CAN IDs when monitoring CAN Data with ELM 327 throught Bluetooth

I am developping an Android app which will display CAN data using an ELM 327 in Bluetooth. Following the ELM 327 Datasheet, I can filter the received data by sending AT CRA hhh (hhh = CAN ID) before monitoring with AT MA. My objective is to display…
1
vote
1 answer

OBD Mode 07 Multi-Frame

I am trying to parse the message coming from an OBD device for Mode 07, and I am having a tough time with it. The following is the response I get from the device. 00 10 08 10 0A 47 04 01 07 02 07 00 10 08 21 03 07 43 07 00 00 00 00 18 06 47 02 01…
Clay
  • 635
  • 6
  • 19