# This file contains pin mappings for the stock 2020 Creality Ender 3 # V2. 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. # See docs/Config_Reference.md for a description of parameters. [include mainsail.cfg] [include macro.cfg] [include klack_probe.cfg] [save_variables] filename: ~/variables.cfg [force_move] enable_force_move = true [stepper_x] step_pin: PC2 dir_pin: PB9 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA5 position_endstop: 0 position_max: 245 homing_speed: 50 [stepper_y] step_pin: PB8 dir_pin: PB7 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA6 position_endstop: -10 position_min: -10 position_max: 220 homing_speed: 50 [stepper_z] step_pin: PB6 dir_pin: !PB5 enable_pin: !PC3 microsteps: 16 rotation_distance: 8 endstop_pin: ^PA7 position_endstop: -0.775 position_min: -1 position_max: 250 [extruder] max_extrude_only_distance: 100.0 step_pin: PB4 dir_pin: PB3 enable_pin: !PC3 microsteps: 16 # rotation_distance: 34.406 rotation_distance: 7.531 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC5 #control: pid # tuned for stock hardware with 200 degree Celsius target #pid_Kp: 21.527 #pid_Ki: 1.063 #pid_Kd: 108.982 min_temp: 0 max_temp: 300 [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC4 #control: pid # tuned for stock hardware with 50 degree Celsius target #pid_Kp: 54.027 #pid_Ki: 0.770 #pid_Kd: 948.182 min_temp: 0 max_temp: 130 [fan] pin: PA0 [mcu] serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 restart_method: command [printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 [bed_screws] screw1_name: rear left screw screw1: 27, 194 # Using rear left to take measurements as harder to reach screw2_name: rear right screw screw2: 194, 194 screw3_name: front right screw screw3: 194, 23 screw4_name: front left screw screw4: 27, 23 [screws_tilt_adjust] screw1_name: rear left screw screw1: 11, 171 screw2_name: rear right screw screw2: 181, 171 screw3_name: front right screw screw3: 181, 0 screw4_name: front left screw screw4: 11, 0 horizontal_move_z: 10 speed: 50 screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise # [bltouch] # sensor_pin: ^PB1 # control_pin: PB0 # x_offset: 35 # y_offset: 1 # z_offset: 1.472 # samples: 5 # sample_retract_dist: 5.0 [probe] pin: ^PB1 x_offset: 15.7 y_offset: 23.0 z_offset: 4.0 samples: 5 sample_retract_dist: 2.0 speed: 10 lift_speed: 20 samples_result: median # activate_gcode: PROBE_ATTACH # deactivate_gcode: PROBE_DETTACH [bed_mesh] speed: 120 horizontal_move_z: 10 mesh_min: 20,20 mesh_max: 205,200 probe_count: 7,7 algorithm: bicubic fade_start: 1 fade_end: 10 # fade_target: 0 zero_reference_position: 112.5, 110 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 20.304 #*# pid_ki = 1.074 #*# pid_kd = 95.937 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 70.500 #*# pid_ki = 1.158 #*# pid_kd = 1073.363 #*# #*# [bed_mesh hot] #*# version = 1 #*# points = #*# -0.037506, -0.027506, -0.005006, 0.007494, 0.009994, 0.009994, 0.019994 #*# -0.050006, -0.035006, -0.007506, 0.007494, 0.017494, 0.009994, 0.024994 #*# -0.050006, -0.032506, -0.007506, 0.012494, 0.022494, 0.014994, 0.019994 #*# -0.062506, -0.052506, -0.017506, -0.000006, 0.019994, 0.007494, 0.017494 #*# -0.047506, -0.037506, -0.000006, 0.022494, 0.022494, 0.017494, 0.022494 #*# -0.032506, -0.010006, 0.012494, 0.029994, 0.032494, 0.027494, 0.039994 #*# 0.002494, 0.009994, 0.032494, 0.042494, 0.047494, 0.042494, 0.037494 #*# x_count = 7 #*# y_count = 7 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 20.0 #*# max_x = 204.98 #*# min_y = 20.0 #*# max_y = 200.0 #*# #*# [bed_mesh tescik] #*# version = 1 #*# points = #*# -0.027502, -0.035002, -0.032502, -0.030002, -0.040002, -0.045002, -0.035002 #*# -0.027502, -0.027502, -0.017502, -0.010002, -0.015002, -0.032502, -0.030002 #*# -0.030002, -0.027502, -0.010002, -0.002502, 0.002498, -0.010002, -0.010002 #*# -0.030002, -0.030002, -0.002502, -0.000002, 0.004998, -0.015002, -0.012502 #*# -0.020002, -0.020002, 0.007498, 0.024998, 0.014998, 0.007498, 0.007498 #*# -0.012502, -0.010002, 0.019998, 0.034998, 0.042498, 0.024998, 0.027498 #*# 0.027498, 0.032498, 0.044998, 0.044998, 0.069998, 0.024998, 0.019998 #*# x_count = 7 #*# y_count = 7 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 20.0 #*# max_x = 204.98 #*# min_y = 20.0 #*# max_y = 200.0