Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Newbie custom PID questions

Pages: [1]
Author Topic: Newbie custom PID questions
Fizix
Member
Posts: 4
Post Newbie custom PID questions
on: July 31, 2017 (GMT)

I have looked over the FAQ and a few other items, but have some custom PID creation questions.

I am looking to create a manifold vacuum chart to log vacuum on a long trip. The vehicle does not support BARO, but my phone does. The vehicle does have MAP.

I saw the address for the MAP and the phone barometer in a thread somewhere (can’t find it again at the moment).

What I don’t understand is the variable A, B, C, etc…

I see them in the math, but how do I know how or what gets assigned.

For example I believe my phone will return the barometric pressure in hPA instead of kPa, but the MAP will be in kPa.

So for vacuum in inches of Hg, I will need (MAP – (PhoneBaro/10) * kPa2inHg [where kPa2inHg is a conversion factor from kPa to Hg].

If there is a FAQ or post I missed that already discusses this I am sorry. If not a brief explanation of the variables would help.

Thanks.

Fizix

Capp777
Member
Posts: 2993
Post Re: Newbie custom PID questions
on: July 31, 2017 (GMT)

Torque Pro has a Turbo Boost & Vacuum
Gauge display. Have you tried using that yet?

Fizix
Member
Posts: 4
Post Re: Newbie custom PID questions
on: July 31, 2017 (GMT)

I will check it out, but I don’t think it is quite the information I am wanting.

I would still like to know generally how variables are assigned. (i.e. A, B, C, etc . . .)

Fizix

Capp777
Member
Posts: 2993
Post Re: Newbie custom PID questions
on: July 31, 2017 (GMT)

Torque assigns variables to the data
portion of the response. Header and
flow control bytes are ignored for
A, B, C … type addressing.

https://torque-bhp.com/forums/?wpforumaction=viewtopic&t=8916.0

Also discussed here…

https://torque-bhp.com/forums/?wpforumaction=viewtopic&t=4532.0

Fizix
Member
Posts: 4
Post Re: Newbie custom PID questions
on: August 1, 2017 (GMT)

Thanks Capp777!

That was helpful, especially the first link. Now I think I am getting the hang of it.

It looks very similar to SPI interface protocols. The variables are the bytes of the data response, but unlike SPI it does not have a checksum at the end.

Fizix

Fizix
Member
Posts: 4
Post Re: Newbie custom PID questions
on: August 4, 2017 (GMT)

Quote from Capp777 on July 31, 2017
Torque Pro has a Turbo Boost & Vacuum
Gauge display. Have you tried using that yet?

OK I have looked at the Boost/Vacuum Gauge and found that it reports significant boost during hard acceleration (I don’t mean just a bounce, but four or five seconds up around 8 – 10.

However of course the RAV does not have boost, so I still want to build a custom value based on MAP less BARO to get the relative vacuum level.

Fizix

Capp777
Member
Posts: 2993
Post Re: Newbie custom PID questions
on: August 4, 2017 (GMT)

Just curious if your boost reading was near
zero with KOEO and if you live at sea level?

Val{Intake Manifold Pressure}-Baro()

You may have to convert kPaA to PsiA
for this to work properly…

(Val{Intake Manifold Pressure}*0.1450377)-Baro()

I believe Baro() uses [33], your phone baro
reading or 14.6 depending on whats available.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.026 seconds.

  Follow me on twitter