tuning and dragon
This commit is contained in:
parent
27bd2185fe
commit
0d1b6d5cfc
10 changed files with 51 additions and 62 deletions
2
fans.cfg
2
fans.cfg
|
@ -12,7 +12,7 @@ max_power: 1.0
|
||||||
kick_start_time: 0.5
|
kick_start_time: 0.5
|
||||||
heater: extruder
|
heater: extruder
|
||||||
heater_temp: 50.0
|
heater_temp: 50.0
|
||||||
fan_speed: 0.8
|
fan_speed: 0.6
|
||||||
|
|
||||||
[controller_fan driver_fan]
|
[controller_fan driver_fan]
|
||||||
## Controller Fan - FAN2 Connector
|
## Controller Fan - FAN2 Connector
|
||||||
|
|
|
@ -17,43 +17,6 @@ gcode:
|
||||||
SDCARD_RESET_FILE
|
SDCARD_RESET_FILE
|
||||||
BASE_CANCEL_PRINT
|
BASE_CANCEL_PRINT
|
||||||
|
|
||||||
[gcode_macro PAUSE]
|
|
||||||
rename_existing: BASE_PAUSE
|
|
||||||
gcode:
|
|
||||||
##### set defaults #####
|
|
||||||
{% set x = params.X|default(230) %} #edit to your park position
|
|
||||||
{% set y = params.Y|default(230) %} #edit to your park position
|
|
||||||
{% set z = params.Z|default(10)|float %} #edit to your park position
|
|
||||||
{% set e = params.E|default(1) %} #edit to your retract length
|
|
||||||
##### calculate save lift position #####
|
|
||||||
{% set max_z = printer.toolhead.axis_maximum.z|float %}
|
|
||||||
{% set act_z = printer.toolhead.position.z|float %}
|
|
||||||
{% set lift_z = z|abs %}
|
|
||||||
{% if act_z < (max_z - lift_z) %}
|
|
||||||
{% set z_safe = lift_z %}
|
|
||||||
{% else %}
|
|
||||||
{% set z_safe = max_z - act_z %}
|
|
||||||
{% endif %}
|
|
||||||
##### end of definitions #####
|
|
||||||
SAVE_GCODE_STATE NAME=PAUSE_state
|
|
||||||
BASE_PAUSE
|
|
||||||
G91
|
|
||||||
G1 E-{e} F2100
|
|
||||||
G1 Z{z_safe}
|
|
||||||
G90
|
|
||||||
G1 X{x} Y{y} F6000
|
|
||||||
|
|
||||||
|
|
||||||
[gcode_macro RESUME]
|
|
||||||
rename_existing: BASE_RESUME
|
|
||||||
gcode:
|
|
||||||
##### set defaults #####
|
|
||||||
{% set e = params.E|default(1) %} #edit to your retract length
|
|
||||||
G91
|
|
||||||
G1 E{e} F2100
|
|
||||||
G90
|
|
||||||
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
|
|
||||||
BASE_RESUME
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
|
@ -33,6 +33,8 @@ log_path: /home/kdb424/klipper_logs
|
||||||
|
|
||||||
[octoprint_compat]
|
[octoprint_compat]
|
||||||
|
|
||||||
|
[timelapse]
|
||||||
|
|
||||||
[history]
|
[history]
|
||||||
|
|
||||||
[update_manager]
|
[update_manager]
|
||||||
|
|
13
printer.cfg
13
printer.cfg
|
@ -9,6 +9,7 @@
|
||||||
[include fans.cfg]
|
[include fans.cfg]
|
||||||
[include calibration_macros.cfg]
|
[include calibration_macros.cfg]
|
||||||
[include purge_bucket.cfg]
|
[include purge_bucket.cfg]
|
||||||
|
[include timelapse.cfg]
|
||||||
|
|
||||||
[pause_resume]
|
[pause_resume]
|
||||||
[display_status]
|
[display_status]
|
||||||
|
@ -20,7 +21,7 @@ kinematics: corexy
|
||||||
max_velocity: 1000
|
max_velocity: 1000
|
||||||
max_accel: 15000
|
max_accel: 15000
|
||||||
max_accel_to_decel: 15000
|
max_accel_to_decel: 15000
|
||||||
max_z_velocity: 30
|
max_z_velocity: 80
|
||||||
max_z_accel: 500
|
max_z_accel: 500
|
||||||
square_corner_velocity: 8
|
square_corner_velocity: 8
|
||||||
|
|
||||||
|
@ -29,7 +30,7 @@ serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2B0016000B50534E4E313120-if00
|
||||||
|
|
||||||
[heater_bed]
|
[heater_bed]
|
||||||
heater_pin: PA3
|
heater_pin: PA3
|
||||||
sensor_type: Generic 3950
|
sensor_type: NTC 100K MGB18-104F39050L32
|
||||||
sensor_pin: PF3
|
sensor_pin: PF3
|
||||||
control: pid
|
control: pid
|
||||||
pid_Kp: 34.144
|
pid_Kp: 34.144
|
||||||
|
@ -50,7 +51,7 @@ screw4: 312,0
|
||||||
home_xy_position: 50, 331
|
home_xy_position: 50, 331
|
||||||
speed: 500.0
|
speed: 500.0
|
||||||
z_hop: 10
|
z_hop: 10
|
||||||
z_hop_speed: 15.0
|
z_hop_speed: 30
|
||||||
|
|
||||||
[firmware_retraction]
|
[firmware_retraction]
|
||||||
retract_length: 0.2
|
retract_length: 0.2
|
||||||
|
@ -59,6 +60,6 @@ unretract_speed: 80
|
||||||
|
|
||||||
[input_shaper]
|
[input_shaper]
|
||||||
shaper_type_x = mzv
|
shaper_type_x = mzv
|
||||||
shaper_freq_x = 69.6
|
shaper_freq_x = 69.4 # vibr=4.8 sm=0.04 accel=14200
|
||||||
shaper_type_y = mzv
|
shaper_type_y = zv
|
||||||
shaper_freq_y = 64
|
shaper_freq_y = 68.8 # vibr=1.4 sm=0.04 accel=18400
|
||||||
|
|
|
@ -11,10 +11,10 @@ variable_enable_purge: True
|
||||||
# These parameters define your filament purging. The retract variable is used to retract right after purging to prevent unnecessary
|
# These parameters define your filament purging. The retract variable is used to retract right after purging to prevent unnecessary
|
||||||
# oozing. Some filament are particularly oozy and may continue to ooze out of the nozzle for a second or two after retracting. The
|
# oozing. Some filament are particularly oozy and may continue to ooze out of the nozzle for a second or two after retracting. The
|
||||||
# ooze dwell variable makes allowance for this. Update as necessary. If you decided to not enable purge, you can ignore this section.
|
# ooze dwell variable makes allowance for this. Update as necessary. If you decided to not enable purge, you can ignore this section.
|
||||||
variable_purge_len: 30 ; Amount of filament, in mm, to purge.
|
variable_purge_len: 50 ; Amount of filament, in mm, to purge.
|
||||||
variable_purge_spd: 150 ; Speed, in mm/min, of the purge.
|
variable_purge_spd: 300 ; Speed, in mm/min, of the purge.
|
||||||
variable_purge_temp_min: 220 ; Minimum nozzle temperature to permit a purge. Otherwise, purge will not occur.
|
variable_purge_temp_min: 220 ; Minimum nozzle temperature to permit a purge. Otherwise, purge will not occur.
|
||||||
variable_purge_ret: 1 ; Retract length, in mm, after purging to prevent slight oozing. Adjust as necessary.
|
variable_purge_ret: 2 ; Retract length, in mm, after purging to prevent slight oozing. Adjust as necessary.
|
||||||
variable_ooze_dwell: 1 ; Dwell/wait time, in seconds, after purging and retracting.
|
variable_ooze_dwell: 1 ; Dwell/wait time, in seconds, after purging and retracting.
|
||||||
|
|
||||||
# Adjust this so that your nozzle scrubs within the brush. Currently defaulted to be a lot higher for safety. Be careful not to go too low!
|
# Adjust this so that your nozzle scrubs within the brush. Currently defaulted to be a lot higher for safety. Be careful not to go too low!
|
||||||
|
@ -24,7 +24,7 @@ variable_brush_top: 8
|
||||||
# direction is randomized based off whether the left or right bucket is randomly selected in the purge & scrubbing routine.
|
# direction is randomized based off whether the left or right bucket is randomly selected in the purge & scrubbing routine.
|
||||||
variable_clearance_z: 10 ; When traveling, but not cleaning, the clearance along the z-axis between nozzle and brush.
|
variable_clearance_z: 10 ; When traveling, but not cleaning, the clearance along the z-axis between nozzle and brush.
|
||||||
variable_wipe_qty: 3 ; Number of complete (A complete wipe: left, right, left OR right, left, right) wipes.
|
variable_wipe_qty: 3 ; Number of complete (A complete wipe: left, right, left OR right, left, right) wipes.
|
||||||
variable_prep_spd_xy: 3000 ; Travel (not cleaning) speed along x and y-axis in mm/min.
|
variable_prep_spd_xy: 6000 ; Travel (not cleaning) speed along x and y-axis in mm/min.
|
||||||
variable_prep_spd_z: 1500 ; Travel (not cleaning) speed along z axis in mm/min.
|
variable_prep_spd_z: 1500 ; Travel (not cleaning) speed along z axis in mm/min.
|
||||||
variable_wipe_spd_xy: 5000 ; Nozzle wipe speed in mm/min.
|
variable_wipe_spd_xy: 5000 ; Nozzle wipe speed in mm/min.
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# Extruder0
|
# Extruder0
|
||||||
[extruder]
|
[extruder]
|
||||||
rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
|
rotation_distance: 22.67895 #for 5mm Shaft Driven Bondtech gearsets
|
||||||
|
microsteps: 16
|
||||||
#gear_ratio: 50:10 #for standard 10t motor
|
#gear_ratio: 50:10 #for standard 10t motor
|
||||||
gear_ratio: 50:8 #for sherpa mini 8t motor
|
gear_ratio: 50:8 #for sherpa mini 8t motor
|
||||||
microsteps: 16
|
|
||||||
full_steps_per_rotation: 200 #1.8deg Motor
|
full_steps_per_rotation: 200 #1.8deg Motor
|
||||||
|
|
||||||
nozzle_diameter: 0.5
|
nozzle_diameter: 0.5
|
||||||
|
@ -24,13 +24,24 @@ sensor_type: PT1000
|
||||||
sensor_pin: PF4
|
sensor_pin: PF4
|
||||||
|
|
||||||
control: pid
|
control: pid
|
||||||
pid_Kp = 18.940
|
|
||||||
pid_Ki = 0.713
|
# Dragon HF
|
||||||
pid_Kd = 125.716
|
pid_Kp=19.645
|
||||||
|
pid_Ki=1.031
|
||||||
|
pid_Kd=93.558
|
||||||
|
|
||||||
|
# Alu
|
||||||
|
# pid_Kp = 21.956
|
||||||
|
# pid_Ki = 1.1031
|
||||||
|
# pid_Kd = 116.914
|
||||||
|
|
||||||
|
# Copper
|
||||||
|
# pid_Kp = 18.940
|
||||||
|
# pid_Ki = 0.713
|
||||||
|
# pid_Kd = 125.716
|
||||||
|
|
||||||
#settings for NEMA14 Stepper
|
#settings for NEMA14 Stepper
|
||||||
[tmc2209 extruder]
|
[tmc2209 extruder]
|
||||||
interpolate: True
|
|
||||||
uart_pin: PC7
|
uart_pin: PC7
|
||||||
#Run current is listed in RMS
|
#Run current is listed in RMS
|
||||||
#run_current: 0.30 #min current, equivalent to 0.42A peak (Peak = RMS/0.707)
|
#run_current: 0.30 #min current, equivalent to 0.42A peak (Peak = RMS/0.707)
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#LDO 48mm 1.8 42STH48-2004AC - 1.4Ohm 3mH
|
||||||
[tmc2209 stepper_x]
|
[tmc2209 stepper_x]
|
||||||
uart_pin: PC4
|
uart_pin: PC4
|
||||||
run_current: 1.5
|
run_current: 1.5
|
||||||
|
@ -5,11 +6,20 @@ sense_resistor: 0.110
|
||||||
stealthchop_threshold: 0
|
stealthchop_threshold: 0
|
||||||
diag_pin: ^PG6 # Set to MCU pin connected to TMC DIAG pin
|
diag_pin: ^PG6 # Set to MCU pin connected to TMC DIAG pin
|
||||||
driver_SGTHRS: 80 # 255 is most sensitive value, 0 is least sensitive
|
driver_SGTHRS: 80 # 255 is most sensitive value, 0 is least sensitive
|
||||||
|
driver_TBL: 1
|
||||||
|
driver_TOFF: 3
|
||||||
|
driver_HSTRT: 1
|
||||||
|
driver_HEND: 3
|
||||||
|
|
||||||
|
#LDO 48mm 1.8 42STH48-2004AC - 1.4Ohm 3mH
|
||||||
[tmc2209 stepper_y]
|
[tmc2209 stepper_y]
|
||||||
uart_pin: PD11
|
uart_pin: PD11
|
||||||
run_current: 1.5
|
run_current: 1.5
|
||||||
sense_resistor: 0.110
|
sense_resistor: 0.110
|
||||||
stealthchop_threshold: 0
|
stealthchop_threshold: 0
|
||||||
diag_pin: ^PG9 # Set to MCU pin connected to TMC DIAG pin
|
diag_pin: ^PG9 # Set to MCU pin connected to TMC DIAG pin
|
||||||
driver_SGTHRS: 90 # 255 is most sensitive value, 0 is least sensitive
|
driver_SGTHRS: 80 # 255 is most sensitive value, 0 is least sensitive
|
||||||
|
driver_TBL: 1
|
||||||
|
driver_TOFF: 3
|
||||||
|
driver_HSTRT: 1
|
||||||
|
driver_HEND: 3
|
||||||
|
|
|
@ -3,7 +3,6 @@ interpolate: false
|
||||||
cs_pin: PC4
|
cs_pin: PC4
|
||||||
#diag1_pin: PG12
|
#diag1_pin: PG12
|
||||||
run_current: 1.8
|
run_current: 1.8
|
||||||
#hold_current: 0.5
|
|
||||||
spi_bus: spi3
|
spi_bus: spi3
|
||||||
driver_SGT: 1
|
driver_SGT: 1
|
||||||
sense_resistor: 0.075
|
sense_resistor: 0.075
|
||||||
|
@ -13,7 +12,6 @@ interpolate: false
|
||||||
cs_pin: PF12
|
cs_pin: PF12
|
||||||
#diag1_pin: PG11
|
#diag1_pin: PG11
|
||||||
run_current: 1.8
|
run_current: 1.8
|
||||||
#hold_current: 0.5
|
|
||||||
spi_bus: spi3
|
spi_bus: spi3
|
||||||
driver_SGT: 1
|
driver_SGT: 1
|
||||||
sense_resistor: 0.075
|
sense_resistor: 0.075
|
||||||
|
|
12
steppers.cfg
12
steppers.cfg
|
@ -21,13 +21,13 @@ enable_pin: !PF15
|
||||||
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
||||||
microsteps: 16
|
microsteps: 16
|
||||||
rotation_distance: 40
|
rotation_distance: 40
|
||||||
position_endstop: 0
|
position_endstop: 331
|
||||||
position_min: 0
|
position_min: 0
|
||||||
position_max: 331
|
position_max: 331
|
||||||
homing_speed: 40
|
homing_speed: 40
|
||||||
full_steps_per_rotation: 200
|
full_steps_per_rotation: 200
|
||||||
homing_retract_dist: 0
|
homing_retract_dist: 0
|
||||||
homing_positive_dir: false
|
homing_positive_dir: true
|
||||||
step_pulse_duration: 0.000001
|
step_pulse_duration: 0.000001
|
||||||
|
|
||||||
[stepper_z]
|
[stepper_z]
|
||||||
|
@ -37,12 +37,12 @@ enable_pin: !PG5
|
||||||
microsteps: 16
|
microsteps: 16
|
||||||
rotation_distance: 4
|
rotation_distance: 4
|
||||||
endstop_pin: PG10
|
endstop_pin: PG10
|
||||||
position_endstop: -1
|
position_endstop: -1.1
|
||||||
position_min: -1
|
position_min: -1.1
|
||||||
position_max: 400
|
position_max: 400
|
||||||
full_steps_per_rotation: 200
|
full_steps_per_rotation: 200
|
||||||
homing_retract_dist: 5.0
|
homing_retract_dist: 5.0
|
||||||
homing_positive_dir: false
|
homing_positive_dir: false
|
||||||
homing_speed: 5.0
|
homing_speed: 8
|
||||||
second_homing_speed: 2.5
|
second_homing_speed: 3
|
||||||
step_pulse_duration: 0.000004
|
step_pulse_duration: 0.000004
|
||||||
|
|
|
@ -7,6 +7,10 @@ run_current: 0.8
|
||||||
hold_current: 0.8
|
hold_current: 0.8
|
||||||
sense_resistor: 0.110
|
sense_resistor: 0.110
|
||||||
stealthchop_threshold: 0
|
stealthchop_threshold: 0
|
||||||
|
driver_TBL: 1
|
||||||
|
driver_TOFF: 3
|
||||||
|
driver_HSTRT: 0
|
||||||
|
driver_HEND: 3
|
||||||
|
|
||||||
[endstop_phase stepper_z]
|
[endstop_phase stepper_z]
|
||||||
trigger_phase = 22/64
|
trigger_phase = 22/64
|
||||||
|
|
Loading…
Add table
Reference in a new issue