Questions tagged [obd-ii]

1

votes
0

answer
145

Views

Interpreting OBD2 services and characteristics Swift4

I am creating an application that connects to a VEEPEAK BLE device that reads vehicle metrics such as MPH, RPM and other properties. I am able to connect to the device using CoreBluetooth and am able to see the devices Services and characteristics. My problem is i cannot find any documentation or...
Brian Green
1

votes
1

answer
67

Views

How to communicate with a specific ECU using its physical address

Each time I send a query to the OBD2 I get two responses. For instance, if I send 0105, I get 41 05 5C 7F 01 12 If I turn on header with AT H1 and then send 0105, I get 83 F1 11 41 05 5C 83 F1 18 7F 01 12 I only need the first response, the one from 83 F1 11 please, how do I specify that I want...
shups
1

votes
1

answer
78

Views

Connect 3g obd II to azure iot hub

I am new to azure iot and I am trying to connect a 3g obd 2 tracker to my account azure iot hub. I found an example to connect the obd to local gateway (phone) via bluetooth or wifi but I want the tracker to be completely independant from any local gateway. Is there a tutorial or documentation to he...
Aggounix
1

votes
0

answer
62

Views

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, even parity, 1 bit stop and got a reply with VIN numb...
Johnny
1

votes
1

answer
47

Views

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 and it worked. I could even send data without proble...
Predule
1

votes
1

answer
46

