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

PID 70: Boost pressure control (Service 01) #229

Open
etnaskynet opened this issue Feb 27, 2024 · 1 comment
Open

PID 70: Boost pressure control (Service 01) #229

etnaskynet opened this issue Feb 27, 2024 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@etnaskynet
Copy link

Hello,

did someone was able to retrieve data for the Boost pressure control (Service 01, PID 70)?
Wikipedia reports that data bytes returned are 10.

I am trying using this:

       turbo = myELM327.processPID(01, 70, 4, 4, 1, 0);
      if (myELM327.nb_rx_state == ELM_SUCCESS)
      { 
        D = myELM327.responseByte_0;
        C = myELM327.responseByte_1;
        B = myELM327.responseByte_2;
        A = myELM327.responseByte_3;
        turbo_calc = ((C*256)+D)*0.320;
        drawTURBO(turbo_calc, 0);
      }

and I received this from Serial Monitor:
Service: 1
PID: 70
Normal length query detected
Query string: 01464
Clearing input serial buffer
Sending the following command/query: 01464
Received char: 4
Received char: 1
Received char: 4
Received char: 6
Received char: 3
Received char: 8
Received char: \r
Received char: \r
Received char: >
Delimiter found.
All chars received: 414638
Expected response header: 4146
Single response detected
64-bit response:
responseByte_0: 56
responseByte_1: 0
responseByte_2: 0
responseByte_3: 0
responseByte_4: 0
responseByte_5: 0
responseByte_6: 0
responseByte_7: 0
WARNING: Number of payload chars is less than the number of expected response chars returned by ELM327 - returning 0

Regards.

@etnaskynet etnaskynet added the question Further information is requested label Feb 27, 2024
@Evgeniy-18
Copy link

Evgeniy-18 commented Feb 27, 2024

turbo = myELM327.processPID(01, 70, 4, 4, 1, 0);

try it turbo = myELM327.processPID(01, 70, 4, 2, 1, 0);
or turbo = myELM327.processPID(01, 70, 4, 1, 1, 0);

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