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

ELM327 Bluetooth communication issue

I made an Android app to communicate with an ELM327 OBD-II dongle via bluetooth. When I test the app with a bluetooth serial terminal (CoolTerm / macOS) the app is receiving and sending data without an issue. Using my app to transfer commands to…
Martin Pfeffer
  • 12,471
  • 9
  • 59
  • 68
0
votes
0 answers

How to Send/Receive data via bluetooth android api

I have a project in NativeScript and i'm accessing the bluetooth android api via JavaScript as in this example: android.bluetooth.BluetoothAdapter.getDefaultAdapter(); I am able to find the paired devices and connect to them. I wanted some…
0
votes
1 answer

Q: Different behavior on different application (always repeat the previous command (by default the version - ATI))

I was poking around with a elm327 and found that according with the type of application I use some were always returning the same response from the elm327 (the last executed command, which was the ATI (the version) in my case). If I was using an…
0xCDCDCDCD
  • 364
  • 1
  • 3
  • 16
0
votes
1 answer

OBD returns different number of commands supported everytime I run it

I am using python OBD library and every time I run connection_to_obd = obd.OBD("/dev/rfcomm0", baudrate=38400, protocol="5", fast=False) even with auto protocol to establish a connection this happens 7 commands supported or 45 commands…
0
votes
1 answer

How to read elm327 wifi obd2 from raspberry terminal or python code from raspberry?

I have bought a OBD2 Wifi connector from amazon (https://www.amazon.com/dp/B06XRVYDMG/ref=cm_sw_r_sms_tai_2lkxAb...#immersive-view_1516052760812), I'm able to read the data from their app. But when I'm trying to read from Raspberry Terminal through…
0
votes
1 answer

Reading OBDII data with Java

Is there a simple way to make a Java program to read data from an OBDII v2.1 device (ELM 327) and specifically print the data human readable in screen. For example: public class OBDIIReader { public static void main(String[] args) { // …
Jaime
  • 1
  • 1
  • 1
0
votes
1 answer

Android phone and bluetooth device communication error

I am modifying an Android bluetooth sample program to realise the communication between my android phone and an ELM327 module through Bluetooth. The application is build from the program using Android studio. The application works very well between…
affeto
  • 351
  • 6
  • 15
0
votes
1 answer

Is ELM327 able to auto-connect to my android phone? How to know if it's already connecting on my phone without open OBD2 app?

I use ELM327 OBD2 Bluetooth. My use case is auto-connecting my Android phone to OBD2 via Bluetooth. But it seems OBD2 Bluetooth can't auto connect to my device. It does have pairing, but I didn't know is it really connected to my phone or not. I use…
Pewh Gosh
  • 1,031
  • 1
  • 11
  • 29
0
votes
0 answers

Send CAN Message

I'm trying to use my smartphone to move my cars windows up and down. I recorded the CAN traffic two times by using AT MA. First time I just turned the ignition on. The second time I pushed the buttons for the electric windows. I guess the PIDs for…
stefan
  • 1,336
  • 3
  • 21
  • 46
0
votes
1 answer

I can get the state of the parking brake by OBDII?

I do engine autostart. To get the data from the car I use the ELM327 OBDII Bluetooth adapter. We already got the engine speed (010C) and coolant temperature (0105). For safety, I still have the position of the parking brake and the gearbox. It is…
krawa
  • 583
  • 6
  • 12
0
votes
0 answers

OBD2 Reading Enhanced Parameters with Python (ex. Injector Pulsewidth)

I'm working on a project to capture instantaneous fuel consumption and I'd like to use injector pulsewidth. I'm using pyserial to get the parameters connected to a bluetooth OBD reader. For example, to get speed I type: import serial ser =…
regerd20
  • 1
  • 1
0
votes
1 answer

Reading necessary bytes

is it possible to read only last two bytes from a string. For example I receive 41 0C 34 from a stream socket, and I only need 34. In what way I can do this. Here is my code: public string ReadSensor(ISensor sensor) { if…
Albzoq
  • 13
  • 2
0
votes
1 answer

OBD ll (elm327) data exchange over Bluetooth

I develope an android application which can read(and send) the data from OBD2 and show it in real time. My question is what the optimal frequency for reading data and sending commands to OBD? For example, when I make the initialization of OBD with…
Geka P
  • 587
  • 1
  • 6
  • 22
0
votes
1 answer

Error Response from OBD-ii (7F 01 11)

I have been extracting OBD-II DATA from UART board (ELM327) on my TOYOTA INNOVA. It responded correctly few weeks before and gave all supported sensor values. But now, for every response, ECU responds "7F 01 11". Please tell me what exactly this…
0
votes
1 answer

Communication with OBD-II using Windows Phone

I have a problem with sending and receiving data from elm327 device. I tried to connect to the device using channel 01 (on Bluetooth) but it doesn't matter what command I send, I just receive the string "AT+BRSF=24\r" as an answer. I tried also to…
Arie
  • 179
  • 2
  • 16