This commit is contained in:
rusefillc 2022-12-05 21:44:45 -05:00
parent 4321b41943
commit b96ecfb2c0
4 changed files with 45 additions and 22 deletions

View File

@ -0,0 +1,13 @@
pins:
info:
id: Honda-K
title: Hellen Honda K
name: Hellen Honda K
board_url: https://rusefi.com/s/honda-k
image:
file: main.jpg
pins:
- pin: U12
x: 1119
y: 424

View File

@ -0,0 +1 @@
https://github.com/rusefi/rusefi/wiki/Hellen-Honda-K

View File

@ -11,31 +11,22 @@
#include "proteus_meta.h"
#endif // HW_PROTEUS
/**
* K24A4 engine
* PROTEUS_HONDA_K
*/
void setProteusHondaElement2003() {
void setHondaK() {
engineConfiguration->specs.cylindersCount = 4;
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
engineConfiguration->specs.displacement = 2.4;
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
// engineConfiguration->trigger.customTotalToothCount = 12;
// engineConfiguration->trigger.customSkippedToothCount = 0;
engineConfiguration->specs.firingOrder = FO_1_3_4_2;
engineConfiguration->engineSyncCam = 1;
engineConfiguration->trigger.type = TT_HONDA_K_CRANK_12_1;
engineConfiguration->globalTriggerAngleOffset = 675;
// engineConfiguration->trigger.type = TT_HONDA_K_CAM_4_1; // cam as primary, ignoring crank
// engineConfiguration->globalTriggerAngleOffset = 570;
engineConfiguration->vvtMode[0] = VVT_HONDA_K_INTAKE;
engineConfiguration->vvtMode[1] = VVT_HONDA_K_EXHAUST;
engineConfiguration->vvtOffsets[0] = -41;
engineConfiguration->vvtOffsets[1] = 171;
// set cranking_fuel 15
engineConfiguration->cranking.baseFuel = 75;
engineConfiguration->map.sensor.type = MT_DENSO183;
engineConfiguration->injector.flow = 270;
engineConfiguration->injectorCompensationMode = ICM_FixedRailPressure;
@ -43,20 +34,37 @@ void setProteusHondaElement2003() {
strcpy(engineConfiguration->engineMake, ENGINE_MAKE_HONDA);
strcpy(engineConfiguration->engineCode, "K24");
strcpy(engineConfiguration->vehicleName, "test");
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
vtsControl->pwmFrequency = 0;
strcpy(engineConfiguration->gpPwmNote[0], "VTS");
engineConfiguration->tpsMin = 100;
engineConfiguration->tpsMax = 830;
engineConfiguration->displayLogicLevelsInEngineSniffer = true;
// set cranking_fuel 15
engineConfiguration->cranking.baseFuel = 75;
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
vtsControl->pwmFrequency = 0;
strcpy(engineConfiguration->gpPwmNote[0], "VTS");
}
/**
* K24A4 engine
* PROTEUS_HONDA_K
*/
void setProteusHondaElement2003() {
setHondaK();
// engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
// engineConfiguration->trigger.customTotalToothCount = 12;
// engineConfiguration->trigger.customSkippedToothCount = 0;
// engineConfiguration->trigger.type = TT_HONDA_K_CAM_4_1; // cam as primary, ignoring crank
// engineConfiguration->globalTriggerAngleOffset = 570;
strcpy(engineConfiguration->vehicleName, "test");
gppwm_channel *vtsControl = &engineConfiguration->gppwm[0];
#if HW_PROTEUS & EFI_PROD_CODE

View File

@ -9,5 +9,6 @@
#include "engine_configuration.h"
void setHondaK();
void setProteusHondaElement2003();
void setProteusHondaOBD2A();