Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This is an example configuration file, for the Ender Switchwire Conversion with the SKR E3 mini V2.
- [include mainsail.cfg]
- [include stealthburner_leds.cfg]
- [include macros.cfg]
- [mcu]
- serial: /dev/serial/by-id/usb-Klipper_stm32g0b0xx_34001E000E50415833323520-if00
- [printer]
- kinematics: corexz
- max_velocity: 200
- max_accel: 2000
- max_z_velocity: 50
- max_z_accel: 2000
- square_corner_velocity: 4.0
- [virtual_sdcard]
- path: ~/printer_data/gcodes
- #####################################################################
- # X Stepper Settings
- #####################################################################
- ######
- # Motor -XM
- # Endstop - X-STOP
- ###############
- [stepper_x]
- step_pin: PB13
- dir_pin: PB12
- enable_pin: !PB14
- rotation_distance: 40
- microsteps: 16
- endstop_pin: tmc2209_stepper_x:virtual_endstop
- position_endstop: 220
- position_min: 0
- position_max: 220
- homing_speed: 30
- homing_positive_dir: true
- [tmc2209 stepper_x]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 0
- run_current: 0.7
- hold_current: 0.35
- sense_resistor: 0.110
- interpolate: True
- diag_pin: ^PC0
- stealthchop_threshold: 250
- driver_SGTHRS: 75
- #####################################################################
- # Y Stepper Settings
- #####################################################################
- ######
- # Motor -YM
- # Endstop - Y-STOP
- ###############
- [stepper_y]
- step_pin: PB10
- dir_pin: !PB2
- enable_pin: !PB11
- rotation_distance: 40
- microsteps: 16
- endstop_pin: !PC1
- position_endstop: 0
- position_min: 0
- position_max: 220
- homing_speed: 40
- homing_positive_dir: false
- [tmc2209 stepper_y]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 2
- run_current: 0.5
- hold_current: 0.3
- interpolate: True
- stealthchop_threshold: 250
- #####################################################################
- # Z Stepper Settings
- #####################################################################
- ######
- # Motor -ZAM
- # Endstop - Z-STOP
- ###############
- [stepper_z]
- step_pin: PB0
- dir_pin: PC5
- enable_pin: !PB1
- microsteps: 16
- rotation_distance: 40
- endstop_pin: probe:z_virtual_endstop
- position_max: 220
- homing_speed: 40
- position_min: -3.0
- [tmc2209 stepper_z]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 1
- run_current: 0.7
- hold_current: 0.35
- interpolate: True
- stealthchop_threshold: 250
- #####################################################################
- # Probe
- #####################################################################
- ######
- #Z Max Connector on Z(main) Board
- #Inductive Probe
- ###############
- [probe]
- pin: PC14
- x_offset: 0
- y_offset: 25
- z_offset: 1.5
- samples: 1
- samples_result: median
- sample_retract_dist: 3
- samples_tolerance: 0.026
- samples_tolerance_retries: 3
- #####################################################################
- # Extruder Settings
- #####################################################################
- ######
- #Motor - EM
- ###############
- [extruder]
- max_extrude_only_distance: 100.0
- step_pin: PB3
- dir_pin: PB4
- enable_pin: !PD1
- microsteps: 32
- rotation_distance: 22.6789511
- gear_ratio: 50:10
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PC8
- pressure_advance: 0.045
- pressure_advance_smooth_time: 0.040
- sensor_type: Generic 3950
- sensor_pin: PA0
- min_temp: 0
- max_temp: 270
- max_power: 0.85
- full_steps_per_rotation: 200
- #control = pid
- #pid_kp = 34.418
- #pid_ki = 0.952
- #pid_kd = 311.055
- [tmc2209 extruder]
- uart_pin: PC11
- tx_pin: PC10
- uart_address: 3
- run_current: 0.5
- hold_current: 0.3
- interpolate: True
- #####################################################################
- # Bed Heater
- #####################################################################
- ######
- # BED Connector
- ###############
- [heater_bed]
- heater_pin: PC9
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- #control = pid
- #pid_kp = 74.959
- #pid_ki = 0.534
- #pid_kd = 2631.055
- min_temp: 0
- max_temp: 130
- [verify_heater heater_bed]
- max_error: 480 #120
- check_gain_time: 120
- [verify_heater extruder]
- max_error: 120 #120
- check_gain_time: 90
- #####################################################################
- # Fan Control
- #####################################################################
- ######
- # Electronics Fan
- # FAN1 Connector
- ###############
- [controller_fan my_controller_fan]
- pin: PC7
- max_power: 1
- kick_start_time: 0.200
- heater: heater_bed
- ######
- # Hot End Fan
- # FAN2 Connector
- ###############
- [heater_fan extruder_fan]
- pin: PB15
- heater: extruder
- heater_temp: 50.0
- ## If you are experiencing back flow, you can reduce fan_speed
- #fan_speed: 1.0
- ######
- # Part Cooling Fan
- # FAN0 Connector
- ###############
- [fan]
- pin: PC6 # "FAN0"
- cycle_time: 0.010
- ## Depending on your fan, you may need to increase this value
- ## if your fan will not start. Can change cycle_time (increase)
- ## if your fan is not able to slow down effectively
- kick_start_time: .25
- [static_digital_output usb_pullup_enable]
- pins: !PA14
- #####################################################################
- # Homing and Bed Mesh
- #####################################################################
- [homing_override]
- axes: z
- set_position_z: 0
- gcode:
- G90
- G0 Z5 F1000
- G28 X2 Y0
- G0 X115 Y110 F9000
- G28 Z0
- # G0 Z5 F500
- ## To be used with BED_SCREWS_ADJUST
- [bed_screws]
- screw1: 35,35
- screw1_name: front left
- screw2: 35,195
- screw2_name: back left
- screw3: 195,35
- screw3_name: front right
- screw4: 195,195
- screw4_name: back right
- [bed_mesh]
- speed: 200
- horizontal_move_z: 6
- mesh_min: 25,35.0
- mesh_max: 220.0,220
- probe_count: 4,4
- algorithm: bicubic
- fade_start: 1
- fade_end: 15
- fade_target: 0
- #####################################################################
- # Displays
- #####################################################################
- #[display]
- # FYSETC mini12864 LCD Display v2.1
- #lcd_type: uc1701
- #cs_pin: PB8
- #a0_pin: PB15
- #rst_pin: PB9
- #encoder_pins: ^PA9,^PA10
- #click_pin: ^!PB5
- #contrast: 63
- #spi_software_sclk_pin: PA5
- #spi_software_mosi_pin: PA7
- #spi_software_miso_pin: PA6
- #[neopixel fysetc_mini12864]
- # To control Neopixel RGB in mini12864 display
- #pin: PA15
- #chain_count: 3
- #initial_RED: 0.2
- #initial_GREEN: 0.5
- #initial_BLUE: 1.0
- #color_order: RGB
- #[moonraker]
- #trusted_clients:
- # 192.168.1.0/24
- #[gcode_macro lights_on]
- #gcode:
- # SET_PIN PIN=LIGHTS VALUE=1.0
- #
- #[gcode_macro lights_off]
- #gcode:
- # SET_PIN PIN=LIGHTS VALUE=0.0
- #####################################################################
- # Case Lights
- #####################################################################
- #[output_pin LIGHTS]
- #pin: PA8
- #value: 0
- #shutdown_value: 0
- #
- #[gcode_macro lights_on]
- #gcode:
- # SET_PIN PIN=LIGHTS VALUE=1.0
- #
- #[gcode_macro lights_off]
- #gcode:
- # SET_PIN PIN=LIGHTS VALUE=0.0
- [temperature_sensor raspberry_pi]
- sensor_type: temperature_host
- min_temp: 10
- max_temp: 100
- #####################################################################
- # Macros
- #####################################################################
- [
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 72.482
- #*# pid_ki = 1.275
- #*# pid_kd = 1030.152
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 16.311
- #*# pid_ki = 0.836
- #*# pid_kd = 79.516
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 1.525000, 1.275000, 1.062500, 0.925000
- #*# 0.525000, 0.425000, 0.275000, 0.275000
- #*# -0.212500, 0.212500, 0.250000, 0.387500
- #*# 0.950000, 0.625000, 0.375000, 0.225000
- #*# x_count = 4
- #*# y_count = 4
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = bicubic
- #*# tension = 0.2
- #*# min_x = 25.0
- #*# max_x = 220.0
- #*# min_y = 35.0
- #*# max_y = 219.97
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement