Add lambda output
This commit is contained in:
parent
a29c20e62f
commit
a59135a0e6
|
@ -216,7 +216,7 @@ struct config1 {
|
|||
byte mapMin;
|
||||
unsigned int mapMax;
|
||||
byte fpPrime; //Time (In seconds) that the fuel pump should be primed for on power up
|
||||
byte unused50;
|
||||
byte stoich;
|
||||
byte unused51;
|
||||
byte unused52;
|
||||
byte unused53;
|
||||
|
|
|
@ -182,7 +182,7 @@ page = 2
|
|||
mapMin = scalar, U08, 46, "kpa", 1.0, 0.0, 0.0, 255.0, 0
|
||||
mapMax = scalar, U16, 47, "kpa", 1.0, 0.0, 0.0, 25500, 0
|
||||
fpPrime = scalar, U08, 49, "s", 1.0, 0.0, 0.0, 255.0, 0
|
||||
unused2-50 = scalar, U08, 50, "RPM", 100.0, 0.0, 100, 25500, 0
|
||||
stoich = scalar, U08, 50, ":1", 0.1, 0.0, 0.0, 25.5, 1
|
||||
unused2-51 = scalar, U08, 51, "RPM", 100.0, 0.0, 100, 25500, 0
|
||||
unused2-52 = scalar, U08, 52, "RPM", 100.0, 0.0, 100, 25500, 0
|
||||
unused2-53 = scalar, U08, 53, "RPM", 100.0, 0.0, 100, 25500, 0
|
||||
|
@ -472,6 +472,7 @@ page = 8
|
|||
defaultValue = inj2Ang, 355
|
||||
defaultValue = inj3Ang, 355
|
||||
defaultValue = inj4Ang, 355
|
||||
defaultValue = nInjectors, 4
|
||||
defaultValue = dutyLim, 100
|
||||
defaultValue = mapMin, 10
|
||||
defaultValue = mapMax, 260
|
||||
|
@ -480,6 +481,7 @@ page = 8
|
|||
defaultValue = ignCranklock, 0
|
||||
defaultValue = multiplyMAP, 0
|
||||
defaultValue = includeAFR, 0
|
||||
defaultValue = stoich, 14.7
|
||||
|
||||
[Menu]
|
||||
|
||||
|
@ -591,6 +593,7 @@ page = 8
|
|||
twoStroke = "Four-Stroke (most engines), Two-stroke."
|
||||
nInjectors = "Number of primary injectors."
|
||||
mapSample = "The method used for calculating the MAP reading\nFor 1-2 Cylinder engines, Cycle Minimum is recommended.\nFor more than 2 cylinders Cycle Average is recommended"
|
||||
stoich = "The stoichiometric ration of the fuel being used. For flex fuel, choose the primary fuel"
|
||||
|
||||
TrigPattern = "The type of input trigger decoder to be used."
|
||||
numteeth = "Number of teeth on Primary Wheel."
|
||||
|
@ -648,6 +651,7 @@ page = 8
|
|||
|
||||
dialog = engine_constants_south
|
||||
topicHelp = Mhelp
|
||||
field = "Stoichiometric ratio", stoich
|
||||
field = "Injector Layout", injLayout, { nCylinders <= 4 }
|
||||
field = "Board Layout", pinLayout
|
||||
field = "MAP Sample method", mapSample
|
||||
|
@ -1044,16 +1048,6 @@ page = 8
|
|||
; and deceleration enleanment numbers. See the definition of the variable
|
||||
; accDecEnrich in the OutputChannels section.
|
||||
;
|
||||
; David Hooke contributed the lambda gauge and associated transfer
|
||||
; function files.
|
||||
;
|
||||
; "The lambda gauge is the best way (my opinion) to report data from a
|
||||
; wide band EGO gauge, it standardizes the output irrespective of fuel
|
||||
; or mix of fuels, so you needn't do any brainwork to know if your 75%
|
||||
; gasoline and 25% methanol is rich at 10:1 or not.
|
||||
;
|
||||
; "Use the file WBlambda100AVR.inc, if using a standard ADC (e.g., AVR cpu).
|
||||
; Use the file WBlambda100MOT.inc, if using a biased ADC (e.g., MOT cpu)."
|
||||
;-------------------------------------------------------------------------------
|
||||
; Define a gauge's characteristics here, then go to a specific layout
|
||||
; block (Tuning or FrontPage) and use the name you've defined here to
|
||||
|
@ -1314,6 +1308,7 @@ page = 8
|
|||
dutyCycle = { 100.0*pulseWidth/cycleTime }
|
||||
|
||||
boostCutOut = { boostCutFuel || boostCutSpark }
|
||||
lambda = { afr / stoich }
|
||||
|
||||
#if EXPANDED_CLT_TEMP
|
||||
clt_exp = { 1 }
|
||||
|
@ -1365,6 +1360,7 @@ page = 8
|
|||
entry = tpsADC, "tpsADC", int, "%d"
|
||||
entry = tps, "TPS", int, "%d"
|
||||
entry = afr, "O2", float, "%.3f"
|
||||
entry = lambda, "%", float, "%.3f"
|
||||
entry = iat, "IAT", int, "%d"
|
||||
entry = coolant, "CLT", int, "%d"
|
||||
entry = engine, "Engine", int, "%d"
|
||||
|
|
Loading…
Reference in New Issue