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

Problems in trying to create a Instance in MainActivity from another class

The app (an OBDII reader app) crashes when trying to connect to a device. I had the BTHandler class in my MainActivity where BTHandler btHandler = new BTHandler(); btHandler.btConnect();are now, but I was told I should make a class and then create…
swess
  • 171
  • 19
0
votes
4 answers

Unable to connect to paired devices listed in AlertDialog through Bluetooth

So i'm trying to connect my paired devices in my app through a AlertDialog. But nothing happens when i'm selecting the device I want to connect to. Am I missing something in my code that needs to be added to make a connection? MainActivity: package…
swess
  • 171
  • 19
0
votes
0 answers

How do I engage a Bluetooth connection with another device?

I'm working on a app that will connect to a OBD2 device through Bluetooth, but I haven't yet figured out how to connect to a Bluetooth device. I followed a video tutorial, and am currently following this tutorial with hopefully better luck, but I…
swess
  • 171
  • 19
0
votes
1 answer

Python OBD encoding

I wanted to fetch some OBD data and tried it like described by this article The article (using python 2.7) said: The elm327 device returns values in HEX. To read the value you just requested in Python type speed_hex = ser.readline().split('…
AnyOneElse
  • 406
  • 2
  • 6
  • 17
0
votes
1 answer

Android bluetooth connection with an obd2

Till now my app can discover make discoverable and all these.When i press the device's name for example of my near cellphone(which i have opened the bluetooth) it appears in my listview fact that i want.After when i press it ,i have the classic…
dionysis
  • 1
  • 1
  • 2
0
votes
1 answer

obd2 Bluetooth connection to Android API

I am a new to Android programming and I have an exercise to make a simple Android app that connected with obd2 via Bluetooth and sending data. My question firstly is if my app till now can searching the obd2 e.g. 00:0D:18:A0:43:01. What are the…
dionysis
  • 1
  • 1
  • 2
0
votes
2 answers

How can I read the BCM/UCH data from the car via OBD?

I am trying to read the data related to Body of the car, like if doors are unlocked/locked, if the seat belts are on, odometer reading etc. I am successfully able to read the ECU data via VGATE (ELM327) bluetooth OBD2 adapter. But I can only read…
Sandy
  • 79
  • 2
  • 8
0
votes
1 answer

OBDII data pass to wxpython staticText continues update issues(raspberry PI2)

I am total beginner in programming. I already start a small project by using raspberry PI connect to the car OBD port and reading the data to the wxpython GUI. The OBD library I was using from http://brendan-w.com/work/python-obd By using the…
Enzo Jia
  • 1
  • 1
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
2 answers

Android BluetoothChat OBD-II no response from device

I'm running the BluetoothChat application with modifications made as follows : BluetoothChatService // Unique UUID for this application private static final UUID MY_UUID =…
0
votes
0 answers

What Bluetooth profile is used in OBD adapters like Automatic (https://www.automatic.com/adapter/) in case of iPhones?

As far as I have seen they are using Bluetooth Serial Port Profile(SPP) for communication in Android. Which is not supported in iOS. Is it something related to MFi? Can someone please explain how it is done?
0
votes
0 answers

OBD-II Perl code hangs after specific number of AT requests

After connecting to a Bluetooth OBD-II adapter, I am able to get data by sending PID service requests, but they stop exactly after the same number of requests. for ( ;; ) { obj -> write ( "010C\r" ); if ( $data = $obj -> input ) { …
0
votes
1 answer

OBD2 Python Getting Speed

I'm having a little trouble with getting the correct speed out of my Python OBD2 reading program. It stays at 13 even if I'm not moving. I have based my code off of pi2go on git hub. Though no matter what the speed_float value is always 13 once…
jefpadfi
  • 183
  • 1
  • 17
0
votes
1 answer

Python serial 5 bauds per second

I am writing some code to read from an OBD II simulator using Python Serial. I am able to communicate with it as normal if I connect using 115200 bauds per second. But in order to initialize it I need to write 0x33 through serial at 5 bauds per…
0
votes
1 answer

KWP fast protocol via CAN bus for OBD2

I have a question about my CAR's ODB function. I have a USB dongle with AT90CAN128 uE , the uE has CAN driver and i can use this to read the data traffic on the bus. I have a BMW 116i but this car uses KWP-fast protocol for the obd2. I want to ask…
xmaze
  • 41
  • 1
  • 9