Last active
March 25, 2020 04:06
-
-
Save Coledunsby/adaddc9073f2a80b713bc1350996b06f to your computer and use it in GitHub Desktop.
Ender 3 Klipper Config (SKR mini E3 V1.2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file contains common pin mappings for the BIGTREETECH SKR mini | |
| # E3 v1.2. To use this config, the firmware should be compiled for the | |
| # STM32F103 with a "28KiB bootloader". Also, select "Enable extra | |
| # low-level configuration options" and configure "GPIO pins to set at | |
| # micro-controller startup" to "!PC13". | |
| # 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. | |
| [stepper_x] | |
| step_pin: PB13 | |
| dir_pin: !PB12 | |
| enable_pin: !PB14 | |
| step_distance: .0125 | |
| endstop_pin: tmc2209_stepper_x:virtual_endstop | |
| position_endstop: 0 | |
| #position_max: 235 # Stock | |
| position_max: 200 # SpeedDrive | |
| homing_speed: 50 | |
| homing_retract_dist: 0 | |
| [tmc2209 stepper_x] | |
| uart_pin: PB15 | |
| microsteps: 16 | |
| run_current: 0.580 | |
| hold_current: 0.500 | |
| stealthchop_threshold: 250 | |
| driver_SGTHRS: 130 | |
| diag_pin: PC0 | |
| [stepper_y] | |
| step_pin: PB10 | |
| dir_pin: !PB2 | |
| enable_pin: !PB11 | |
| step_distance: .0125 | |
| endstop_pin: tmc2209_stepper_y:virtual_endstop | |
| position_endstop: 0 | |
| position_max: 235 | |
| homing_speed: 50 | |
| homing_retract_dist: 0 | |
| [tmc2209 stepper_y] | |
| uart_pin: PC6 | |
| microsteps: 16 | |
| run_current: 0.580 | |
| hold_current: 0.500 | |
| stealthchop_threshold: 250 | |
| driver_SGTHRS: 130 | |
| diag_pin: PC1 | |
| [stepper_z] | |
| step_pin: PB0 | |
| dir_pin: PC5 | |
| enable_pin: !PB1 | |
| step_distance: .0025 | |
| endstop_pin: probe:z_virtual_endstop | |
| #position_max: 250 # Stock | |
| position_max: 200 # SpeedDrive | |
| position_min: -1 | |
| [tmc2209 stepper_z] | |
| uart_pin: PC10 | |
| microsteps: 16 | |
| run_current: 0.580 | |
| hold_current: 0.500 | |
| stealthchop_threshold: 5 | |
| [extruder] | |
| max_extrude_only_distance: 500.0 | |
| step_pin: PB3 | |
| dir_pin: !PB4 | |
| enable_pin: !PD2 | |
| #step_distance: 0.010526 | |
| step_distance: 0.002409 # BMG (415) | |
| nozzle_diameter: 0.400 | |
| filament_diameter: 1.750 | |
| pressure_advance: 0.06 # PLA | |
| #pressure_advance: 0.175 # PETG | |
| #pressure_advance: 0 # TPE 85A | |
| #pressure_advance: 0.12 # nGen LUX | |
| heater_pin: PC8 | |
| sensor_type: EPCOS 100K B57560G104F | |
| sensor_pin: PA0 | |
| min_temp: 0 | |
| max_temp: 260 | |
| [tmc2209 extruder] | |
| uart_pin: PC11 | |
| microsteps: 16 | |
| 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 | |
| min_temp: 0 | |
| max_temp: 130 | |
| [bltouch] | |
| sensor_pin: ^PC2 | |
| control_pin: PA1 | |
| x_offset: -50 | |
| y_offset: -16 | |
| z_offset: 2.25 # PLA | |
| #z_offset: 2.3 PETG | |
| #z_offset: 2.2 # nGen LUX | |
| pin_move_time: 0.4 | |
| [bed_mesh] | |
| speed: 100 | |
| probe_count: 5,5 | |
| mesh_min: 0,24 # -x_offset, -y_offset + 8 | |
| mesh_max: 150,219 # 200 + x_offset, 235 + y_offset | |
| [safe_z_home] | |
| home_xy_position: 150,134 | |
| speed: 100 | |
| z_hop: 10 | |
| [fan] | |
| pin: PA8 | |
| [mcu] | |
| serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_34FFDC055055323941612543-if00 | |
| [printer] | |
| kinematics: cartesian | |
| max_velocity: 300 | |
| max_accel: 1000 | |
| max_z_velocity: 5 | |
| max_z_accel: 100 | |
| #square_corner_velocity: 5.0 | |
| [static_digital_output usb_pullup_enable] | |
| pins: !PC13 | |
| [board_pins] | |
| aliases: | |
| # EXP1 header | |
| EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>, | |
| EXP1_2=PB6, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB7, EXP1_10=<5V> | |
| [bed_screws] | |
| screw1: 20,20 | |
| screw1_name: Front Left | |
| screw2: 20,215 | |
| screw2_name: Back Left | |
| screw3: 215,215 | |
| screw3_name: Back Right | |
| screw4: 215,20 | |
| screw4_name: Front Left | |
| [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 | |
| [menu __main] | |
| type: list | |
| name: Main Menu | |
| items: | |
| __bed_leveling | |
| __tune | |
| __octoprint | |
| __control | |
| __temp | |
| __filament | |
| __prepare | |
| [menu __bed_leveling] | |
| type: list | |
| enable: !toolhead.is_printing | |
| name: Bed Leveling | |
| items: | |
| .__home | |
| .__front_left | |
| .__back_left | |
| .__back_right | |
| .__front_right | |
| .__center | |
| [menu __bed_leveling __home] | |
| type: command | |
| name: Home All | |
| gcode: G28 | |
| [menu __bed_leveling __front_left] | |
| type: command | |
| name: Front Left | |
| gcode: | |
| G1 Z5 F500 | |
| G1 X20 Y20 F3000 | |
| G1 Z0 F500 | |
| [menu __bed_leveling __back_left] | |
| type: command | |
| name: Back Left | |
| gcode: | |
| G1 Z5 F500 | |
| G1 X20 Y215 F3000 | |
| G1 Z0 F500 | |
| [menu __bed_leveling __back_right] | |
| type: command | |
| name: Back Right | |
| gcode: | |
| G1 Z5 F500 | |
| G1 X200 Y215 F3000 | |
| G1 Z0 F500 | |
| [menu __bed_leveling __front_right] | |
| type: command | |
| name: Front Right | |
| gcode: | |
| G1 Z5 F500 | |
| G1 X200 Y20 F3000 | |
| G1 Z0 F500 | |
| [menu __bed_leveling __center] | |
| type: command | |
| name: Center | |
| gcode: | |
| G1 Z5 F500 | |
| G1 X100 Y117.5 F3000 | |
| G1 Z0 F500 | |
| [gcode_macro START_PRINT] | |
| gcode: | |
| M220 S100 # Reset Feedrate | |
| M221 S100 # Reset Flowrate | |
| G28 # Home | |
| # BED_MESH_CALIBRATE | |
| BED_MESH_PROFILE LOAD=default | |
| G92 E0 # Reset Extruder | |
| G1 Z2.0 F3000 # Move Z Axis up | |
| G1 X10.1 Y20 Z0.28 F5000.0 # Move to start position | |
| G1 X10.1 Y200.0 Z0.28 F1500.0 E15 # Draw the first line | |
| G1 X10.4 Y200.0 Z0.28 F5000.0 # Move to side a little | |
| G1 X10.4 Y20 Z0.28 F1500.0 E30 # Draw the second line | |
| G92 E0 # Reset Extruder | |
| G1 Z2.0 F3000 # Move Z Axis up | |
| [gcode_macro END_PRINT] | |
| gcode: | |
| G91 # Relative positioning | |
| G1 E-2 F2700 # Retract a bit | |
| G1 E-2 Z0.2 F2400 # Retract and raise Z | |
| G1 X5 Y5 F3000 # Wipe out | |
| G1 Z10 # Raise Z more | |
| G90 # Absolute positioning | |
| G1 X0 Y235 # Present print | |
| M106 S0 # Turn-off fan | |
| M104 S0 # Turn-off hotend | |
| M140 S0 # Turn-off bed | |
| M84 X Y E # Disable all steppers but Z | |
| BED_MESH_CLEAR | |
| [gcode_macro LOAD] | |
| gcode: | |
| G91 | |
| G1 E200 F400 | |
| G90 | |
| [gcode_macro UNLOAD] | |
| gcode: | |
| G91 | |
| G1 E-100 F400 | |
| G90 | |
| #*# <---------------------- SAVE_CONFIG ----------------------> | |
| #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
| #*# | |
| #*# [extruder] | |
| #*# control = pid | |
| #*# pid_kp = 27.420 | |
| #*# pid_ki = 1.325 | |
| #*# pid_kd = 141.898 | |
| #*# | |
| #*# [heater_bed] | |
| #*# control = pid | |
| #*# pid_kp = 67.643 | |
| #*# pid_ki = 1.392 | |
| #*# pid_kd = 821.860 | |
| #*# | |
| #*# [bed_mesh default] | |
| #*# version = 1 | |
| #*# points = | |
| #*# 0.250000, 0.147500, 0.077500, 0.057500, 0.037500 | |
| #*# 0.237500, 0.140000, 0.057500, 0.017500, -0.015000 | |
| #*# 0.227500, 0.125000, 0.030000, -0.020000, -0.022500 | |
| #*# 0.222500, 0.145000, 0.055000, 0.022500, 0.022500 | |
| #*# 0.210000, 0.127500, 0.065000, 0.037500, 0.032500 | |
| #*# x_count = 5 | |
| #*# y_count = 5 | |
| #*# mesh_x_pps = 2 | |
| #*# mesh_y_pps = 2 | |
| #*# algo = lagrange | |
| #*# tension = 0.2 | |
| #*# min_x = 7.50333128963e-11 | |
| #*# max_x = 150.0 | |
| #*# min_y = 24.0000000001 | |
| #*# max_y = 219.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment