Ender 2 pro printer.cfg
[include mainsail.cfg]
[include macros/*.cfg]
[virtual_sdcard]
path: /home/biqu/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_43002C000B504B5735313920-if00
[temperature_sensor CB1]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor CB1]
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
######################################################################
# Fan Control
######################################################################
[heater_fan hotend_fan]
pin: PA4
max_power: 1.0
fan_speed: 0.7
kick_start_time: 0.1
heater: extruder
heater_temp: 50.0
######################################################################
# BLTouch Settings
######################################################################
[bltouch]
sensor_pin: PC13
control_pin: PC15
samples: 2
#horizontal_move_z: 10
speed: 20
x_offset: -31
y_offset: -8
#z_offset: 0.0
######################################################################
# Bed Mesh Settings
######################################################################
[bed_mesh]
speed: 100
horizontal_move_z: 10
mesh_min: 10, 10
mesh_max: 133, 145
probe_count: 4, 4
mesh_pps: 2,2
fade_start: 1
fade_end: 10
fade_target: 0
######################################################################
# 128x64 Full Graphic Creality CR10 / ENDER 3 stockdisplay
######################################################################
# This filesection containsis common pin mappingsused for thea BIGTREETECHCreality Manta"12864" M5Pdisplay with a single
# Toribbon usecable this config,between the firmwaredisplay's shouldEXP3 beplug compiled forand the
# STM32G0B1micro-controller withboard's aEXP1 "8KiBconnector.
bootloader"[display]
"8lcd_type: MHzst7920
crystal"cs_pin: EXP1_7
sclk_pin: EXP1_6
sid_pin: EXP1_8
encoder_pins: ^EXP1_5, ^EXP1_3
click_pin: ^!EXP1_2
[output_pin beeper]
pin: EXP1_1
########################################
# andTMC2209 "USBconfiguration
(on########################################
PA11/PA12)"[tmc2209 orstepper_x]
"CANuart_pin: busPD9
(onrun_current: PD0/PD1)".0.800
diag_pin: PD3
stealthchop_threshold: 999999
[tmc2209 stepper_y]
uart_pin: PD8
run_current: 0.800
diag_pin: PD2
stealthchop_threshold: 999999
[tmc2209 stepper_z]
uart_pin: PB10
run_current: 0.800
diag_pin: PC3
stealthchop_threshold: 999999
[tmc2209 extruder]
uart_pin: PB2
run_current: 0.600
diag_pin: PC2
stealthchop_threshold: 999999
########################################
# SeeStepper docs/Config_Reference.mdconfiguration
for a description of parameters.########################################
[stepper_x]
step_pin: PC8
dir_pin: !PC9
enable_pin: !PA15
microsteps: 16
rotation_distance: 40
endstop_pin: ^PD3
position_min: -20
position_endstop: 0-20
position_max: 200165
homing_speed: 50
[stepper_y]
step_pin: PA10
dir_pin: !PA14
enable_pin: !PA13
microsteps: 16
rotation_distance: 40
endstop_pin: ^PD2
position_endstop: 0
position_min: -5
position_endstop: -5
position_max: 200165
homing_speed: 50
[stepper_z]
step_pin: PC6
dir_pin: !PC7
enable_pin: !PA9
microsteps: 16
rotation_distance: 8
endstop_pin: ^PC3probe:z_virtual_endstop
position_endstop:#position_endstop: 0.0
position_max: 200180
position_min: -6.0
[safe_z_home]
home_xy_position: 114, 87 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5
[extruder]
step_pin: PB12
dir_pin: !PB11
enable_pin: !PA8
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA1
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250
#sensor_type:MAX31865
#sensor_pin: PA4
#spi_bus: spi1
#rtd_nominal_r: 100
#rtd_reference_r: 430
#rtd_num_of_wires: 2
#[filament_switch_sensor material_0]
#switch_pin: PC2
#[extruder1]
#step_pin: PB0
#dir_pin: PB1
#enable_pin: !PC4
#heater_pin: PA7
#sensor_pin: PA2
#...
[heater_bed]
heater_pin: PA5
sensor_type: Generic 3950
sensor_pin: PA0
control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: PA4
#[heater_fan fan1]
#pin: PA3
#[heater_fan SoC_fan]
#pin: CB1:gpio79
#pin: RPI:gpio26
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_43002C000B504B5735313920-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
########################################
# TMC2209 configuration
########################################
[tmc2209 stepper_x]
uart_pin: PD9
run_current: 0.800
diag_pin: PD3
[tmc2209 stepper_y]
uart_pin: PD8
run_current: 0.800
diag_pin: PD2
[tmc2209 stepper_z]
uart_pin: PB10
run_current: 0.800
diag_pin: PC3
[tmc2209 extruder]
uart_pin: PB2
run_current: 0.600
diag_pin: PC2
#[tmc2209 extruder1]
#uart_pin: PA6
#run_current: 0.600
#diag_pin:
########################################
# TMC2130 configuration
########################################
#[tmc2130 stepper_x]
#cs_pin: PD9
#spi_bus: spi2
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PD3
#[tmc2130 stepper_y]
#cs_pin: PD8
#spi_bus: spi2
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PD2
#[tmc2130 stepper_z]
#cs_pin: PB10
#spi_bus: spi2
#run_current: 0.650
#stealthchop_threshold: 999999
#diag1_pin: PC3
#[tmc2130 extruder]
#cs_pin: PB2
#spi_bus: spi2
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PC2
#[tmc2130 extruder1]
#cs_pin: PA6
#spi_bus: spi2
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin:80
[board_pins]
aliases:
# EXP1 header
EXP1_1=PD5, EXP1_3=PB3, EXP1_5=PB5, EXP1_7=PB7, EXP1_9=<GND>,
EXP1_2=PD4, EXP1_4=PD6, EXP1_6=PB4, EXP1_8=PB6, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB14, EXP2_3=PB8, EXP2_5=PC10, EXP2_7=PC12, EXP2_9=<GND>,
EXP2_2=PB13, EXP2_4=PB9, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>
#*# See<---------------------- theSAVE_CONFIG sample-lcd.cfg---------------------->
file#*# forDO definitionsNOT ofEDIT commonTHIS LCDBLOCK displays.OR #[BELOW. The contents are auto-generated.
#*#
#*# [bltouch]
#sensor_pin: PC13
#control_pin: PC15
#*# Proximityz_offset switch= #[probe]1.625
#pin:#*#
PC15#*# #[neopixel[bed_mesh my_neopixel1]default]
#pin:#*# PC11version #[neopixel= my_neopixel2]1
#pin:#*# PC14points #[adxl345]=
#cs_pin:#*# PC00.030000, #spi_bus:-0.040000, spi2-0.025000, 0.025000
#*# -0.036250, -0.027500, 0.001250, 0.016250
#*# -0.047500, -0.038750, -0.015000, 0.021250
#*# -0.015000, -0.036250, -0.052500, -0.001250
#*# x_count = 4
#*# y_count = 4
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 10.0
#*# max_x = 133.0
#*# min_y = 10.0
#*# max_y = 145.0