It looks like you're new here. If you want to get involved, click one of these buttons!
I'm highly interested in this too, and I think I can get us close to the finish line but not quite across it just yet.
I've found a Brake Fluid Line Hydraulic Pressure pid in the ABS module of my Ford Fiesta ST (but it seems to also appear in several Focus forum posts; so hopefully it would work in the Mustang too?).
Name: Brake Fluid Line Hydraulic Pressure
Approximate Equation (kPa): (25000 * A + 100 * B) / 3
Approximate Equation (% [assuming max of 14000 kPa]): (25000 * A + 100 * B) / 420
OBD Header: ABS
That OBD Header is the issue that I'm running into with RaceChrono. "ABS" seems to work fine in Torque (despite not being a decimal or hex which RaceChrono doesn't like) and is actually used in other Torque predefined Ford-specific pids that appear to be coming from the ABS module (e.g. ABS Wheel Speed 1-4). I'm not sure if that's just telling Torque to look at the ABS module instead of sending a header to OBD2, but hopefully @aol can help us out.
If we can get this working, I'll see what I can figure out about engaged gear, but that may be different between our cars. I'm also interested in Steering Angle, but not nearly as much as brake pressure.
Here is a screenshot from Torque (I'm sure you're tired of seeing these by now...):
It only seems to be sending the pid, but blanking out the OBD Header results in "no data".
Based on your input, it seems I can simplify the equation to just: (256 * A + B) / 4.2
And the RaceChrono equivalent equation would be: (256.0 * bytesToUint(raw, 0, 1) + bytesToUint(raw, 1, 1)) / 4.2
I think I've got it! This post (https://themustangsource.com/forums/f726/can-bus-how-our-cars-modules-communicate-529879/) references 0x760 which seems to have done the trick!
I also noticed that the pressure can go slightly negative if I lift off the brakes hard enough, so I've changed that to bytesToint to account for that.
So that gives me:
RaceChrono Equation (%): bytesToint(raw, 1, 2) / 3.6
OBD Header: 760
Thanks for all your help!
I also slightly adjusted the "max" value lower so that 100% braking is a more reasonable pressure since 12000 kpa was actually pushing me back into my seat and would probably just throw on ABS anyway.
Regarding the gear and steering angle, I couldn't find any pids that returned anything for the gear, but my car is a manual, so that might just not be available for me.
I did find this pid also in ABS for the steering angle:
Name: Steering Angle
RaceChrono Equation (degrees): bytesToint(raw, 1, 2) / 10.0 - 780
I've been using FORScan (https://forscan.org/home.html) to look for pids, but I was only looking for anything from any module with "gear" in the name. Only one popped up that looked promising, but it wasn't returning data for me. If I can find something there that returns data, then I can then scout the internet for the name to see if anyone has listed the actual pid and equation.
221e12 is also returning no data for me unfortunately.