Ender 3 Max Neo Klipper

# Creality Ender 3 Max Neo
# To use this config, during "make menuconfig" select the
# STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
# communication.
# If you prefer a direct serial connection, in "make menuconfig"
# select "Enable extra low-level configuration options" and select
# serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
# cable used for the LCD module as follows:
# 3: Tx, 4: Rx, 9: GND, 10: VCC
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# This also works for the GD32F303 based Creality 4.2.2 board.
# In the extra low-level configuration options disable SWD
# See docs/Config_Reference.md for a description of parameters.
[include mainsail.cfg] #remove if not using mainsail
[stepper_x]
step_pin: PC2
dir_pin: PB9
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: -24
position_min: -24
position_max: 300
homing_speed: 80
[stepper_y]
step_pin: PB8
dir_pin: PB7
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA6
position_endstop: -4
position_min: -4
position_max: 300
homing_speed: 80
[stepper_z]
step_pin: PB6
dir_pin: !PB5
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 320
homing_speed: 4
second_homing_speed: 1
homing_retract_dist: 2.0
position_min: -10
[bltouch]
sensor_pin: ^PB1
control_pin: PB0
x_offset: -36.0
y_offset: -12.0
#z_offset: 0 # modify as needed for bltouch or run PROBE_CALIBRATE
speed: 20
samples: 3
sample_retract_dist: 8.0
pin_up_touch_mode_reports_triggered: True
probe_with_touch_mode: True
[safe_z_home]
home_xy_position: 182,167
speed: 200
z_hop: 10
z_hop_speed: 15
[bed_mesh]
speed: 150
mesh_min: 4, 3 # Need to handle head distance with cr-touch (bl_touch)
mesh_max: 264,288 # Max probe range
probe_count: 5,5
fade_start: 1
fade_end: 10
fade_target: 0
algorithm: bicubic
[bed_screws]
screw1: 30,25
screw1_name: 1
screw2: 270,25
screw2_name: 2
screw3: 270,270
screw3_name: 3
screw4: 30,270
screw4_name: 4
[screws_tilt_adjust]
screw1: 67, 42
screw1_name: front left screw
screw2: 300, 42
screw2_name: front right screw
screw3: 300, 288
screw3_name: rear right screw
screw4: 67, 288
screw4_name: rear left screw
horizontal_move_z: 10
speed: 200
screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
[extruder]
max_extrude_only_distance: 1000.0
step_pin: PB4
dir_pin: PB3
enable_pin: !PC3
microsteps: 16
rotation_distance: 31.901 # Calibrate - see https://www.klipper3d.org/Rotation_Distance.html
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 265
pressure_advance: 0.0 # Calibrate - see https://www.klipper3d.org/Pressure_Advance.html
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
# tuned for stock hardware with 70 degree Celsius target
pid_kp: 70.405
pid_ki: 1.229
pid_kd: 1008.553
min_temp: 0
max_temp: 130
[fan]
pin: PA0
[filament_switch_sensor e0_sensor]
switch_pin: PA4
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 # Run ls /dev/serial/by-id/* for micro-controller name
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 5000
max_z_velocity: 10
square_corner_velocity: 5.0
max_z_accel: 1000
# [display]
# The Ender 3 v2 Neo's 4.3" LCD display is not supported by klipper
[output_pin beeper]
pin: PB13

 

Source Link