-
Notifications
You must be signed in to change notification settings - Fork 9
Boost
digifant edited this page Aug 18, 2015
·
1 revision
Every 0-5V Sensor is suitable!
Its measured with a MPX4250AP Sensor.
The MPX4250AP is good for naturaly aspirated engines and engines with a maximum of 150kPa (1,5Bar / 21Psi) boost pressure.
For more, the MPXA6400AP can handle up to 300kPa (3Bar / 43Psi) boost pressure. (DigiKey: MPXHZ6400AC6T1CT-ND
And when you want to go nuts, take the MPX5700AP for insane 600kPA (6Bar / 101Psi)
The Conversion from the 12Bit ADW Signal into "Bar" is done like that: (For the MPX4250AP)
CalRAWBoost = 5.0*AnaIn[BoostPin]/4096.0; //only gets 0-5V
CalRAWBoost = (CalRAWBoost * 50 - 10)/100; //makes 0-250kPa out of it
CalBoost = CalRAWBoost - CalLD; //apply the offset (ambient pressure)
all Numbers are float.
The Ambient Pressure is saved during setup into the EEPROM.
For the MPXA6400AP Sensor the Code needs to be changed to:
CalRAWBoost = 5.0*AnaIn[BoostPin]/4096.0; //only gets 0-5V
CalRAWBoost = (CalRAWBoost * 80 - 10)/100; //makes 0-400kPa out of it
CalBoost = CalRAWBoost - CalLD; //apply the offset (ambient pressure)