[include kiauh_macros.cfg] # This file contains common pin mappings for the BIGTREETECH SKR mini # E3 v2.0. To use this config, the firmware should be compiled for the # STM32F103 with a "28KiB bootloader" and USB communication. Also, # select "Enable extra low-level configuration options" and configure # "GPIO pins to set at micro-controller startup" to "!PA14". # The "make flash" command does not work on the SKR mini E3. 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 # mini E3 with that SD card.x # See docs/Config_Reference.md for a description of parameters. ### menu tune ### [menu __main __custom] type: list name: Custom [menu __main __custom __home_all] type: command enable: {not 'xyz' in printer.toolhead.homed_axes} name: Home All gcode: G28 [menu __main __custom __screws_tilt_calculate] type: command enable: {'xyz' in printer.toolhead.homed_axes} name: Screws Tilt Calculate gcode: SCREWS_TILT_CALCULATE [menu __main __custom __bed_screws_adjust] type: command enable: {'xyz' in printer.toolhead.homed_axes} name: Bed Screws Adjust gcode: BED_SCREWS_ADJUST [menu __main __custom __bed_mesh_calibrate] type: command enable: {'xyz' in printer.toolhead.homed_axes} name: Bed Mesh Calibrate gcode: BED_MESH_CALIBRATE [menu __main __custom __accept] type: command name: Accept gcode: ACCEPT [menu __main __custom __adjusted] type: command name: Adjusted gcode: ADJUSTED [menu __main __custom __abort] type: command name: Abort gcode: ABORT [gcode_arcs] #resolution: 1.0 # An arc will be split into segments. Each segment's length will # equal the resolution in mm set above. Lower values will produce a # finer arc, but also more work for your machine. Arcs smaller than # the configured value will become straight lines. The default is # 1mm. [screws_tilt_adjust] screw1: 65,24 screw1_name: front left screw screw2: 305,24 screw2_name: front right screw screw3: 305,264 screw3_name: rear right screw screw4: 65,264 screw4_name: rear left screw horizontal_move_z: 10. speed: 50. screw_thread: CW-M3 [bed_screws] screw1: 35,30 screw2: 275,30 screw3: 275,270 screw4: 35,270 [stepper_x] step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC0 position_min: -5 position_endstop: -5 position_max: 305 homing_speed: 80 [tmc2209 stepper_x] uart_pin: PC11 tx_pin: PC10 uart_address: 0 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 999999 [stepper_y] step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC1 position_min: -20 position_endstop: -20 # position_endstop: 0 position_max: 280 homing_speed: 80 [tmc2209 stepper_y] uart_pin: PC11 tx_pin: PC10 uart_address: 2 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 999999 [stepper_z] step_pin: PB0 dir_pin: PC5 enable_pin: !PB1 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_min: -5 # position_endstop: 0.0 position_max: 355 [tmc2209 stepper_z] uart_pin: PC11 tx_pin: PC10 uart_address: 1 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 999999 [extruder] step_pin: PB3 dir_pin: !PB4 enable_pin: !PD2 microsteps: 16 rotation_distance: 3.443 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: Generic 3950 sensor_pin: PA0 #control: pid #pid_Kp: 23.95 #pid_Ki: 1.85 #pid_Kd: 77.61 min_temp: 0 max_temp: 260 pressure_advance: 0.052 [tmc2209 extruder] uart_pin: PC11 tx_pin: PC10 uart_address: 3 run_current: 0.800 hold_current: 0.500 stealthchop_threshold: 999999 [heater_bed] heater_pin: PC9 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC3 #control: pid #pid_Kp: 161.93 #pid_Ki: 25.14 #pid_Kd: 695.23 min_temp: 0 max_temp: 130 [heater_fan nozzle_cooling_fan] pin: PC7 [fan] pin: PC6 [filament_switch_sensor e0_sensor] switch_pin: PA4 [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_32FFD4055359393517671843-if00 [printer] kinematics: cartesian max_velocity: 200 max_accel: 1000 max_z_velocity: 10 max_z_accel: 100 [static_digital_output usb_pullup_enable] pins: !PA14 [board_pins] aliases: # EXP1 header EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> [display] lcd_type: st7920 cs_pin: EXP1_7 sclk_pin: EXP1_6 sid_pin: EXP1_8 encoder_pins: ^EXP1_5, ^EXP1_3 click_pin: ^!EXP1_2 [output_pin beeper] pin: EXP1_1 [gcode_macro G29] # If moving from marlin to klipper uncomment to mimic G29 gcode: BED_MESH_CALIBRATE G1 X0 Y0 Z10 F4000 [bed_mesh] # enable for BLTouch speed: 300 mesh_min: 45, 25 mesh_max: 255, 260 algorithm: bicubic probe_count: 5,5 # 49 points due to large bed size horizontal_move_z: 9 [bltouch] # enable for BLTouch - fast-mode sensor_pin: ^PC14 control_pin: PA1 pin_up_touch_mode_reports_triggered: True probe_with_touch_mode: True x_offset: -32 # modify as needed for bltouch location y_offset: -4 # modify as needed for bltouch location #z_offset: 0.0 # modify as needed for bltouch or run PROBE_CALIBRATE speed: 5 sample_retract_dist: 4.0 # Can be set lower, example 2.5 depending on height of bltouch from bed lift_speed: 5 samples_tolerance_retries: 3 samples: 2 stow_on_each_sample: False [safe_z_home] # enable for BLTouch home_xy_position: 181, 146 speed: 100 z_hop: 10 z_hop_speed: 5 [virtual_sdcard] path: ~/gcode_files [temperature_sensor raspberry_pi] sensor_type: temperature_host min_temp: 10 max_temp: 100 [temperature_sensor mcu_temp] sensor_type: temperature_mcu min_temp: 0 max_temp: 100 [display_status] [pause_resume] #[firmware_retraction] #retract_length: 0.4 #retract_speed: 40 #unretract_extra_length: 0 #unretract_speed: 40 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 14.474 #*# pid_ki = 0.418 #*# pid_kd = 125.378 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 68.871 #*# pid_ki = 0.850 #*# pid_kd = 1394.637 #*# #*# [bltouch] #*# z_offset = 4.505 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# 0.023750, 0.072500, 0.046250, 0.057500, 0.013750 #*# -0.058750, -0.028750, 0.010000, 0.011250, -0.026250 #*# -0.141250, -0.057500, -0.035000, 0.020000, -0.018750 #*# -0.107500, -0.030000, 0.005000, 0.007500, -0.022500 #*# 0.022500, 0.036250, 0.051250, 0.028750, -0.015000 #*# tension = 0.2 #*# min_x = 45.0 #*# algo = bicubic #*# y_count = 5 #*# mesh_y_pps = 2 #*# min_y = 25.0 #*# x_count = 5 #*# max_y = 260.0 #*# mesh_x_pps = 2 #*# max_x = 255.0