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
4
votes
2 answers

OBD2 How can I check that ignition is turned off

I've connected to OBDKey and obtained data. I want immediately close my program when the vehicle is powered down(ignition turned off) How can I check that ignition is turned off?
vic
  • 159
  • 1
  • 7
4
votes
2 answers

Is it possible to read manufacturer specific codes with ELM327

I plan on creating a SW which interacts with the CAN bus (for Cars) over OBDII protocols. The SW will be for PC mainly, and perhaps Android. However, it is no use if I cannot adapt it to read more codes than what is legislated and "public". Is it…
obd_dude
  • 49
  • 1
4
votes
2 answers

java.io.IOException: bt socket closed, read return: -1

As i am working on OBD Reader Demo .Through my app i am trying to connect obd reader device and my app is installed in Nexus 7.OBD Reader device is connecting to other apps which is available on google play but if i am connecting with my app it is…
Poonam Kukreti
  • 359
  • 5
  • 19
4
votes
3 answers

Android OBD-II How to clear distance travelled (PID0131)?

I working on an app that I need to calculate distance travelled from point A to point B (by car). I asked Elm Electronics (chipset manufacturer) and they said there is no standard OBD-II PID to return mileage from odometer, although car…
Hesam
  • 52,260
  • 74
  • 224
  • 365
4
votes
1 answer

Addressing ECUs directly using ELM 327 dongle and ISO 9141

I have a VW Golf 4, which is quite old and talks KWP 2000 (ISO 9141) on its CAN bus. I use a dongle powered by ELM 327, connected to the OBD-2 port of the car. I am trying to send messages individually to each ECU. I tried to change the header of…
csima
  • 315
  • 2
  • 14
4
votes
1 answer

How can I read/write data to and from an OBD-II adapter with Windows Phone 8?

I am currently working on a Windows Phone 8 application, which will (hopefully) have the capabilities to connect to a vehicle via bluetooth using a bluetooth OBD-II adapter. I'm reasonably new to programming for WP8, although I'm attempting to not…
MattVon
  • 481
  • 1
  • 8
  • 25
4
votes
1 answer

How can I make continuous communication with OBD II ELM327 adapter?

Currently I am working on an app where I have established a connection with OBD II ELM 327 adapter and I can read data from OBD II. e.g. I have used OBD command "01 0C" to get rpm of vehicle. I want to retrieve real time data e.g. speed or rpm from…
KavitaDev
  • 475
  • 3
  • 7
  • 15
3
votes
1 answer

ELM327 returns nothing when sending several Commands

I'm developing a WPF application, which interacts with my ELM327. It's connected to my PC via bluetooth and it's able to establish it successfully. When I manually send one command at a time (e.g. "010C\r") it properly returns me the RPM of my car…
user13575187
3
votes
1 answer

Python: How To Convert An Object To An Integer

I'm creating a program in Python 3.5.3 on my Raspberry Pi 3 B+ to interface with my car's OBDII port. The connection is established over Bluetooth correctly, the data reads correctly when the Python-OBD library is used as intended, but unfortunately…
3
votes
1 answer

Which GATT Profile and Services are used by OBD BLE Adapters like LELink, Automatic, Carista?

I am exploring building apps (Android & iOS) for Car OBD2 Adapters that support BLE (Bluetooth Low Energy). In order for the app to be able to work with such adapters from different vendors, I presume there would be a standard set of GATT profile…
3
votes
1 answer

How to connect to OBDII via Android Bluetooth

Currently I've been using this reference http://blog.lemberg.co.uk/how-guide-obdii-reader-app-development but I am still confused on what the next steps are for my Android app to be able to connect to the OBDII. I found code online for a simple…
dgo1970
  • 61
  • 1
  • 4
3
votes
1 answer

OBD2Kit Swift example can't typecast, keep getting nil

Since there was no example code for using OBD2Kit and Swift I forked it into https://github.com/YannisDC/OBD2Kit and used it as a pod. I translated some OBJ-C example code but can't seem to downcast the FLWiFiScanTool into the ELM327 type. Why do I…
YannisDC
  • 207
  • 1
  • 2
  • 9
3
votes
3 answers

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…
vpp
  • 131
  • 1
  • 8
3
votes
1 answer

Communicating with a Bluetooth OBDII dongle (I think it's an ELM327)

I have a Bluetooth OBDII dongle for my car (the brand is Veepeak), and I'm trying to write a Windows app that can communicate with it. So far it seems that I'm able to connect to the device from my laptop, send commands, and receive some sort of…
3
votes
1 answer

USB bluetooth dongle with PuTTY

I have a USB Bluetooth dongle that I am trying to use in order to extract information from an ELM327 OBD-II interface. I am trying to communicate with the ELM327 through PuTTY. According to the ELM327 documentation, I need to use baud rate 38,400 if…
Ko Ga
  • 856
  • 15
  • 25
1 2
3
21 22