Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NODATA for fuelRate() and mafRate() #166

Open
nvdias0 opened this issue Apr 14, 2023 · 3 comments
Open

NODATA for fuelRate() and mafRate() #166

nvdias0 opened this issue Apr 14, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@nvdias0
Copy link

nvdias0 commented Apr 14, 2023

Describe the bug
NODATA for fuelRate() and mafRate()

To Reproduce
All major pids (rpm, speed, voltage, throttle) reported ok.
Tested on Opel Corsa C 2003, Renault Clio 3 2008, Mercedes A180 2020, Ford Fusion 2007

Expected behavior
Getting some values for those PIDS

Equipment
Arduino Uno R3, 2 lines LCD, ELM327 obd scanner cable connected directly to Arduino Data lines.

Code
Should not be a code issue as the pids referred above are reporting ok.

Wiring
Should not be a code issue as the pids referred above are reporting ok.

@nvdias0 nvdias0 added the bug Something isn't working label Apr 14, 2023
@PowerBroker2
Copy link
Owner

NO DATA means the PIDs you're requesting are unsupported and not an issue with the library. This makes sense considering all of your cars are 2008 or earlier (I can only guarantee this lib works on cars past 2008)

@enslinm123
Copy link

@nvdias0 if you compile a sketch to query each PID separately, so a sketch per PID, do you receive responses or still get the NO DATA response?

My vehicles are all 2007 and I get the NO DATA response when I query those PID's separately so it makes sense what @PowerBroker2 said, the lib fully supports higher then 2008 vehicles, however, the torque pro app can collect and display that data somehow.

@nvdias0
Copy link
Author

nvdias0 commented Apr 17, 2023

Thank you for your suggestions,
In the 4 cars i've tested (see above) I do not receive information regarding a standard pid as the MAF Rate.
I've tried just reading this PID, and also tried the multi pid algorithm (as per the examples in this project - the example with the "case switch" and the "obd_state" var).

With the opel corsa, I've queried the "supported pids" pid sending 41 00.
The car returned:
BE 1F B8 11
Knowing that Maf Rate is the pid 0x10 (or 16 decimal), it would be 16th bit of the above DWORD - last bit of the 2nd byte:
1F --> 0001 1111 --> last bit 1 --> MAFRate should be reported ....

Please not that MAFRate() if not returned by neither of the reported cars above, including the 2020 Mercedes.

Could it be the protocol ? what is the best way to force other protocols ?

Could it be my ELM327 device ? it is an old cable based reade - but oddly other softwares like PCMSCAN running in windows are able to read those pids ....

Thank you once more.

@PowerBroker2 PowerBroker2 added question Further information is requested and removed bug Something isn't working labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants