Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Adding Two PIDs to one gauge

Pages: [1]
Author Topic: Adding Two PIDs to one gauge
K_Thax
Member
Posts: 1
Post Adding Two PIDs to one gauge
on: October 7, 2016 (GMT)

Hi!
I’ve just started using the Torque Pro app and I haven’t been so lucky as to get the current gear indicator/value as the manufacturer of my motorcycle used a different PID for it.

But I do have information on RPM and velocity and I’d like to build an app to make a cool looking display of it integrated with a map. Anyway, what I’d like to know is, is there a way to use the RPM pid and speed PID into one gauge in the torque pro app?

RPM formula is ((A*256)+b)/4

Formula for gear ratio:

Gear ratio = (RPM*(3.14*circumference of tyre))/speed

Capp777
Member
Posts: 2993
Post Re: Adding Two PIDs to one gauge
on: October 7, 2016 (GMT)

Quote from K_Thax on October 7, 2016
Hi!
I’ve just started using the Torque Pro app and I haven’t been so lucky as to get the current gear indicator/value as the manufacturer of my motorcycle used a different PID for it.

But I do have information on RPM and velocity and I’d like to build an app to make a cool looking display of it integrated with a map. Anyway, what I’d like to know is, is there a way to use the RPM pid and speed PID into one gauge in the torque pro app?

RPM formula is ((A*256)+b)/4

Formula for gear ratio:

Gear ratio = (RPM*(3.14*circumference of tyre))/speed

End Quote.

Use equation like the following for your
Gear Ratio custom pid.

([0c]*3.14*circumference of tire)/[0d]

or by long name

(Val{Engine RPM}*3.14*circumference of tire)/Val{Speed (OBD)}

The long names must match exactly… since I’m trying to
do this from memory the names are probably off.

This assumes your motorcycle is returning [0c] and [0d]…
and equation is correct. (pi*diameter, units)?

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

  Follow me on twitter