Update printer.cfg

This commit is contained in:
Siwat Sirichai 2023-11-19 04:13:36 -08:00
parent 4799ab2e71
commit c9197d72d0
1 changed files with 386 additions and 328 deletions

View File

@ -8,7 +8,7 @@ serial: /tmp/klipper_host_mcu
canbus_uuid: a39755b6c75c
[mcu printhead]
canbus_uuid: 000000000000
canbus_uuid: 0ab26b4c87c4
[printer]
kinematics: corexy
@ -38,13 +38,21 @@ rotation_distance: 40
full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin: ^PF4
position_min: 0
position_endstop: 350
position_max: 350
position_endstop: 346
position_max: 346
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true
## Y Stepper on Motor2 (A Motor)
[tmc5160 stepper_x]
cs_pin: PC13
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.800
stealthchop_threshold: 0
# Y Stepper on Motor2 (A Motor)
[stepper_y]
step_pin: PE2
dir_pin: PE1
@ -54,12 +62,21 @@ rotation_distance: 40
endstop_pin: ^PF3
full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
position_min: 0
position_endstop: 350
position_max: 350
position_endstop: 300
position_max: 300
homing_speed: 25 #Max 100
homing_retract_dist: 5
homing_positive_dir: true
[tmc5160 stepper_y]
cs_pin: PE3
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.800
stealthchop_threshold: 0
#####################################################################
# Z Stepper Settings
#####################################################################
@ -72,13 +89,26 @@ enable_pin: !PE0
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
endstop_pin: probe:z_virtual_endstop
endstop_pin: ^PF2
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
position_endstop: -2
position_max: 340
position_min: -5
homing_speed: 5
second_homing_speed: 3
homing_retract_dist: 3
[tmc5160 stepper_z]
cs_pin: PB9
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.8
stealthchop_threshold: 0
## Z1 Stepper - Rear Left on Motor5
[stepper_z1]
step_pin: PG13
@ -88,6 +118,14 @@ rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc5160 stepper_z1]
cs_pin: PG14
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.800
stealthchop_threshold: 0
## Z2 Stepper - Rear Right on Motor6
[stepper_z2]
step_pin: PG9
@ -97,6 +135,14 @@ rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc5160 stepper_z2]
cs_pin: PG10
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.800
stealthchop_threshold: 0
## Z3 Stepper - Front Right on Motor7
[stepper_z3]
step_pin: PD4
@ -106,28 +152,35 @@ rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc5160 stepper_z3]
cs_pin: PD5
spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8
run_current: 0.800
stealthchop_threshold: 0
#####################################################################
# Extruder
#####################################################################
[extruder]
step_pin: printhead: PA9
dir_pin: !printhead: PA8
enable_pin: !printhead: PA10
step_pin: printhead: PD0
dir_pin: !printhead: PD1
enable_pin: !printhead: PD2
rotation_distance: 8
gear_ratio: 1:1
microsteps: 16
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: printhead: PB1
sensor_type:MAX31865
sensor_pin: printhead: PA15
heater_pin: printhead: PA2
sensor_type: MAX31865
sensor_pin: printhead: PA4
spi_bus: spi1a
rtd_nominal_r: 1000
rtd_reference_r: 430
rtd_num_of_wires: 2
rtd_use_50Hz_filter: True
rtd_num_of_wires: 4
min_temp: 10
max_temp: 270
max_power: 1.0
@ -142,7 +195,7 @@ pid_kd = 131.721
#pressure_advance_smooth_time: 0.040
[tmc2209 extruder]
uart_pin: printhead: PA13
uart_pin: printhead: PA15
interpolate: false
run_current: 0.47
stealthchop_threshold: 0
@ -174,12 +227,13 @@ pid_kd: 363.769
#####################################################################
[probe]
## TAP Probe
## This probe is used for Z height and Quad Gantry Leveling
## Inductive Probe
## This probe is not used for Z height, only Quad Gantry Leveling
## NPN and PNP proximity switch types can be set by jumper
pin: ^PF1
x_offset: 0
y_offset: 0
z_offset: -2
y_offset: 25.0
z_offset: 0
speed: 10.0
samples: 3
samples_result: median
@ -194,11 +248,15 @@ samples_tolerance_retries: 3
[fan]
## Print Cooling Fan - CNC_FAN0
pin: PA4
kick_start_time: 0.5
## Depending on your fan, you may need to increase this value
## if your fan will not start. Can change cycle_time (increase)
## if your fan is not able to slow down effectively
off_below: 0.10
[heater_fan hotend_fan]
## Hotend Fan - CNC_FAN1
pin: printhead: PA13
pin: printhead: PA0
max_power: 1.0
kick_start_time: 0.5
heater: extruder
@ -237,7 +295,7 @@ chain_count: 30
color_order: GRB
[neopixel hotend_rgb]
pin: printhead: PA3
pin: printhead: PD3
chain_count: 3
color_order: GRB