Does anyone know Hexadecimal?

Joined
Apr 22, 2010
Location
BumFu*k, Egypt
#1
I have a few equations that I am trying to put to use on my android phone to be able to talk to my truck's pcm. Of course its in hex. I know a bit but I am having some scaling issues with some of my equations. Can anyone help me.


Here is the Hex code that I get for a certian PID from the Ford PCM.

Injection Control Pressure

TXD 07e0221446
RXF 046205140646
RXD 3010
MTH 00390064000
NAM ICP
Notes: PSI

I created an equation to read the 221446 pid...

((A*256)+B)*100*(100/256)

Not too sure what my scaling is... I need to read PSI but I think its in MPa.

So I added /145.037

((A*256)+B)*100*((100/256)/145.037)

(Not simplified to show all numbers)

But my numbers are in the 11,000 range at idle... and I should be reading about 580psi at idle.

Can anyone help?