Configure klipper for the Fly-Puppet RP2040
Edit me

Fly-Puppet Configuration files

Fly-Puppet aliases file

[board_pins]
aliases:
    # Stepper drivers
    X_EN=gpio18, X_STEP=gpio20, X_DIR=gpio19, X_CS=gpio21,    # X
    Y_EN=gpio14, Y_STEP=gpio16,  Y_DIR=gpio15,  Y_CS=gpio17,  # Y
    Z_EN=gpio10,  Z_STEP=gpio12, Z_DIR=gpio11,  Z_CS=gpio13,   # Z
    E_EN=gpio6,  E_STEP=gpio8,  E_DIR=gpio7,  E_CS=gpio9,   # E
    E1_EN=gpio2,  E1_STEP=gpio4,  E1_DIR=gpio3,  E1_CS=gpio5,   # E
 
    # Heaters
    BED_OUT=gpio26,
    HEAT=gpio27,


    # Thermisors
    BED_TEMP=gpio29,
    HEAT_TEMP=gpio28,


    # Fans Note - FAN1 and FAN2 are on the host
    FAN0=gpio25, FAN1=gpio21, FAN2=gpio20,

    # End stops
    X_STOP=gpio22,  Y_STOP=gpio23,  Z_STOP=gpio24,


    # BL Touch
    #SERVO=gpio16,   # BL Touch servo pin.  Servo is on the host
    #PROBE=gpio24,  # BL Touch end stop pin

    #Neopixel LED Note LED is on the host
    LED=gpio19

Puppet Printer.cfg

mcu with Rasberry Pi

serial: /dev/serial0
restart_method: command

mcu with Fly Pi

serial: /dev/ttyS2
restart_method: command

mcu host

serial: /tmp/klipper_host_mcu

temperature_sensor FLY-PUPPET

sensor_type: temperature_mcu

fan

pin: FAN0

fan_generic fan2

pin: host:FAN1

fan_generic fan3

pin: host:FAN2

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: 220
homing_speed: 40

tmc2209 stepper_x

uart_pin: X_CS
run_current: 1.20
stealthchop_threshold: 999999

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

tmc2209 stepper_y

uart_pin: Y_CS
run_current: 1.20
stealthchop_threshold: 999999

stepper_z

step_pin: Z_STEP
dir_pin: Z_DIR1
enable_pin: !Z_EN
microsteps: 16
rotation_distance: 8
endstop_pin: !Z_STOP
#position_endstop: 0.6
position_max: 230

tmc2209 stepper_z

uart_pin: Z_CS
run_current: 0.800
stealthchop_threshold: 999999

extruder

step_pin: E_STEP
dir_pin: E_DIR
enable_pin: !E_EN
microsteps: 16
rotation_distance: 33.5
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: -50
max_temp: 350

tmc2209 extruder

uart_pin: E_CS
run_current: 0.600
stealthchop_threshold: 999999

extruder1

#step_pin: E1_STEP
#dir_pin: E1_DIR
#enable_pin: !E1_EN
#microsteps: 16

tmc2209 extruder1

uart_pin: E1_CS
run_current: 0.600
stealthchop_threshold: 999999

heater_bed

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

neopixel my_neopixel

pin: host:LED
chain_count: 12
color_order: GRB
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0

bltouch

sensor_pin: ^PROBE
control_pin: host:SERVO
pin_move_time: 0.680
x_offset: 0.0
y_offset: 2.3
z_offset: 2.2
speed: 70
Tags: