Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common pin mappings for the BIGTREETECH SKR
- # MINI. To use this config, the firmware should be compiled for the
- # STM32F103 with a "28KiB bootloader".
- # The "make flash" command does not work on the SKR mini. 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 with that SD card.
- # See the example.cfg file for a description of available parameters.
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_30FFD8054246383505760457-if00
- [stepper_x]
- step_pin: PB13
- dir_pin: PB12
- enable_pin: !PB14
- step_distance: .0125
- endstop_pin: PC0
- position_endstop: 120
- position_max: 120
- homing_speed: 20 #Max 100
- homing_retract_dist: 5
- homing_positive_dir: true
- [tmc2209 stepper_x]
- uart_pin: PB15
- microsteps: 16
- interpolate: true
- run_current: .4
- hold_current: .4
- sense_resistor: 0.110
- stealthchop_threshold: 0
- [stepper_y]
- step_pin: PB10
- dir_pin: PB2
- enable_pin: !PB11
- step_distance: .0125
- endstop_pin: PC1
- position_endstop: 120
- position_max: 120
- homing_speed: 20 #Max 100
- homing_retract_dist: 5
- homing_positive_dir: true
- [tmc2209 stepper_y]
- uart_pin: PC6
- microsteps: 16
- interpolate: true
- run_current: .4
- hold_current: .4
- sense_resistor: 0.110
- stealthchop_threshold: 0
- [stepper_z]
- step_pin: PB0
- dir_pin: PC5
- enable_pin: !PB1
- step_distance: .000625
- endstop_pin: PC2
- #position_endstop: -.10
- position_max: 120
- position_min: -1
- homing_speed: 10 #Max 100
- second_homing_speed: 3.0
- homing_retract_dist: 3.0
- [tmc2209 stepper_z]
- uart_pin: PC10
- microsteps: 16
- interpolate: True
- run_current: .3
- hold_current: 0.3
- sense_resistor: 0.110
- stealthchop_threshold: 500
- [extruder]
- step_pin: PB3
- dir_pin: PB4
- enable_pin: !PD2
- step_distance: .002395368
- 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: 270
- min_extrude_temp: 170
- max_extrude_only_distance: 780.0
- max_extrude_cross_section: .8
- Pressure_advance: 0.2
- pressure_advance_smooth_time: 0.040
- [tmc2209 extruder]
- uart_pin: PC11
- microsteps: 16
- interpolate: True
- run_current: 0.6
- hold_current: 0.6
- sense_resistor: 0.110
- stealthchop_threshold: 500
- [heater_bed]
- heater_pin: PC12
- sensor_type: NTC 100K beta 3950
- #sensor_type: NTC 100K MGB18-104F39050L32
- sensor_pin: PC3
- smooth_time: 3.0
- max_power: 1.0
- #control: pid
- min_temp: 0
- max_temp: 120
- #pid_kp: 58.437
- #pid_ki: 2.347
- #pid_kd: 363.769
- [printer]
- kinematics: corexy
- max_velocity: 250
- max_accel: 4000
- max_z_velocity: 25
- max_z_accel: 35
- square_corner_velocity: 5.0
- [heater_fan hotend_fan]
- # Hotend Fan
- pin: PA8
- max_power: 1.0
- kick_start_time: 0.5
- heater: extruder
- heater_temp: 50.0
- #If you are experiencing back flow, you can reduce fan_speed
- #fan_speed: 1.0
- [fan]
- # Print Cooling Fan - XYE board, Fan Pin
- pin: PC9
- kick_start_time: 0.5
- #depending on your fan, you may need to increase or reduce this value
- #if your fan will not start
- off_below: 0.13
- cycle_time: 0.001
- [idle_timeout]
- timeout: 1800
- [homing_override]
- axes: z
- set_position_z: 0
- gcode:
- G90
- G0 Z5 F600
- G28 X Y
- # XY Location of the Z Endstop Switch
- # Update X0 and Y0 to your values (such as X157, Y305) after going through
- # Z Endstop Pin Location Definition step.
- G0 X30 Y0 F3600
- G28 Z
- G0 Z10 F1800
- G0 X60 Y60 Z20 F3600
- # Tool to help adjust bed leveling screws. One may define a
- # [bed_screws] config section to enable a BED_SCREWS_ADJUST g-code
- # command.
- #[bed_screws]
- #screw1: 60,5
- #screw1_name: Front Center
- #screw2: 5,115
- #screw2_name: Rear Left
- #screw3: 115,115
- #screw3_name: Rear Right
- #[mcu displayEncoder]
- #serial: /dev/serial/by-id/usb-Klipper_stm32f042x6_1800088016434E5333333920-if00
- #restart_method: command
- #[display]
- #lcd_type: sh1106
- #i2c_mcu: displayEncoder
- #i2c_bus: i2c1a
- #encoder_pins: ^displayEncoder:PA4, ^displayEncoder:PA3
- #click_pin: ^!displayEncoder:PA1
- #kill_pin: ^!displayEncoder:PA5
- #[neopixel displayStatus]
- #pin: displayEncoder:PA0
- #chain_count: 1
- #color_order_GRB: True
- #initial_RED: 0.2
- #initial_GREEN: 0.05
- #initial_BLUE: 0
- [gcode_macro PRINT_START]
- gcode:
- M104 S155
- M190 S{BED_TEMP}
- M117 Homing... ; display message
- G28 Y0 X0 Z0
- G92 E0;
- G90
- G0 X5 Y5 F6000
- M109 S{EXT_TEMP}
- G0 Z0.4
- G91
- G1 X100 E30 F1200;
- G1 Y1
- G1 X-100 E30 F1200;
- G92 E0;
- G90
- G1 Z15.0 F600 ;move the platform down 15mm
- G1 X60 Y60 F3000
- G92 E0 ;zero the extruded length again
- G1 F9000
- M117 Printing..
- [gcode_macro PRINT_END]
- # Use PRINT_END for the slicer ending script - please customise for your slicer of choice
- gcode:
- M400 ; wait for buffer to clear
- G92 E0 ; zero the extruder
- G1 E-10.0 F3600 ; retract filament
- G91 ; relative positioning
- G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing
- TURN_OFF_HEATERS
- M107 ; turn off fan
- G1 Z2 F3000 ; move nozzle up 2mm
- G90 ; absolute positioning
- G0 X60 Y120 F3600 ; park nozzle at rear
- [gcode_macro LOAD_FILAMENT]
- gcode:
- M83 ; set extruder to relative
- G1 E280 F1800 ; quickly load filament to down bowden
- G1 E30 F300 ; slower extrusion for hotend path
- G1 E15 F150 ; prime nozzle with filament
- M82 ; set extruder to absolute
- [gcode_macro UNLOAD_FILAMENT]
- gcode:
- M83 ; set extruder to relative
- G1 E10 F300 ; extrude a little to soften tip
- G1 E-380 F1800 ; retract filament completely
- M82 ; set extruder to absolute
- [virtual_sdcard]
- path: ~/gcode_files
- [pause_resume]
- [display_status]
- # Sensor Types
- # "EPCOS 100K B57560G104F"
- # "ATC Semitec 104GT-2"
- # "NTC 100K beta 3950"
- # "Honeywell 100K 135-104LAG-J01"
- # "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)
- # "AD595"
- # "PT100 INA826"
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 30.935
- #*# pid_ki = 1.599
- #*# pid_kd = 149.649
- #*#
- #*# [stepper_z]
- #*# position_endstop = 0.250
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 25.216
- #*# pid_ki = 1.176
- #*# pid_kd = 135.219
Advertisement
Add Comment
Please, Sign In to add comment