From dbc94a2f5a5b38002f59fc2052d5955357f4f418 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Wed, 31 Jan 2024 21:15:58 +0700 Subject: [PATCH] Update printer.cfg --- printer.cfg | 64 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/printer.cfg b/printer.cfg index d2bffe1..26ba378 100644 --- a/printer.cfg +++ b/printer.cfg @@ -31,6 +31,13 @@ sensor_type: temperature_host # X/Y Stepper Settings ##################################################################### +[motor_constants ldo-42sth60-2004mac] +resistance: 1.4 +inductance: 0.003 +holding_torque: 0.5884 +max_current: 2.0 +steps_per_revolution: 400 + ## X Stepper on Motor1(B Motor) [stepper_x] step_pin: PE6 @@ -55,6 +62,11 @@ spi_software_sclk_pin: PG8 run_current: 1.414 stealthchop_threshold: 0 +[autotune_tmc stepper_x] +motor: ldo-42sth60-2004mac +tuning_goal: performance +voltage: 48.0 + # Y Stepper on Motor2 (A Motor) [stepper_y] step_pin: PE2 @@ -79,6 +91,11 @@ spi_software_sclk_pin: PG8 run_current: 1.414 stealthchop_threshold: 0 +[autotune_tmc stepper_y] +motor: ldo-42sth60-2004mac +tuning_goal: performance +voltage: 48.0 + ##################################################################### # Z Stepper Settings @@ -99,7 +116,7 @@ endstop_pin: probe:z_virtual_endstop ## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config #position_endstop: -2 position_max: 300 -position_min: -5 +position_min: -10 homing_speed: 5 second_homing_speed: 3 homing_retract_dist: 3 @@ -112,6 +129,11 @@ spi_software_sclk_pin: PG8 run_current: 1 stealthchop_threshold: 0 +# [autotune_tmc stepper_z] +# motor: moons-ms17hd6p420I-05 +# tuning_goal: silent +# voltage: 48.0 + ## Z1 Stepper - Rear Left on Motor5 [stepper_z1] step_pin: PG13 @@ -129,6 +151,11 @@ spi_software_sclk_pin: PG8 run_current: 1 stealthchop_threshold: 0 +# [autotune_tmc stepper_z1] +# motor: moons-ms17hd6p420I-05 +# tuning_goal: silent +# voltage: 48.0 + ## Z2 Stepper - Rear Right on Motor6 [stepper_z2] step_pin: PG9 @@ -146,6 +173,11 @@ spi_software_sclk_pin: PG8 run_current: 1 stealthchop_threshold: 0 +# [autotune_tmc stepper_z2] +# motor: moons-ms17hd6p420I-05 +# tuning_goal: silent +# voltage: 48.0 + ## Z3 Stepper - Front Right on Motor7 [stepper_z3] step_pin: PD4 @@ -163,6 +195,11 @@ spi_software_sclk_pin: PG8 run_current: 1 stealthchop_threshold: 0 +# [autotune_tmc stepper_z3] +# motor: moons-ms17hd6p420I-05 +# tuning_goal: silent +# voltage: 48.0 + ##################################################################### # Extruder ##################################################################### @@ -204,6 +241,19 @@ interpolate: false run_current: 0.707 stealthchop_threshold: 0 +[motor_constants moon-36h020h-1004a-001] +resistance: 2.37 +inductance: 0.0012 +holding_torque: 0.0883 +max_current: 0.6 +steps_per_revolution: 200 + + +[autotune_tmc extruder] +motor: moon-36h020h-1004a-001 +tuning_goal: performance +voltage: 24.0 + [adxl345] cs_pin: printhead: PB12 spi_software_sclk_pin: printhead: PB10 @@ -583,7 +633,7 @@ auto_cancel_variation: 0.1 #*# shaper_freq_y = 48.0 #*# #*# [probe] -#*# z_offset = -1.695 +#*# z_offset = -1.455 #*# #*# [extruder] #*# @@ -592,11 +642,11 @@ auto_cancel_variation: 0.1 #*# [bed_mesh default] #*# version = 1 #*# points = -#*# 0.139631, 0.113800, 0.170627, 0.118966, 0.018227 -#*# 0.018227, 0.196458, 0.095719, 0.062139, -0.007603 -#*# 0.041475, -0.017935, -0.025684, -0.030851, -0.064430 -#*# -0.028268, 0.010478, -0.007603, 0.036309, -0.023101 -#*# 0.077638, 0.137048, 0.155129, 0.147380, 0.069888 +#*# 0.592323, 0.690479, 0.687896, 0.682730, 0.618154 +#*# 0.625903, 0.662065, 0.690479, 0.685313, 0.633652 +#*# 0.594906, 0.625903, 0.618154, 0.612987, 0.638818 +#*# 0.579408, 0.615570, 0.612987, 0.659482, 0.576825 +#*# 0.636235, 0.703394, 0.659482, 0.654316, 0.607821 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2