Sample Configuration files for the Fly-E3-v2
Edit me

Fly-E3-v2 Configuration files

Fly-E3-v2 aliases file

[board_pins]
aliases:
    # Stepper drivers
    X_EN=PC1,   X_STEP=PE5,  X_DIR=PC0,  X_CS=PC15,  # X
    Y_EN=PC14,   Y_STEP=PE4,  Y_DIR=PC13,  Y_CS=PB6,  # Y
    Z_EN=PE3,  Z_STEP=PE1,  Z_DIR=PB7,  Z_CS=PD7,   # Z
    E_EN=PD6,  E_STEP=PE2,   E_DIR=PD5,  E_CS=PD4,   # E
    E1_EN=PD3,  E1_STEP=PE0,   E1_DIR=PD1,  E1_CS=PD0,   # E

    # Heaters
    BED_OUT=PB0,
    HEAT=PC6,
    HEAT1=PC7,

    # Thermisors
    BED_TEMP=PB1,
    HEAT_TEMP=PC4,
    HEAT1_TEMP=PC5,

    # Fans
    FAN0=PA0, FAN1=PA1,FAN2=PA2,FAN3=PA3,

    # End stops
    X_STOP=PE7,  Y_STOP=PE8,  Z_STOP=PE9,

    # EXP1 header
    EXP1_1=PD10,  EXP1_3=PA8,  EXP1_5=PE14,   EXP1_7=PA14,  EXP1_9=<GND>,
    EXP1_2=PA9,  EXP1_4=PA10,  EXP1_6=PE15,   EXP1_8=A13,  EXP1_10=<5V>,
    # EXP2 header
    EXP2_1=PA6, EXP2_3=PB11,  EXP2_5=PB10,  EXP2_7=PE13,   EXP2_9=<GND>,
    EXP2_2=PA5, EXP2_4=PA4,  EXP2_6=PA7,  EXP2_8=<NC>, EXP2_10=<NC>,


    # BL Touch
    SERVO=PE6,   # BL Touch servo pin
    PROBE=PC2  # BL Touch end stop pin

Example Printer.cfg file

Motherboard model

Please modify it based on your motherboard model

[include boards/FLY_E3_V2.cfg]

mcu

serial: /dev/serial/by-id/{your serial ID here}

mcu host

serial: /tmp/klipper_host_mcu

virtual_sdcard

path: ~/printer_data/gcodes

printer

kinematics: corexy
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

temperature_sensor FLY-Gemini

sensor_type: temperature_host

temperature_sensor FLY-MCU

sensor_type: temperature_mcu

Drives

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: 120
position_max: 120
homing_speed: 40

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: 120
position_max: 120
homing_speed: 40

stepper_z

step_pin: Z_STEP
dir_pin: !Z_DIR
enable_pin: !Z_EN
microsteps: 16
rotation_distance: 8
endstop_pin: Z_STOP
position_endstop: 0.5
position_max: 120

extruder

step_pin: E_STEP
dir_pin: E_DIR
enable_pin: !E_EN
microsteps: 16
rotation_distance: 33.5
#gear_ratio: 50:10
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: HEAT
sensor_pin: HEAT_TEMP
sensor_type: ATC Semitec 104GT-2
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 350

BED

heater_bed

heater_pin: BED_OUT
sensor_pin: BED_TEMP
sensor_type: ATC Semitec 104GT-2
control: watermark
min_temp: 0
max_temp: 200

FANs

fan

pin: FAN0
#cycle_time: 0.50

fan_generic fan1

pin: FAN1

TMC2209 configuration./2209/2225

tmc2209 stepper_x

uart_pin: X_CS
run_current: 0.800
interpolate: False

tmc2209 stepper_y

uart_pin: Y_CS
run_current: 0.800
interpolate: False

tmc2209 stepper_z

uart_pin: Z_CS
run_current: 0.800
interpolate: False

tmc2209 extruder

uart_pin: E_CS
run_current: 0.800
interpolate: False

TMC5160 configuration

##tmc5160 stepper_x

cs_pin: X_CS
spi_bus: spi3  ##^Gemini v1.1
diag1_pin: X_STOP
run_current: 0.800
interpolate: False

tmc5160 stepper_y

cs_pin: Y_CS
spi_bus: spi3  ##^Gemini v1.1
diag1_pin: Y_STOP
run_current: 0.800
interpolate: False

tmc5160 stepper_z

cs_pin: Z_CS
spi_bus: spi3  ##^Gemini v1.1
diag1_pin: Z_STOP
run_current: 0.650
interpolate: False

tmc5160 extruder

cs_pin: E_CS
spi_bus: spi3  ##^Gemini v1.1
run_current: 0.800
interpolate: False

##BLTouch

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

Mini 12864 LCD

display

lcd_type: uc1701
cs_pin: EXP1_3
a0_pin: EXP1_4
rst_pin: EXP1_5
contrast: 63
encoder_pins: ^EXP2_5, ^!EXP2_3
click_pin: ^!EXP1_2
spi_bus: spi1

neopixel fly_mini12864

pin: EXP1_6
chain_count: 3
initial_RED: 0.1
initial_GREEN: 0.5
initial_BLUE: 0.0
color_order: RGB
Tags: