dmaxalliTech
09-06-2007, 12:40 AM
I purchased some 0-150 psi pressure transducers with a 0-5 volt range. Is there a way using EFI to set the scale to read pressure based on the voltage? Or will it just read a voltage value?
I have not wired everything up yet, so it may be self explainable but figured I'd throw it out to see what I could learn.
RaceHemi
09-06-2007, 08:41 AM
You need the output curve of the sensor, then by applying some math via a calculated PID you can view PSI instead of the output voltage. Here is a quick example based on a hypothetical sensor.
If
0v = 0psi
2.5v= 75psi
5v = 150psi
Then, a calculated PID that converts V to PSI would look something like this:
V x 30 = PSI
PM me if you need a hand creating the PID
AWL INN
09-23-2007, 01:54 PM
The sensor I found was a 1-5 volt 0-100psi range Autometer
I found an error in the Tutorial in their math on the calc_pids.text in my setup anyway. The math they had setup was ({EXT.AD1}*25)-12.5 If the sensor is 1-5 volt and 1=0 and 5=100 this wont work right. 1x25=25-12.5=12.5 so 1volt would = 12.5 psi. and 5volts would +112.5 psi
Ok this is what I came up with an it works right for me.
PSI 0 100 .2 {EXT.AD1}*100/4-25
1v x100 = 100 /4 =25 - 25 =0psi
5v x 100= 500 /4 =125 -25 = 100psi
It seems to work perfect so I'm not sure what I did different that the Tutorial wouldn't work right. Just food for thought I hope this helps
someone else on setting up the analog input.
this is what my Calc_pids.txt looked like when I got done.
# ================================================== ============================
# File details
# ------------
#
# This section defines various details about the file format.
*FILE
#Parameter Value Description
#---------- ---------------- ---------------------------------------------------
VERSION 7.1.1 File version
DECSEP . Decimal separator used in this file
# ================================================== ============================
# Units
# -------------------
# See sae_generic.txt for more information on the *UNITS section
*UNITS
#Code System Abbr Description
#-------- ---------- -------- -------------------------------------------------------------
PSI Imperial PSI "pounds per square inch"
# ================================================== ============================
# Add slot definitions here
# --------------------------------
# See sae_generic.txt for more information on "SLOT" formats
#
#Units Low High Fmt Expression
#------------ ------------- ------------- ---- --------------------------------------------------------------
*CLC-00-001
PSI 0 100 .2 {EXT.AD1}*100/4-25
# ================================================== ============================
*PRN - Parameter Reference Numbers
# --------------------------------
# See sae_generic.txt for more information on the *PRN section
#
#Code PRN SLOT Units System Description
#------------------------- ---- ------------ ---------------- ---------------- ------------------------------------------
CALC.FASS_FSP F001 CLC-00-001 PSI FUEL "Fuel supply pressure"