buntay
Senior Member
Hello friends,
I need some math help, so let me set the stage. On my diesel truck I have a fuel rail pressure transducer for the trucks computer. There is a spot to add another one, now I have found an OEM transducer so everything stays safe. What I want to do is add this transducer so I can monitor what the ECM should be approximately seeing. So here is the info I can find on the transducer. It is 0-5 volts and linear. Below are what the pressures should be at the given voltage.
I need help with the formula that gets me closest to the following table using and ADC line and READADC command.
____________________
0 psi = .5v
5801 psi = 1.39v
10153 psi =2.06v
14504 psi = 2.72v
20305 psi = 3.61v
26107psi = 4.5v
_______________________
Any Help would be greatly appreciated
Thanks,
Buntay
I need some math help, so let me set the stage. On my diesel truck I have a fuel rail pressure transducer for the trucks computer. There is a spot to add another one, now I have found an OEM transducer so everything stays safe. What I want to do is add this transducer so I can monitor what the ECM should be approximately seeing. So here is the info I can find on the transducer. It is 0-5 volts and linear. Below are what the pressures should be at the given voltage.
I need help with the formula that gets me closest to the following table using and ADC line and READADC command.
____________________
0 psi = .5v
5801 psi = 1.39v
10153 psi =2.06v
14504 psi = 2.72v
20305 psi = 3.61v
26107psi = 4.5v
_______________________
Any Help would be greatly appreciated
Thanks,
Buntay