# This file contains pin mappings for the Creality "v4.2.7" board. To # use this config, during "make menuconfig" select the STM32F103 with # a "28KiB bootloader" and with "Use USB for communication" disabled. # If you prefer a direct serial connection, in "make menuconfig" # select "Enable extra low-level configuration options" and select the # USART3 serial port, 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. [stepper_x] step_pin: PB9 dir_pin: PC2 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA5 position_endstop: 0 position_max: 235 homing_speed: 50 [stepper_y] step_pin: PB7 dir_pin: PB8 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA6 position_endstop: 0 position_max: 235 homing_speed: 50 [stepper_z] step_pin: PB5 dir_pin: !PB6 enable_pin: !PC3 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop #position_endstop: 0.0 position_max: 250 position_min: -0.5 [bltouch] sensor_pin: ^PB1 control_pin: PB0 pin_up_touch_mode_reports_triggered: False probe_with_touch_mode: True x_offset: -48 y_offset: -10 z_offset: 2.88 [safe_z_home] home_xy_position: 160,122.5 # Change coordinates to the center of your print bed z_hop: 10 # Move up 10mm z_hop_speed: 5 [bed_mesh] speed: 120 horizontal_move_z: 5 mesh_min: 35,5 mesh_max: 187,200 probe_count: 3,3 [screws_tilt_adjust] screw1: 70.5,37.5 screw1_name: front left screw screw2: 235,37.5 screw2_name: front right screw screw3: 235,207.5 screw3_name: rear right screw screw4: 70.5,207.5 screw4_name: rear left screw horizontal_move_z: 10 speed: 50 screw_thread: CW-M4 [extruder] max_extrude_only_distance: 100.0 step_pin: PB3 dir_pin: PB4 enable_pin: !PC3 microsteps: 16 rotation_distance: 32 pressure_advance = 0.0842 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: 250 min_extrude_temp: 120 [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC4 #control: pid #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 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# 0.122500, 0.105000, 0.185000 #*# 0.057500, -0.007500, 0.020000 #*# 0.060000, 0.037500, 0.090000 #*# tension = 0.2 #*# min_x = 35.0 #*# algo = lagrange #*# y_count = 3 #*# mesh_y_pps = 2 #*# min_y = 5.0 #*# x_count = 3 #*# max_y = 200.0 #*# mesh_x_pps = 2 #*# max_x = 187.0 #*# #*# [extruder] #*# control = pid #*# pid_kp = 33.210 #*# pid_ki = 2.129 #*# pid_kd = 129.519 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 73.334 #*# pid_ki = 1.405 #*# pid_kd = 957.003