Sidewinder X1 (SWX1) Klipper Config
[include shell_command.cfg][include fluidd.cfg][include mainsail.cfg]
# This file contains common pin mappings for the BigTreeTech SKR 2.# To use this config, the firmware should be compiled for the# STM32F407 with a "32KiB bootloader".
# In newer versions of this board shipped in late 2021 the STM32F429# is used, if this is the case compile for this with a "32KiB bootloader"# You will need to check the chip on your board to identify which you have.## The "make flash" command does not work on the SKR 2. Instead,# after running "make", copy the generated "out/klipper.bin" file to a# file named "firmware.bin" on an SD card and then restart the SKR 2# with that SD card.
# See docs/Config_Reference.md for a description of parameters.
# Note: The initial revision of this board has a flaw that can cause# damage to itself and other boards. Be sure to verify the board is# not impacted by this flaw before using it.
[stepper_x]step_pin: PE2dir_pin: !PE1enable_pin: !PE3microsteps: 16rotation_distance: 40endstop_pin: ^!PC1position_endstop: 0position_max: 300homing_speed: 100
[tmc2209 stepper_x]uart_pin: PE0run_current: 0.800diag_pin:
[stepper_y]step_pin: PD5dir_pin: !PD4enable_pin: !PD6microsteps: 16rotation_distance: 40endstop_pin: ^!PC3position_endstop: 0position_max: 300homing_speed: 100
[tmc2209 stepper_y]uart_pin: PD3run_current: 0.800diag_pin:
[stepper_z]step_pin: PA15dir_pin: PA8enable_pin: !PD1microsteps: 16rotation_distance: 8endstop_pin: probe:z_virtual_endstopposition_max: 400homing_speed: 20second_homing_speed: 1
[tmc2209 stepper_z]uart_pin: PD0run_current: 0.800diag_pin:
[stepper_z1]step_pin: PD11dir_pin: PD10enable_pin: !PD13microsteps: 16rotation_distance: 8
[tmc2209 stepper_z1]uart_pin: PD12run_current: 0.800diag_pin:
[extruder]step_pin: PD15dir_pin: PD14enable_pin: !PC7microsteps: 16rotation_distance: 33.500nozzle_diameter: 0.400filament_diameter: 1.750heater_pin: PB3sensor_type: EPCOS 100K B57560G104Fsensor_pin: PA2#control: pid#pid_Kp: 22.2#pid_Ki: 1.08#pid_Kd: 114min_temp: 0max_temp: 250
[tmc2209 extruder]uart_pin: PC6run_current: 0.600diag_pin:
[heater_bed]heater_pin: PD7sensor_type: EPCOS 100K B57560G104Fsensor_pin: PA1#control: pidmin_temp: 0max_temp: 130#pid_kp: 42.365#pid_ki: 0.545#pid_kd: 822.940
[fan]pin: PB7
[heater_fan fan1]pin: PB6
#[heater_fan fan2]#pin: PB5
# Due to BTT implementing a Marlin-specific safety feature,# "anti-reversal stepper protection", this pin needs pulling# high to pass power to stepper drivers and most FETs
[output_pin motor_power]pin: PC13value: 1
[mcu]serial: /dev/serial/by-id/usb-Klipper_stm32f429xx_200044001450304738323420-if00
[printer]kinematics: cartesianmax_velocity: 250max_accel: 3000max_z_velocity: 50max_z_accel: 400square_corner_velocity: 5.0
[bltouch]## If these change, adjust coords in [z_tilt], [safe_z_home]sensor_pin: ^PE4control_pin: PE5x_offset: 29y_offset: -34z_offset: 10samples: 3samples_result:averageprobe_with_touch_mode: truestow_on_each_sample: false
[safe_z_home]home_xy_position: 122,183speed: 150z_hop: 10 # Move up 10mmz_hop_speed: 5
[bed_screws]screw1: 55,55screw1_name: front leftscrew2: 255,55screw2_name: front rightscrew3: 255,255screw3_name: back rightscrew4: 55,255screw4_name: back leftspeed: 100.0
[screws_tilt_adjust]screw1: 22,83screw1_name: front leftscrew2: 222,83screw2_name: front rightscrew3: 22,283screw3_name: back leftscrew4: 222,283screw4_name: back rightspeed: 100.0screw_thread: CW-M5
[bed_mesh]speed: 800mesh_min: 30,30mesh_max: 270,270probe_count: 5,5mesh_pps: 2,2algorithm: bicubicbicubic_tension: 0.2move_check_distance: 3.0split_delta_z: .010fade_start: 1.0fade_end: 5.0
######################################### EXP1 / EXP2 (display) pins########################################
[board_pins]aliases: # EXP1 header EXP1_1=PC5, EXP1_3=PB1, EXP1_5=PE10, EXP1_7=PE12, EXP1_9=<GND>, EXP1_2=PB0, EXP1_4=PE9, EXP1_6=PE11, EXP1_8=PE13, EXP1_10=<5V>, # EXP2 header EXP2_1=PA6, EXP2_3=PE7, EXP2_5=PB2, EXP2_7=PC4, EXP2_9=<GND>, EXP2_2=PA5, EXP2_4=PA4, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<NC>
# See the sample-lcd.cfg file for definitions of common LCD displays.
[gcode_macro update_git]gcode: RUN_SHELL_COMMAND CMD=update_git_script
[gcode_shell_command update_git_script]command: bash /home/wilsonm/printer_1_data/klipper-backup/script.shtimeout: 90.0verbose: True