Skip to content

Instantly share code, notes, and snippets.

@joepfortunato
Last active November 22, 2023 15:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joepfortunato/d36a9e5cefaa148a7bade061ac92477d to your computer and use it in GitHub Desktop.
Save joepfortunato/d36a9e5cefaa148a7bade061ac92477d to your computer and use it in GitHub Desktop.
Ender 5+ Stock Mainboard v2.2 Klipper Working Config File
# This file is an example config file for cartesian style printers.
# One may copy and edit this file to configure a new cartesian
# printer.
# DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
# FIRST. Incorrectly configured parameters may cause damage.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
microsteps: 16
rotation_distance: 40
endstop_pin: ^PE5
position_endstop: 350
position_max: 350
homing_speed: 100
[stepper_y]
step_pin: PF6
dir_pin: PF7
enable_pin: !PF2
microsteps: 16
rotation_distance: 40
endstop_pin: ^PJ1
position_endstop: 350
position_max: 350
homing_speed: 100
[stepper_z]
step_pin: PL3
dir_pin: PL1
enable_pin: !PK0
microsteps: 16
rotation_distance: 4
#step_distance: .0025
endstop_pin: probe:z_virtual_endstop
position_max: 400
position_min: -5 #set position_min to a negative value such as -5 when probing to set z offset, then revert to 0
homing_speed: 10.0
[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.600
filament_diameter: 1.75
pressure_advance: 0.05
pressure_advance_smooth_time: 0.010
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
control: pid
pid_Kp: 24.062
pid_Ki: 1.077
pid_Kd: 134.445
min_temp: 0
max_temp: 300
[safe_z_home]
home_xy_position: 180, 180
speed: 100
z_hop: 10 # Move up 10mm, so the probe doesnt hit anything
z_hop_speed: 5
[bltouch]
sensor_pin: ^PD3
control_pin: PB5
x_offset: -22
y_offset: -15
#z_offset: 2.420
speed: 3.0
samples: 1
pin_up_reports_not_triggered: True
pin_up_touch_mode_reports_triggered: False
[screws_tilt_adjust]
screw1: 48,54
screw1_name: front left screw
screw2: 332,54
screw2_name: front right screw
screw3: 332,315
screw3_name: rear right screw
screw4: 48,315
screw4_name: rear left screw
horizontal_move_z: 10.
speed: 50.
screw_thread: CCW-M4
[bed_screws]
screw1: 26,39
screw2: 310,39
screw3: 310,300
screw4: 26,300
[bed_mesh]
speed: 100
horizontal_move_z: 8
mesh_min: 50, 50
mesh_max: 300,300
probe_count: 5,5 # 3,3 or 5,5
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: 0.2
move_check_distance: 5
split_delta_z: .025
fade_start: 1
fade_end: 10
fade_target: 0
[gcode_macro G29]
gcode:
G28
BED_MESH_CALIBRATE
BED_MESH_PROFILE SAVE=p1
G1 X0 Y0 Z5 F4000
[heater_bed]
heater_pin: PH5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK6
control: pid
pid_Kp: 690.34
pid_Ki: 111.47
pid_Kd: 1068.83
min_temp: 0
max_temp: 130
[fan]
pin:PH6
[mcu]
serial: #your serial port address here
[printer]
kinematics: cartesian
max_velocity: 600
max_accel: 5000
max_accel_to_decel:5000
max_z_velocity: 25
max_z_accel: 100
square_corner_velocity:5.0
[input_shaper]
shaper_freq_x:49.38
shaper_freq_y:47.73
shaper_type: mzv
[gcode_macro load_mesh]
gcode:
BED_MESH_PROFILE load=default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment