From f09119b6fa9412b948b578cf299d58de9d81ad9f Mon Sep 17 00:00:00 2001 From: rusefi Date: Mon, 22 Apr 2019 21:32:55 -0400 Subject: [PATCH] ETB tiny progress --- firmware/tunerstudio/rusefi.ini | 35 ++++++++++++++++++++++++++++--- firmware/tunerstudio/rusefi.input | 33 +++++++++++++++++++++++++++-- misc/www/s/etb/index.shtml | 17 +++++++++++++++ 3 files changed, 80 insertions(+), 5 deletions(-) create mode 100644 misc/www/s/etb/index.shtml diff --git a/firmware/tunerstudio/rusefi.ini b/firmware/tunerstudio/rusefi.ini index 84068f91f0..69549cb6a4 100644 --- a/firmware/tunerstudio/rusefi.ini +++ b/firmware/tunerstudio/rusefi.ini @@ -68,7 +68,7 @@ enable2ndByteCanID = false ; see PAGE_0_SIZE in C source code ; CONFIG_DEFINITION_START -; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Sat Apr 20 23:18:45 EDT 2019 +; this section was generated automatically by ConfigDefinition.jar based on rusefi_config.txt Mon Apr 22 21:32:30 EDT 2019 pageSize = 20000 page = 1 @@ -2157,6 +2157,13 @@ cmd_test_inj15 = "w\x00\x13\x00\x0f" cmd_test_inj16 = "w\x00\x13\x00\x10" cmd_test_fuel_pump = "w\x00\x14\x00\x01" +cmd_calibrate_tps_1_closed = "w\x00\x14\x00\x02" +cmd_calibrate_tps_1_wot = "w\x00\x14\x00\x03" +cmd_calibrate_tps_2_closed = "w\x00\x14\x00\x04" +cmd_calibrate_tps_2_wot = "w\x00\x14\x00\x05" +cmd_calibrate_pedal_up = "w\x00\x14\x00\x06" +cmd_calibrate_pedal_down = "w\x00\x14\x00\x07" + cmd_test_radiator_fan = "w\x00\x15\x00\x01" cmd_test_check_engine_light = "w\x00\x16\x00\x01" cmd_test_idle_valve = "w\x00\x17\x00\x01" @@ -3222,6 +3229,10 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" text = "More about fuel control on the web" webHelp = "https://rusefi.com/s/fuel" + help = etbHelp, "ETB Control" + text = "More about electronic throttle body on the web" + webHelp = "https://rusefi.com/s/etb" + help = tpsTpsHelp, "Acceleration Enrichment" text = "More about Tps To Tps acceleration on the web" webHelp = "https://rusefi.com/s/tpstps" @@ -3237,8 +3248,9 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" dialog = veTableDialog3D, "VE Table" topicHelp = "veTableDialogHelp" panel = veTableMap, South - - dialog = etbDialog, "Electronic Thtottle Body (beta)" + + dialog = etbDialogLeft + field = "https://rusefi.com/s/etb" field = "verbose", isVerboseETB field = "Throttle Pedal Up", throttlePedalUpVoltage field = "Throttle Pedal Wide Open", throttlePedalWOTVoltage @@ -3261,6 +3273,23 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" field = "iTermMin", etb_iTermMin, {throttlePedalPositionAdcChannel != 16} field = "iTermMax", etb_iTermMax, {throttlePedalPositionAdcChannel != 16} field = "etbDeadband", etbDeadband, {throttlePedalPositionAdcChannel != 16} + + dialog = etbDialogRight + field = "Press buttons to calibrate sensors" + field = "You would have to remove air filter to move throttle manually" + commandButton = "TPS#1 closed position", cmd_calibrate_tps_1_closed + commandButton = "TPS#1 wide open position", cmd_calibrate_tps_1_wot + field = "Not many vehicles have two throttle bodies but some do" + commandButton = "TPS#2 closed position", cmd_calibrate_tps_2_closed + commandButton = "TPS#2 wide open position", cmd_calibrate_tps_2_wot + commandButton = "Pedal Up", cmd_calibrate_pedal_up + commandButton = "Pedal Down", cmd_calibrate_pedal_down + + dialog = etbDialog, "Electronic Thtottle Body (beta)", border + topicHelp = "etbHelp" + panel = etbDialogLeft, West + panel = etbDialogRight, East + dialog = testSpark, "Spark" commandButton = "Spark #1", cmd_test_spk1 diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index a42e9e08f4..e7f503ccce 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1231,6 +1231,13 @@ cmd_test_inj15 = "w\x00\x13\x00\x0f" cmd_test_inj16 = "w\x00\x13\x00\x10" cmd_test_fuel_pump = "w\x00\x14\x00\x01" +cmd_calibrate_tps_1_closed = "w\x00\x14\x00\x02" +cmd_calibrate_tps_1_wot = "w\x00\x14\x00\x03" +cmd_calibrate_tps_2_closed = "w\x00\x14\x00\x04" +cmd_calibrate_tps_2_wot = "w\x00\x14\x00\x05" +cmd_calibrate_pedal_up = "w\x00\x14\x00\x06" +cmd_calibrate_pedal_down = "w\x00\x14\x00\x07" + cmd_test_radiator_fan = "w\x00\x15\x00\x01" cmd_test_check_engine_light = "w\x00\x16\x00\x01" cmd_test_idle_valve = "w\x00\x17\x00\x01" @@ -2296,6 +2303,10 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" text = "More about fuel control on the web" webHelp = "https://rusefi.com/s/fuel" + help = etbHelp, "ETB Control" + text = "More about electronic throttle body on the web" + webHelp = "https://rusefi.com/s/etb" + help = tpsTpsHelp, "Acceleration Enrichment" text = "More about Tps To Tps acceleration on the web" webHelp = "https://rusefi.com/s/tpstps" @@ -2311,8 +2322,9 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" dialog = veTableDialog3D, "VE Table" topicHelp = "veTableDialogHelp" panel = veTableMap, South - - dialog = etbDialog, "Electronic Thtottle Body (beta)" + + dialog = etbDialogLeft + field = "https://rusefi.com/s/etb" field = "verbose", isVerboseETB field = "Throttle Pedal Up", throttlePedalUpVoltage field = "Throttle Pedal Wide Open", throttlePedalWOTVoltage @@ -2335,6 +2347,23 @@ cmd_set_engine_type_default = "w\x00\x31\x00\x00" field = "iTermMin", etb_iTermMin, {throttlePedalPositionAdcChannel != 16} field = "iTermMax", etb_iTermMax, {throttlePedalPositionAdcChannel != 16} field = "etbDeadband", etbDeadband, {throttlePedalPositionAdcChannel != 16} + + dialog = etbDialogRight + field = "Press buttons to calibrate sensors" + field = "You would have to remove air filter to move throttle manually" + commandButton = "TPS#1 closed position", cmd_calibrate_tps_1_closed + commandButton = "TPS#1 wide open position", cmd_calibrate_tps_1_wot + field = "Not many vehicles have two throttle bodies but some do" + commandButton = "TPS#2 closed position", cmd_calibrate_tps_2_closed + commandButton = "TPS#2 wide open position", cmd_calibrate_tps_2_wot + commandButton = "Pedal Up", cmd_calibrate_pedal_up + commandButton = "Pedal Down", cmd_calibrate_pedal_down + + dialog = etbDialog, "Electronic Thtottle Body (beta)", border + topicHelp = "etbHelp" + panel = etbDialogLeft, West + panel = etbDialogRight, East + dialog = testSpark, "Spark" commandButton = "Spark #1", cmd_test_spk1 diff --git a/misc/www/s/etb/index.shtml b/misc/www/s/etb/index.shtml new file mode 100644 index 0000000000..3f49542311 --- /dev/null +++ b/misc/www/s/etb/index.shtml @@ -0,0 +1,17 @@ + + + + + + + +
+ +




+ +https://github.com/rusefi/rusefi_documentation/blob/master/FAQ/HOWTO_electronic_throttle_body.md + +
+ + +