Views

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 elm327 text (tested with playstore apps and thats what I...
Predule
1

votes
2

answer
295

Views

Isolating obd scan tool from other bluetooth devices during bluetooth device search

I am creating a java program to communicate with a bluetooth ELM 327 . I want the program to provide the user with a list of obd adapters in the area after device search and exlude other devices such as cell phones etc. I believed it could be done by isolating obd adapters from others using Bluetoo...
Flame of udun
1

votes
2

answer
550

Views

iOS send command to web server

All, I have an OBDII device which has a webserver in it. I connect via wifi. I want to create an app to send commands and read the data received from the device. I first test it using Terminal. I connect using a telnet session and can send a command (0104) and I get the respons. This works fine. Now...
RobertvdBerg
1

votes
1

answer
1.1k

Views

IOException in Java (Android): Transport endpoint is not connected

In my Android application, which was copied from answer to this question (and then slightly changed due to UUID-related problems with Samsung Galaxy tabs) I successfully connect to OBD device via bluetooth. Then, when I try to send any command (which is done by sendData()), the exception from the ti...
JanezNovak
1

votes
2

answer
1.7k

Views

Can I build a Web App using OBD II

I'm looking to create a web application that can show car metrics and help the user improve his car performance. After some basic googling i came to know about OBD. I've seen about the android apps that use OBD but I've come across any thing that says OBD can be used along with Web Apps. Can any ove...
Strikers
1

votes
1

answer
1k

Views

What information can i get from OBD II?

I can get the below information from OBD II through ELM 327 adapter. RPM Vehicle speed Engine Load Coolent Temperature I would like to know what else i could get from OBD II.
Sankar M
1

votes
2

answer
1.5k

Views

Is it possible to read VIN from CAN data?

Will VIN information be available from CAN data? Does any ECUs are module broadcasts VIN information on CAN channel?
Kumar
1

votes
1

answer
1.2k

Views

Headlight status with OBD-II

I'm developing an Android app that uses an ELM327 device for OBD-II communications, and I'd like to be able to get the status of the headlights. Specifically, I would like to know if the driver has turned them on or not, but it would also be moderately useful to be able to tell what lights are on (m...
wlyles
1

votes
1

answer
108

Views

OBD II device returns response with different length

I am working on an Android app and whenever my client tests the app with his car, he is getting response with different length and it is failing. It so happened in my code that I need to handle the length of the message to proceed further. Any idea why the OBD II device is getting response with diff...
UVM
1

votes
1

answer
432

Views

Sending vehicle specific OBDII commands

Has anyone successfully sent a vehicle specific OBDII command through Bluetooth? I'm working on a Android app that sends OBDII commands to a OBDII Bluetooth adapter that will be connected to the cars OBDII port. But when I want to send a vehicle specific command with pires API I get NO DATA back as...
swess
1

votes
2

answer
1.3k

Views

MCP2515 OBD II multiple PID

I am using a raspberry Pi and arduino CAN schield which is using a MCP2515 and SPI to request a single OBD II PID. I am able to request and receive a single PID from my OBD emulator (Freematics). I know that is possible to request multiple PIDs (up to 6 PIDs) in a single query. Whenever I use other...
WonderfulMe
1

votes
2

answer
2.3k

Views

Can we use the OBD-II port to control a car?

I know that the OBD-II port can be used to monitor the different parameters of the car for diagnostics. But is it possible to drive the car using the OBD-II port, without hacking or reprogramming the computer system of the car? I've heard that the OBD-II system is open to the customer and there is n...
vpp
1

votes
1

answer
216

Views

pip installation failure on raspberry pi

i have the new raspberry pi and i am trying to install package 'pip install library' However an error occurs ' could not create 'usr/local/lib/python2.7/dist-packages/obd' : permission denied' IF anyone could help that would really be appreciated.
John
1

votes
1

answer
468

Views

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
1

votes
1

answer
81

Views

Does can bus pinout differ in cars?

I am doing research on CAN BUS and CAN Protocol. I want to know that, does each car model has different pinout on OBDII port? Or Is it same on all cars? P.S. If it differs, is there a database for it?
Anar Mansurov
1

votes
2

answer
291

Views

Trouble reading data from OBD 2

I am using OBD2 device to get data from different vehicles. Communication between the app and OBD2 is done using Bluetooth LE. When I use an OBD2 device I get the service UUID = FFE0 and characteristic UUID = FFE1. I can use this characteristic to write PID and I am getting data from my car without...
Alex Thomas
1

votes
1

answer
4k

Views

How to get OBD2 Fuel Level reading from Wagon R 2010 model

I want to measure current fuel level inside my car's fuel tank using OBD2 bluetooth/USB adapter. When i try to query that PID i got following data as 'NO DATA' while at the same time i can check other PIDS like RPM and all data comes fine. I have small python program which reads its but i am unable...
Nirav Joshi
1

votes
1

answer
91

Views

Getting error : Call to undefined function dio_fcntl() for OBD gateway

Here I want to implement OBD gateway in php v7.0. For that i had used https://github.com/mdlayher/obd library. In this library there is one function dio_fcntl() used and i am getting error and unable to use it. I also enable php_dio extension from php.ini file. Still i got fatal error like as below...
Parth Viramgama
1

votes
1

answer
201

Views

Reading data from car's ECU ABS wheel speed sensors

I'm currently working on a project that requires gathering data from a car's wheel speed sensors(4 hall efect speed sensors). Those sensors are connected to the car's ECU responsible for ABS/ESP/Stability control etc. In order to extract the data from the ECU i need to make a request with a specific...
Nedelchev
1

votes
1

answer
0

Views

OBD2 BLE Communication - how to send AT commands and receive data

I have a OBD2 dongle and need to get the speed of a vehicle through it (using BLE and iOS device). The documentation that came with the dongle didn't mention services and characteristics but with some debugging I discovered a few. Let's call them service 1, 2, 3. Service 1 has one characteristic wi...
surToTheW
1

votes
1

answer
688

Views

Find out crash from OBD (On Board Diagnostic) data?

In our application we are collecting OBD data continuously from vehicles port. Our requirement is to find out the vehicle crash scenario (accidents etc.). Currently we are reading the OBD parameters speed, temperature, rpm etc. Is it possible to identify the vehicle accidents scenario from these par...
Don
1

votes
2

answer
1.1k

Views

UUID of OBD 2 dongle

I'm try to develop Bluetooth connection with OBD 2 dongle and android phone.but I't doesn't work for me.I think Error occurs in wrong UUID.I'm using this DongleI'm using this UUID 00001101-0000-1000-8000-00805F9B34FB is it correct? or what is the correct UUID for this dongle
SAGA
1

votes
1

answer
996

Views

Three digit PIDs in OBD II

I'm in the process of writing a java based application to interface with a car. For hardware I'm using one of the wifi ELM 327 modules available from Amazon (this one to be precise: http://www.amazon.com/gp/product/B00FQ7O88M/ref=oh_details_o00_s00_i00). To test that it's working, I picked up the...
Michael Minella
1

votes
1

answer
1.7k

Views

OBDSim Connection with Android Device over Bluetooth on Windows 8.1

I have worked since last day on this topic. I want to develop android application about obd-ii scanner. There are many open source project on Github or Google Codes. I have to find obd-ii simulator to developed this application without car or any odb-ii chip. I found OBDSim to create sample data an...
MSalihKarakasli
1

votes
2

answer
2.5k

Views

Flow control message while receiving CAN message with ELM327

I am trying to make a software, which runs under Windows and communicates with an ELM327 device. I created the first version and I went in my SMART ForTwo (SMART 451) vehicle and I managed to connect with the Instrument Cluster (Transmit CAN ID is 782, Receive CAN ID is 783). However I have a huge p...
user3650225
1

votes
1

answer
1.2k

Views

BluetoothSerial cordova plugin echoing write

I'm using BluetoothSerial to connect an Android phone to an ELM327 OBD dongle. I have used a Bluetooth chat app to confirm that the appropriate data is returned on sending PID command codes (like 010C, 0105, etc.). However, while the bluetoothSerial plugin seemingly works fine to locate and connect...
Sohan Dsouza
1

votes
1

answer
268

Views

OBD communication through USB

I am currently working on an app which intents to read data from the ECU through OBD and I would like to use USB adapter which I would connect to my phone. Problem is that I see bluetooth based libraries everywhere. Is there anybody willing to help me? I intend to use this library: https://github.co...
Helmisek
1

votes
2

answer
1.2k

Views

elm327 and OBD II PID specification

i plugged elm327 mini(bluetooth) to my car(peugeot 3008) when i have tested some commands, i found not ordinary response. ATZ ELM327 v2.1 ATSP0 OK ATDP0 ISO 15765-4 (CAN 11/500) ATE0 OK ATL0 OK 0100 SEARCHING...\r4100983BA011\r1: 06410080000010\r\r> by OBD-II PIDs, i thought '0100' means 'PIDs suppo...
DeockJin Chung
1

votes
2

answer
178

Views

Android send ArrayList commands with delay to OBD

I need to send a list of commands to OBD port with some delay because the ELM327 can't manage all commands together... I'm trying with this code but not work public void repeatCommand(){ for (final String command : commandArray){ Log.d(TAG, 'Giro for'); final Handler handlerTimed = new Handler(); ha...
Dario
1

votes
1

answer
110

Views

ELM327 monitor all - CAN messages not 8 bytes long

Standard CAN (ISO 15765-4) OBD requires that all messages have 8 data bytes - (ELM327 documentation) Reading from my car with a bluetooth ELM327 I get messages that are not all 8 bytes long. Here is the configuration : AT Z # Reset AT D # Default AT SP 6 # Set Protocol AT CFC1 # Flowcontrol...
user1107703
0

votes
0

answer
3

Views

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 empty array' -(void)asyncEnqueueInternalCommand:(LTO...
Skyborg
1

votes
2

answer
1.9k

Views

Unable to communicate with ELM327 bluetooth

Here is my code for establishing a bluetooth connection with an ELM327 and comunicating with it using a laptop: import java.io.*; import java.util.Vector; import javax.bluetooth.*; import javax.microedition.io.Connector; import javax.microedition.io.StreamConnection; import javax.swing.*; public cla...
Flame of udun
1

votes
1

answer
1.5k

Views

Reading VIN number via OBD-II (from Citroen, Peugeot, Fiat)

I built a simple Android app that reads in basic car parameters via OBD-II like VIN number and battery voltage. It work nice but I have problems retrieving VIN number from non-German/non-American cars. So for instance in case of Citroen or Fiat one cannot get the VIN number and the returned value is...
user3628996
1

votes
1

answer
1.2k

Views

BluetoothChat-to-ELM327 split response message

I am attempting to communicate with an ELM327 OBDII Bluetooth dongle using the Android BluetoothChat example. I can connect to the device without any trouble, and messages from BluetoothChat to the ODBII device seem to be transmitted and received by the device correctly. However, the response messag...
nth0007
1

votes
1

answer
1.6k

Views

Understanding the data from OBDII protocol

I am currently developing an application for Android which connects to an OBD device (Using ELM 327 Mini) and reads its data. I am relatively new to the OBDII protocol, I just started working with it like a month ago, but using the official documentation, looking around on the internet and using the...
Mileni

View additional questions