Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common pin mappings for the BIGTREETECH SKR miniE3 v3.0.
- # I am merging this with TronXY D01 postings on Reddit and GIThub
- # v1.0 1/29/25 10:15pm
- #[include fluidd.cfg]
- [include mainsail.cfg]
- [virtual_sdcard]
- path: /home/pi/printer_data/gcodes
- on_error_gcode: CANCEL_PRINT
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_3D003A000C504B5735313920-if00
- restart_method: command
- [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=PD6, EXP1_10=<5V>
- [printer]
- kinematics: corexy
- max_velocity: 300
- #max_accel: 4500 #Original config
- #max_accel_to_decel: 4500 #original config
- max_accel: 3000
- max_accel_to_decel: 3000
- square_corner_velocity: 5
- max_z_velocity: 25
- max_z_accel: 30
- [stepper_x]
- step_pin: PB13
- dir_pin: !PB12
- enable_pin: !PB14
- microsteps: 16 # suggested 32
- rotation_distance: 40
- endstop_pin: !PC0 # needed to invert endstops
- position_endstop: 0 # suggested -1 to safely trigger microswitch
- # position_min: -1 #Put in same as the endstop, else calibration won't work anymore, (don't have calibration tested yet)
- position_max: 235 # suggested 330 for bed mesh
- homing_speed: 50
- # homing_retract_dist: 10
- # second_homing_speed: 10.0
- # stepper X compared
- #[tmc2209 stepper _x]
- # uart_pin: PC11
- # tx_pin: PC10
- # uart_address: 0
- # run_current: 0.580
- # stealthchop_threshold: 999999
- # was not in the reddit version for D01
- [stepper_y]
- step_pin: PB10
- dir_pin: !PB2
- enable_pin: !PB11
- microsteps: 16 # suggested 32
- rotation_distance: 40
- endstop_pin: !PC1 # needed to invert endstops
- position_endstop: 0 # suggested -2
- # position_min: -2 # added by Reddit
- position_max: 235 # Suggested 330
- homing_speed: 50
- # homing_retract_dist: 10
- # second_homing_speed: 10.0
- # stepper Y compared
- # [tmc2209 stepper_y]
- # uart_pin: PC11
- # tx_pin: PC10
- # uart_address: 2
- # run_current: 0.580
- # stealthchop_threshold: 999999
- # was not in the reddit version for D01
- [stepper_z]
- step_pin: PB0
- dir_pin: PC5
- enable_pin: !PB1
- microsteps: 16
- rotation_distance: 8 # suggested 4
- endstop_pin: !PC2 # "probe:z_virtual_endstop" # needed to invert endstops
- position_endstop: 0.0 # position_min: -1 #check the max z level of your bed and put it slightly above to correct mechanical inaccuracy
- position_max: 250 # suggested 400
- # stepper Z compared
- # [tmc2209 stepper_z]
- # uart_pin: PC11
- # tx_pin: PC10
- # uart_address: 1
- # run_current: 0.580
- # stealthchop_threshold: 999999
- # was not in the reddit version for D01
- [extruder]
- step_pin: PB3
- dir_pin: !PB4
- enable_pin: !PD1 #should be correct for BMG extruder, otherwise retracts
- microsteps: 16
- rotation_distance: 33.500 # suggested 4
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PC8
- sensor_type: EPCOS 100K B57560G104F # suggested ATC Semitec 104GT-2
- sensor_pin: PA0
- control: pid # see below
- pid_Kp: 21.527 # comment out after PID test
- pid_Ki: 1.063 # dto
- pid_Kd: 108.982 # dto
- min_temp: 0
- max_temp: 250
- min_extrude_temp: 170 #added reddit
- max_extrude_only_distance: 300 #added reddit, whats that for?
- # extruder compared
- # [tmc2209 extruder]
- # uart_pin: PC11
- # tx_pin: PC10
- # uart_address: 3
- # run_current: 0.650
- [heater_bed]
- heater_pin: PC9
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- control: pid
- pid_Kp: 54.027
- pid_Ki: 0.770
- pid_Kd: 948.182
- min_temp: 0
- max_temp: 130 #suggest 110
- # heater bed compared, run PID calibrate
- [heater_fan hotend_fan]
- heater: extruder
- heater_temp: 50.0 # what is that for?
- pin: PC7 #Fan 1 board label
- # checked
- [fan]
- pin: PC6 #is this part cooling? Fan 0 board label
- # checked
- [controller_fan drivers_fan]
- pin: PB15 # internal Fan 2 board label
- # checked
- [filament_switch_sensor filament_sensor]
- pause_on_runout: True
- runout_gcode: M25
- switch_pin: !PC15 # stop on switch open?
- # chekced
- #----------------------------------------------------------------------
- # section below is not in SKR mini from BTT, will comment out for now
- #[output_pin beeper]
- #pin: PA8 # not found in BTT SKR
- #checked
- #[safe_z_home]
- #home_xy_position: 165, 165
- #speed: 50
- #z_hop: 10
- #z_hop_speed: 5
- #[bed_mesh]
- #speed: 120
- #probe_count: 5, 4
- #horizontal_move_z: 7
- #algorithm: lagrange
- #mesh_min : 30, 30
- #mesh_max : 300, 300
- #mesh_min : 15, 50
- #mesh_max : 300, 275
- #mesh_pps: 0
- #fade_start: 1
- #fade_end: 10
- #fade_target: 0
- #[bed_screws]
- #screw1: 1, 5
- #screw2: 161, 5
- #screw3: 322, 5
- #screw4: 1, 325
- #screw5: 161, 325
- #screw6: 321, 325
- [probe]
- x_offset: 14
- y_offset: 46
- pin: PC14
- speed: 5 #for the TR touch sensor, seems between 5-10 is acceptable in range.
- samples: 2
- z_offset: 8 #gets excluded after Probe_calibrate
- #Config part below is generated after doing some things in klipper. These are auto generated, when it has the same configuration in the upper part, Those get excluded with an #
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [probe]
- #*# z_offset = 5.500
- #*#
- #*# [bed_mesh TEST]
- #*# version = 1
- #*# points =
- #*# 0.008750, -0.020000, -0.020000, -0.036250, -0.036875
- #*# 0.022500, -0.016250, -0.025625, -0.046875, -0.060000
- #*# 0.053750, 0.000625, 0.007500, -0.019375, -0.018125
- #*# 0.061250, 0.036250, 0.061250, 0.022500, 0.001250
- #*# x_count = 5
- #*# y_count = 4
- #*# mesh_x_pps = 0
- #*# mesh_y_pps = 0
- #*# algo = lagrange
- #*# tension = 0.2
- #*# min_x = 15.0
- #*# max_x = 300.0
- #*# min_y = 50.0
- #*# max_y = 275.0
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 23.898
- #*# pid_ki = 1.285
- #*# pid_kd = 111.125
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 74.326
- #*# pid_ki = 1.408
- #*# pid_kd = 981.099
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement