From 877191e4270a1cac171166b54c923576fc7fd6c4 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sat, 16 Dec 2023 08:07:43 -0800 Subject: [PATCH] Update printer.cfg --- printer.cfg | 50 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 15 deletions(-) diff --git a/printer.cfg b/printer.cfg index 42bef5f..79996e8 100644 --- a/printer.cfg +++ b/printer.cfg @@ -168,7 +168,7 @@ stealthchop_threshold: 0 step_pin: printhead: PD0 dir_pin: printhead: PD1 enable_pin: !printhead: PD2 -rotation_distance: 8 +rotation_distance: 5.7 gear_ratio: 1:1 microsteps: 16 full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree @@ -184,12 +184,12 @@ rtd_reference_r: 4300 rtd_num_of_wires: 4 min_temp: 10 max_temp: 270 -max_power: 0.7 +max_power: 1.0 min_extrude_temp: 170 -control = pid -pid_kp = 26.213 -pid_ki = 1.304 -pid_kd = 131.721 +#control = pid +#pid_kp = 26.213 +#pid_ki = 1.304 +#pid_kd = 131.721 ## Try to keep pressure_advance below 1.0 #pressure_advance: 0.05 ## Default is 0.040, leave stock @@ -198,7 +198,7 @@ pid_kd = 131.721 [tmc2209 extruder] uart_pin: printhead: PA15 interpolate: false -run_current: 0.47 +run_current: 0.707 stealthchop_threshold: 0 [adxl345] @@ -225,10 +225,10 @@ sensor_pin: PB1 max_power: 1 min_temp: 0 max_temp: 120 -control: pid -pid_kp: 58.437 -pid_ki: 2.347 -pid_kd: 363.769 +#control: pid +#pid_kp: 58.437 +#pid_ki: 2.347 +#pid_kd: 363.769 ##################################################################### # Probe @@ -246,8 +246,8 @@ speed: 10.0 samples: 3 samples_result: median sample_retract_dist: 5.0 -samples_tolerance: 0.006 -samples_tolerance_retries: 3 +samples_tolerance: 0.01 +samples_tolerance_retries: 6 activate_gcode: {% set PROBE_TEMP = 150 %} {% set MAX_TEMP = PROBE_TEMP + 5 %} @@ -356,7 +356,7 @@ speed: 100 horizontal_move_z: 10 retries: 5 retry_tolerance: 0.01 -max_adjust: 10 +max_adjust: 15 [board_pins] aliases: @@ -373,6 +373,14 @@ aliases: EXP2_5=PE7, EXP2_6=PB11, # Slot in the socket on this side EXP2_7=PE8, EXP2_8=, EXP2_9=, EXP2_10=PC5 +##################################################################### +# Optional G-Codes +##################################################################### +[gcode_arcs] +resolution: 0.1 + +[exclude_object] + ##################################################################### # Macros @@ -418,4 +426,16 @@ gcode: #*# shaper_freq_y = 62.0 #*# #*# [probe] -#*# z_offset = -1.650 +#*# z_offset = -1.940 +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 23.189 +#*# pid_ki = 1.562 +#*# pid_kd = 86.089 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 62.274 +#*# pid_ki = 3.218 +#*# pid_kd = 301.250