Update printer.cfg

This commit is contained in:
Siwat Sirichai 2023-09-24 18:14:38 +07:00
parent bbb1a87f4d
commit 4a5440eca5
1 changed files with 53 additions and 57 deletions

View File

@ -5,11 +5,7 @@
serial: /tmp/klipper_host_mcu serial: /tmp/klipper_host_mcu
[mcu] [mcu]
## [X in MOTOR1] - B Motor canbus_uuid: a39755b6c75c
## [Y in MOTOR2] - A Motor
## [E in MOTOR8] - Extruder
serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_180011000B51313236343430-if00
restart_method: command
[printer] [printer]
kinematics: corexy kinematics: corexy
@ -68,7 +64,7 @@ homing_positive_dir: true
## Z0 Stepper - Front Left on MOTOR3_A ## Z0 Stepper - Front Left on MOTOR3_A
[stepper_z] [stepper_z]
step_pin: PB8 step_pin: PB8
dir_pin: !PB7 dir_pin: PB7
enable_pin: !PE0 enable_pin: !PE0
rotation_distance: 40 rotation_distance: 40
gear_ratio: 80:16 gear_ratio: 80:16
@ -81,14 +77,14 @@ endstop_pin: ^PF2
position_endstop: -2 position_endstop: -2
position_max: 340 position_max: 340
position_min: -5 position_min: -5
homing_speed: 8 homing_speed: 5
second_homing_speed: 3 second_homing_speed: 3
homing_retract_dist: 3 homing_retract_dist: 3
## Z1 Stepper - Rear Left on Motor5 ## Z1 Stepper - Rear Left on Motor5
[stepper_z1] [stepper_z1]
step_pin: PG13 step_pin: PG13
dir_pin: PG12 dir_pin: !PG12
enable_pin: !PG15 enable_pin: !PG15
rotation_distance: 40 rotation_distance: 40
gear_ratio: 80:16 gear_ratio: 80:16
@ -106,7 +102,7 @@ microsteps: 16
## Z3 Stepper - Front Right on Motor7 ## Z3 Stepper - Front Right on Motor7
[stepper_z3] [stepper_z3]
step_pin: PD4 step_pin: PD4
dir_pin: PD3 dir_pin: !PD3
enable_pin: !PD6 enable_pin: !PD6
rotation_distance: 40 rotation_distance: 40
gear_ratio: 80:16 gear_ratio: 80:16
@ -116,48 +112,48 @@ microsteps: 16
# Extruder # Extruder
##################################################################### #####################################################################
[multi_pin hotend_heater] # [multi_pin hotend_heater]
pins: PA0, PA1 # pins: PA0, PA1
# E0 on Motor8, Temperature Sensor on Motor4 # # E0 on Motor8, Temperature Sensor on Motor4
[extruder] # [extruder]
step_pin: PC7 # step_pin: PC7
dir_pin: PC8 # dir_pin: PC8
enable_pin: !PD2 # enable_pin: !PD2
rotation_distance: 8 # rotation_distance: 8
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
nozzle_diameter: 0.400 # nozzle_diameter: 0.400
filament_diameter: 1.75 # filament_diameter: 1.75
heater_pin: multi_pin:hotend_heater # heater_pin: multi_pin:hotend_heater
sensor_type: MAX31865 # sensor_type: MAX31865
sensor_pin: PB5 # sensor_pin: PB5
spi_software_mosi_pin: PG6 # spi_software_mosi_pin: PG6
spi_software_miso_pin: PG7 # spi_software_miso_pin: PG7
spi_software_sclk_pin: PG8 # spi_software_sclk_pin: PG8
rtd_nominal_r: 1000 # rtd_nominal_r: 1000
rtd_reference_r: 430 # rtd_reference_r: 430
rtd_num_of_wires: 2 # rtd_num_of_wires: 2
rtd_use_50Hz_filter: True # rtd_use_50Hz_filter: True
min_temp: 10 # min_temp: 10
max_temp: 270 # max_temp: 270
max_power: 1.0 # 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
#pressure_advance_smooth_time: 0.040 # #pressure_advance_smooth_time: 0.040
[tmc2209 extruder] # [tmc2209 extruder]
uart_pin: PD5 # uart_pin: PD5
interpolate: false # interpolate: false
run_current: 0.5 # run_current: 0.5
stealthchop_threshold: 0 # stealthchop_threshold: 0
##################################################################### #####################################################################
# Bed Heater # Bed Heater
@ -208,14 +204,14 @@ kick_start_time: 0.5
## if your fan is not able to slow down effectively ## if your fan is not able to slow down effectively
off_below: 0.10 off_below: 0.10
[heater_fan hotend_fan] # [heater_fan hotend_fan]
## Hotend Fan - CNC_FAN1 # ## Hotend Fan - CNC_FAN1
pin: PF8 # pin: PF8
max_power: 1.0 # 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: 1.0 # fan_speed: 1.0
[heater_fan exhaust_fan] [heater_fan exhaust_fan]
# Exhaust fan - CNC_FAN3 # Exhaust fan - CNC_FAN3