Update printer.cfg

This commit is contained in:
Siwat Sirichai 2023-12-16 08:07:43 -08:00
parent d235dc772e
commit 877191e427
1 changed files with 35 additions and 15 deletions

View File

@ -168,7 +168,7 @@ stealthchop_threshold: 0
step_pin: printhead: PD0 step_pin: printhead: PD0
dir_pin: printhead: PD1 dir_pin: printhead: PD1
enable_pin: !printhead: PD2 enable_pin: !printhead: PD2
rotation_distance: 8 rotation_distance: 5.7
gear_ratio: 1:1 gear_ratio: 1:1
microsteps: 16 microsteps: 16
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree 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 rtd_num_of_wires: 4
min_temp: 10 min_temp: 10
max_temp: 270 max_temp: 270
max_power: 0.7 max_power: 1.0
min_extrude_temp: 170 min_extrude_temp: 170
control = pid #control = pid
pid_kp = 26.213 #pid_kp = 26.213
pid_ki = 1.304 #pid_ki = 1.304
pid_kd = 131.721 #pid_kd = 131.721
## Try to keep pressure_advance below 1.0 ## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05 #pressure_advance: 0.05
## Default is 0.040, leave stock ## Default is 0.040, leave stock
@ -198,7 +198,7 @@ pid_kd = 131.721
[tmc2209 extruder] [tmc2209 extruder]
uart_pin: printhead: PA15 uart_pin: printhead: PA15
interpolate: false interpolate: false
run_current: 0.47 run_current: 0.707
stealthchop_threshold: 0 stealthchop_threshold: 0
[adxl345] [adxl345]
@ -225,10 +225,10 @@ sensor_pin: PB1
max_power: 1 max_power: 1
min_temp: 0 min_temp: 0
max_temp: 120 max_temp: 120
control: pid #control: pid
pid_kp: 58.437 #pid_kp: 58.437
pid_ki: 2.347 #pid_ki: 2.347
pid_kd: 363.769 #pid_kd: 363.769
##################################################################### #####################################################################
# Probe # Probe
@ -246,8 +246,8 @@ speed: 10.0
samples: 3 samples: 3
samples_result: median samples_result: median
sample_retract_dist: 5.0 sample_retract_dist: 5.0
samples_tolerance: 0.006 samples_tolerance: 0.01
samples_tolerance_retries: 3 samples_tolerance_retries: 6
activate_gcode: activate_gcode:
{% set PROBE_TEMP = 150 %} {% set PROBE_TEMP = 150 %}
{% set MAX_TEMP = PROBE_TEMP + 5 %} {% set MAX_TEMP = PROBE_TEMP + 5 %}
@ -356,7 +356,7 @@ speed: 100
horizontal_move_z: 10 horizontal_move_z: 10
retries: 5 retries: 5
retry_tolerance: 0.01 retry_tolerance: 0.01
max_adjust: 10 max_adjust: 15
[board_pins] [board_pins]
aliases: aliases:
@ -373,6 +373,14 @@ aliases:
EXP2_5=PE7, EXP2_6=PB11, # Slot in the socket on this side EXP2_5=PE7, EXP2_6=PB11, # Slot in the socket on this side
EXP2_7=PE8, EXP2_8=<RST>, EXP2_7=PE8, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=PC5 EXP2_9=<GND>, EXP2_10=PC5
#####################################################################
# Optional G-Codes
#####################################################################
[gcode_arcs]
resolution: 0.1
[exclude_object]
##################################################################### #####################################################################
# Macros # Macros
@ -418,4 +426,16 @@ gcode:
#*# shaper_freq_y = 62.0 #*# shaper_freq_y = 62.0
#*# #*#
#*# [probe] #*# [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