Sample Configuration files for the Fly-407ZG
Edit me
Fly-407ZG Configuration files
Fly-407ZG aliases file
[board_pins]
aliases:
# Stepper drivers
X_EN=PE1, X_STEP=PB9, X_DIR=PE0, X_CS=PG13, # X
Y_EN=PG12, Y_STEP=PB8, Y_DIR=PG11, Y_CS=PG10, # Y
Z_EN=PD7, Z_STEP=PA8, Z_DIR=PD6, Z_CS=PD5, # Z
E_EN=PD4, E_STEP=PC7, E_DIR=PD3, E_CS=PD1, # E
E1_EN=PD0, E1_STEP=PC6, E1_DIR=PA15, E1_CS=PA14, # E
E2_EN=PG8, E2_STEP=PD15, E2_DIR=PG7, E2_CS=PG6, # E
E3_EN=PG5, E3_STEP=PD14, E3_DIR=PG4, E3_CS=PG3, # E
E4_EN=PG2, E4_STEP=PD13, E4_DIR=PD11, E4_CS=PD10, # E
E5_EN=PD9, E5_STEP=PD12, E5_DIR=PD8, E5_CS=PB12, # E
# Heaters
BED_OUT=PE2,
HEAT=PF7,
HEAT1=PF6,
HEAT2=PE6,
HEAT3=PE5,
HEAT4=PE4,
HEAT5=PE3,
# Thermisors
BED_TEMP=PF3,
HEAT_TEMP=PA0,
HEAT_TEMP1=PC1,
HEAT_TEMP2=PC0,
HEAT_TEMP3=PF10,
HEAT_TEMP4=PF5,
HEAT_TEMP5=PF4,
# Fans
FAN0=PF8, FAN1=PF9,FAN2=PA2,FAN3=PA1,FAN4=PE13,FAN5=PB11,
# End stops
X_STOP=PC3, Y_STOP=PC2, Z_STOP=PF2,
E_STOP=PF1, E_STOP1=PF0, E_STOP2=PC15,
E_STOP3=PC14,
# EXP1 header
EXP1_1=PB10, EXP1_3=PE14, EXP1_5=PE10, EXP1_7=PE8, EXP1_9=<GND>,
EXP1_2=PE15, EXP1_4=PE12, EXP1_6=PE9, EXP1_8=PE7, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB14, EXP2_3=PC5, EXP2_5=PC4, EXP2_7=PB2, EXP2_9=<GND>,
EXP2_2=PB13, EXP2_4=PF11, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>,
# BL Touch
SERVO=PB0, # BL Touch servo pin
PROBE=PE6 # BL Touch end stop pin
Motherboard model
Please modify it based on your motherboard model
[include boards/FLY_407ZG.cfg]
stepper_x
step_pin: X_STEP
dir_pin: !X_DIR
enable_pin: !X_EN
microsteps: 16
rotation_distance: 40
endstop_pin: !X_STOP
position_endstop: 0
position_max: 210
homing_speed: 80
[tmc2209 stepper_x]
uart_pin: X_CS
run_current: 0.800
interpolate: False
stepper_y
step_pin: Y_STEP
dir_pin: Y_DIR
enable_pin: !Y_EN
microsteps: 16
rotation_distance: 40
endstop_pin: !Y_STOP
position_endstop: 210
position_max: 210
homing_speed: 50
[tmc2209 stepper_y]
uart_pin: Y_CS
run_current: 0.800
interpolate: False
stepper_z
step_pin: Z_STEP
dir_pin: !Z_DIR
enable_pin: !Z_EN
microsteps: 16
step_pulse_duration: 0.0000004
rotation_distance: 8
endstop_pin: Z_STOP
position_endstop: 0.5
position_max: 210
[tmc2209 stepper_z]
uart_pin: Z_CS
run_current: 0.800
interpolate: False
extruder
step_pin: E_STEP
dir_pin: E_DIR
enable_pin: !E_EN
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: HEAT0
sensor_pin: HEAT0_TEMP
sensor_type: EPCOS 100K B57560G104F
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 350
[tmc2209 extruder]
uart_pin: E_CS
run_current: 0.800
interpolate: False
extruder1
#step_pin: E1_STEP
#dir_pin: E1_DIR
#enable_pin: !E1_EN
#microsteps: 16
#rotation_distance: 33.500
#nozzle_diameter: 0.400
#filament_diameter: 1.750
#heater_pin: HEAT1
#sensor_pin: HEAT1_TEMP
#sensor_type: EPCOS 100K B57560G104F
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
#min_temp: 0
#max_temp: 350
[tmc2209 extruder1]
uart_pin: E1_CS
run_current: 0.800
interpolate: False
heater_bed
heater_pin: BED_OUT
sensor_pin: BED_TEMP
sensor_type: ATC Semitec 104GT-2
control: watermark
min_temp: 0
max_temp: 200
fan0
pin: FAN0
#cycle_time: 0.50
fan1
pin: FAN1
#cycle_time: 0.50
heater_fan E0
pin: FAN2
#cycle_time:
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
heater_fan E1
#pin: FAN3
##cycle_time:
#heater: extruder1
#heater_temp: 50.0
#fan_speed: 1.0
mcu
serial: /dev/ttyACM0
mcu host
serial: /tmp/klipper_host_mcu
printer
kinematics: corexy
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
temperature_sensor 407ZG-MCU
sensor_type: temperature_mcu
bltouch
#sensor_pin: ^PROBE
#control_pin: SERVO
#pin_move_time: 0.680
#x_offset: 0.0
#y_offset: 2.3
#z_offset: 2.2
#speed: 70
safe_z_home
#home_xy_position: 105,105