Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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.
- # See docs/Config_Reference.md for a description of parameters.
- [stepper_x]
- step_pin: PB13
- dir_pin: !PB12
- enable_pin: !PB14
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PC0
- position_endstop: 350
- position_max: 350
- homing_speed: 100
- [tmc2209 stepper_x]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 0
- run_current: 0.580
- hold_current: 0.500
- stealthchop_threshold: 250
- [stepper_y]
- step_pin: PB10
- dir_pin: !PB2
- enable_pin: !PB11
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PC1
- position_endstop: 350
- position_max: 350
- homing_speed: 100
- [tmc2209 stepper_y]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 2
- run_current: 0.580
- hold_current: 0.500
- stealthchop_threshold: 250
- [stepper_z]
- step_pin: PB0
- dir_pin: !PC5
- enable_pin: !PB1
- microsteps: 16
- rotation_distance: 4
- endstop_pin: probe:z_virtual_endstop
- position_max: 410
- position_min: -4
- homing_speed: 10.0
- [tmc2209 stepper_z]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 1
- run_current: 0.580
- hold_current: 0.500
- stealthchop_threshold: 5
- [bltouch]
- sensor_pin: ^PC2
- control_pin: PA1
- x_offset: -47.5
- y_offset: -10
- #z_offset: 2.70
- speed: 2.0
- samples: 2
- sample_retract_dist: 4.0
- probe_with_touch_mode: True
- [safe_z_home]
- home_xy_position: 180, 180
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- [bed_mesh]
- speed: 100
- horizontal_move_z: 8
- mesh_min: 50, 50
- mesh_max: 300,300
- probe_count: 3,3
- [extruder]
- step_pin: PB3
- dir_pin: !PB4
- enable_pin: !PD2
- microsteps: 16
- rotation_distance: 21.775
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PC8
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PA0
- control: pid
- pid_Kp: 22.2
- pid_Ki: 1.08
- pid_Kd: 114
- min_temp: 0
- max_temp: 260
- [tmc2209 extruder]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 3
- run_current: 0.650
- hold_current: 0.500
- stealthchop_threshold: 5
- [heater_bed]
- heater_pin: PC9
- sensor_type: ATC Semitec 104GT-2
- sensor_pin: PC3
- control: pid
- pid_Kp: 690.34
- pid_Ki: 111.47
- pid_Kd: 1068.83
- min_temp: 0
- max_temp: 130
- [heater_fan nozzle_cooling_fan]
- pin: PC7
- [fan]
- pin: PC6
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_39FFD8054246303721681857-if00
- ;serial: /dev/ttyACM0
- baud: 250000
- [filament_switch_sensor filament_sensor]
- switch_pin: PC15
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 3000
- max_z_velocity: 5
- max_z_accel: 100
- [virtual_sdcard]
- path: ~/printer_data/gcodes
- [display_status]
- [pause_resume]
- [gcode_macro PAUSE]
- rename_existing: BASE_PAUSE
- ;default_parameter_e: 1.7
- gcode:
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- SAVE_GCODE_STATE NAME=PAUSE_state
- BASE_PAUSE
- G91
- G1 E-{E} F2100
- G1 Z{z_safe} F900
- G90
- G0 X{x_park} Y{y_park} F6000
- G91
- [gcode_macro RESUME]
- rename_existing: BASE_RESUME
- ;default_parameter_e: 1 # edit to your preferred retract length
- gcode:
- G91
- G1 E{E} F2100
- G90
- RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
- BASE_RESUME
- [gcode_macro CANCEL_PRINT]
- rename_existing: BASE_CANCEL_PRINT
- gcode:
- TURN_OFF_HEATERS
- CLEAR_PAUSE
- SDCARD_RESET_FILE
- BASE_CANCEL_PRINT
- [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=<GND>,
- EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V>
- # See the sample-lcd.cfg file for definitions of common LCD displays.
- #
- [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
- [screws_tilt_adjust]
- screw1: 10, 50
- screw1_name: front left screw
- screw2: 315, 50
- screw2_name: front right screw
- screw3: 315, 310
- screw3_name: rear right screw
- screw4: 10, 310
- screw4_name: rear left screw
- horizontal_move_z: 10.
- speed: 50.
- screw_thread: CW-M3
Advertisement
Add Comment
Please, Sign In to add comment