From 83530b6e9e928296649b0d588e07077f859ace2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BE=D0=BA=D0=BE=D0=BB=D0=BE=D0=B2=20=D0=95=D0=B2?= =?UTF-8?q?=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Tue, 9 Jan 2024 12:03:40 +0300 Subject: [PATCH 1/3] STEAPP-866: fixed a bug where the v750 printer turned off the chamber_fan fan when printing --- stereotech_config/750/chamber.cfg | 39 ++++++++++++------------------- 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/stereotech_config/750/chamber.cfg b/stereotech_config/750/chamber.cfg index 15e401a057c4..2ecc1d646d68 100644 --- a/stereotech_config/750/chamber.cfg +++ b/stereotech_config/750/chamber.cfg @@ -1,9 +1,3 @@ -# [fan_generic chamber_fan] -# pin: second_mcu: cooling_fan_heat - -# for fan webcam -# [fan_generic webcam_fan] -# pin: second_mcu: cooling_fan_heat [heater_generic chamber_heater] gcode_id: C heater_pin: multi_pin:chamber_heater @@ -16,6 +10,10 @@ pid_Kd: 2332.142 min_temp: -150 max_temp: 200 +# FOR FAN WEBCAM +# [fan_generic webcam_fan] +# pin: second_mcu: cooling_fan_heat + [heater_fan chamber_fan] pin: chamber_fan_pin heater: chamber_heater @@ -52,28 +50,21 @@ rename_existing: M106.1 gcode: {% set p = params.P|default(0)|int %} {% set s = params.S|default(0)|int %} - {% if p == 3 %} - HEATER_FAN_TEST FAN=chamber_fan SPEED=1.0 - {% else %} - M106.1 S255 ;TURN ON PUMP - {% if p == 1 %} - SET_PIN PIN=extruder1_cooling_valve VALUE=1 - {% else %} - SET_PIN PIN=extruder_cooling_valve VALUE=1 - {% endif %} + M106.1 S255 ;TURN ON PUMP + + {% if p == 0 %} + SET_PIN PIN=extruder_cooling_valve VALUE=1 + {% elif p == 1 %} + SET_PIN PIN=extruder1_cooling_valve VALUE=1 {% endif %} [gcode_macro M107] rename_existing: M107.1 gcode: {% set p = params.P|default(0)|int %} - {% if p == 3 %} - HEATER_FAN_TEST FAN=chamber_fan SPEED=0.0 - {% else %} - M107.1 ;TURN OFF PUMP - {% if p == 1 %} - SET_PIN PIN=extruder1_cooling_valve VALUE=0 - {% else %} - SET_PIN PIN=extruder_cooling_valve VALUE=0 - {% endif %} + M107.1 ;TURN OFF PUMP + {% if p == 0 %} + SET_PIN PIN=extruder_cooling_valve VALUE=0 + {% elif p == 1 %} + SET_PIN PIN=extruder1_cooling_valve VALUE=0 {% endif %} From 4146c92d3d07272a57a94c05c5defeb86a3c07aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BE=D0=BA=D0=BE=D0=BB=D0=BE=D0=B2=20=D0=95=D0=B2?= =?UTF-8?q?=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Tue, 9 Jan 2024 12:04:58 +0300 Subject: [PATCH 2/3] STEAPP-866: fixed a bug where the v750 printer turned off the chamber_fan fan when printing --- stereotech_config/750/chamber.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/stereotech_config/750/chamber.cfg b/stereotech_config/750/chamber.cfg index 2ecc1d646d68..95193055d532 100644 --- a/stereotech_config/750/chamber.cfg +++ b/stereotech_config/750/chamber.cfg @@ -51,7 +51,6 @@ gcode: {% set p = params.P|default(0)|int %} {% set s = params.S|default(0)|int %} M106.1 S255 ;TURN ON PUMP - {% if p == 0 %} SET_PIN PIN=extruder_cooling_valve VALUE=1 {% elif p == 1 %} From b848436756caacae77fd366d3957650a36a88cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BE=D0=BA=D0=BE=D0=BB=D0=BE=D0=B2=20=D0=95=D0=B2?= =?UTF-8?q?=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9?= Date: Tue, 9 Jan 2024 12:29:48 +0300 Subject: [PATCH 3/3] STEAPP-866: fixed a bug, duplicated sections in the configuration and restored the pid parameters --- stereotech_config/750/chamber.cfg | 21 --------------------- stereotech_config/750/chamber_heater.cfg | 12 +++++++++--- 2 files changed, 9 insertions(+), 24 deletions(-) diff --git a/stereotech_config/750/chamber.cfg b/stereotech_config/750/chamber.cfg index 95193055d532..4aea73f29030 100644 --- a/stereotech_config/750/chamber.cfg +++ b/stereotech_config/750/chamber.cfg @@ -1,28 +1,7 @@ -[heater_generic chamber_heater] -gcode_id: C -heater_pin: multi_pin:chamber_heater -sensor_type: ATC Semitec 104GT-2 -sensor_pin: chamber_sensor_pin -control: pid -pid_Kp: 44.327 -pid_Ki: 0.211 -pid_Kd: 2332.142 -min_temp: -150 -max_temp: 200 - # FOR FAN WEBCAM # [fan_generic webcam_fan] # pin: second_mcu: cooling_fan_heat -[heater_fan chamber_fan] -pin: chamber_fan_pin -heater: chamber_heater -heater_temp: 40 - -#ONLY FOR DEBUG -[verify_heater chamber_heater] -check_gain_time: 1000 - [output_pin chamber_led] pin: manta_mcu:chamber_led_pin pwm: True diff --git a/stereotech_config/750/chamber_heater.cfg b/stereotech_config/750/chamber_heater.cfg index f4c2510e06d8..b5fcb2b49b90 100644 --- a/stereotech_config/750/chamber_heater.cfg +++ b/stereotech_config/750/chamber_heater.cfg @@ -4,11 +4,17 @@ heater_pin: multi_pin:chamber_heater sensor_type: ATC Semitec 104GT-2 sensor_pin: chamber_sensor_pin control: pid -pid_Kp: 39.120 -pid_Ki: 0.196 -pid_Kd: 1955.496 +pid_Kp: 44.327 +pid_Ki: 0.211 +pid_Kd: 2332.142 min_temp: -150 max_temp: 200 +# test0 (open door) +# pid_Kp=39.120 pid_Ki=0.196 pid_Kd=1955.496 +# test1 +#pid_Kp=45.436 pid_Ki=0.220 pid_Kd=2341.109 +# test2 +#pid_Kp=44.327 pid_Ki=0.211 pid_Kd=2332.142 [heater_fan chamber_fan] pin: chamber_fan_pin