jabarza / android-obd-reader

Automatically exported from code.google.com/p/android-obd-reader
0 stars 0 forks source link

Fuel Consumption returns -1.0 #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Starting the App 

What is the expected output? What do you see instead?
I cannot see the valid current fuel consumption and the litres per kilometer. 
It's always zero. I added a plain ObdFuelConsumptionCommand with a TextView to 
the code and getFormattedResult() always returns the initial value of -1.0.

What version of the product are you using? On what operating system?
1_3
Android 2.2.3
Bluetooth Adapter ELM327 from E-Bay
Kia Picanto 1.0 

Please provide any additional information below.
With Torque Free, the current fuel consumption and also the average is 
displayed, so this is not an issue with the car.

Original issue reported on code.google.com by jakob.moellers on 16 Apr 2012 at 2:55

GoogleCodeExporter commented 8 years ago
I found out that when I run getResult() instead of getFormattedResult(), I 
receive "NODATA"

Original comment by jakob.moellers on 18 Apr 2012 at 10:51

GoogleCodeExporter commented 8 years ago
If it is not possible to extract data from the PID "01 5E", do you guys see 
another way to calculate the current fuel consumption?

Original comment by jakob.moellers on 18 Apr 2012 at 11:10

GoogleCodeExporter commented 8 years ago
Okay this problem is solved... 

I contacted my car dealer and he told me that my car does not display current 
fuel consumption values.

I also found out that Torque uses engine displacement in combination with the 
rpm in order to estimate the current fuel consumption... that's a pretty nice 
idea and at least in my car, the values were quite realistic.

Original comment by jakob.moellers on 18 Apr 2012 at 1:25

GoogleCodeExporter commented 8 years ago
Yes Jacob, you got the major issue with this software usage, the lack of fuel 
rate command (01 5e) response from most cars available, or at least to the ones 
I've tried. Now, if you find the formula used by Torque or better, please, feel 
free to reach me in order to implement it.

Original comment by pjpi...@gmail.com on 17 May 2012 at 3:21