From d235dc772e65282cb63f32d565bd3d401f8b1bcf Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 15 Dec 2023 09:53:48 -0800 Subject: [PATCH] Update printer.cfg --- printer.cfg | 50 +++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 9 deletions(-) diff --git a/printer.cfg b/printer.cfg index fd3f1ed..42bef5f 100644 --- a/printer.cfg +++ b/printer.cfg @@ -13,7 +13,7 @@ canbus_uuid: 0ab26b4c87c4 [printer] kinematics: corexy max_velocity: 500 -max_accel: 4000 #Max 4000 +max_accel: 20000 max_z_velocity: 20 #Max 15 for 12V TMC Drivers, can increase for 24V max_z_accel: 350 square_corner_velocity: 5.0 @@ -49,7 +49,7 @@ cs_pin: PC13 spi_software_mosi_pin: PG6 spi_software_miso_pin: PG7 spi_software_sclk_pin: PG8 -run_current: 0.800 +run_current: 1.000 stealthchop_threshold: 0 # Y Stepper on Motor2 (A Motor) @@ -62,8 +62,8 @@ rotation_distance: 40 endstop_pin: ^PF3 full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper position_min: 0 -position_endstop: 300 -position_max: 300 +position_endstop: 355 +position_max: 355 homing_speed: 25 #Max 100 homing_retract_dist: 5 homing_positive_dir: true @@ -73,7 +73,7 @@ cs_pin: PE3 spi_software_mosi_pin: PG6 spi_software_miso_pin: PG7 spi_software_sclk_pin: PG8 -run_current: 0.800 +run_current: 1.000 stealthchop_threshold: 0 @@ -206,7 +206,12 @@ cs_pin: printhead: PB12 spi_software_sclk_pin: printhead: PB10 spi_software_mosi_pin: printhead: PB11 spi_software_miso_pin: printhead: PB2 -axes_map: x,y,z +axes_map: x,z,y + +[resonance_tester] +accel_chip: adxl345 +probe_points: + 175, 175, 30 ##################################################################### # Bed Heater @@ -236,13 +241,29 @@ pid_kd: 363.769 pin: printhead: PB6 x_offset: 0 y_offset: 25.0 -z_offset: 0 +#z_offset: 0 speed: 10.0 samples: 3 samples_result: median sample_retract_dist: 5.0 samples_tolerance: 0.006 samples_tolerance_retries: 3 +activate_gcode: + {% set PROBE_TEMP = 150 %} + {% set MAX_TEMP = PROBE_TEMP + 5 %} + {% set ACTUAL_TEMP = printer.extruder.temperature %} + {% set TARGET_TEMP = printer.extruder.target %} + + {% if TARGET_TEMP > PROBE_TEMP %} + { action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) } + M109 S{ PROBE_TEMP } + {% else %} + # Temperature target is already low enough, but nozzle may still be too hot. + {% if ACTUAL_TEMP > MAX_TEMP %} + { action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) } + TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP } + {% endif %} + {% endif %} ##################################################################### # Fan Control @@ -334,7 +355,7 @@ points: speed: 100 horizontal_move_z: 10 retries: 5 -retry_tolerance: 0.0075 +retry_tolerance: 0.01 max_adjust: 10 [board_pins] @@ -386,4 +407,15 @@ gcode: G90 ; absolute positioning G0 X125 Y250 F3600 ; park nozzle at rear BED_MESH_CLEAR - + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [input_shaper] +#*# shaper_type_x = mzv +#*# shaper_freq_x = 49.4 +#*# shaper_type_y = zv +#*# shaper_freq_y = 62.0 +#*# +#*# [probe] +#*# z_offset = -1.650