[include mainsail.cfg] [virtual_sdcard] path: /home/pi/printer_data/gcodes on_error_gcode: CANCEL_PRINT # This file contains pin mappings for the stock 2022 Creality Ender 3 # V2 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. # See docs/Config_Reference.md for a description of parameters. # Z-steppers here [mcu zboard] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0-port0 restart_method: command # everything else here [mcu] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port0 restart_method: command [stepper_x] step_pin: PC2 dir_pin: PB9 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA5 position_endstop: 0 position_max: 235 homing_speed: 80 [stepper_y] step_pin: PB8 dir_pin: PB7 enable_pin: !PC3 microsteps: 16 rotation_distance: 40 endstop_pin: ^PA6 position_endstop: 0 position_max: 235 homing_speed: 80 [stepper_z] step_pin: zboard:PB6 dir_pin: !zboard:PB5 enable_pin: !zboard:PC3 microsteps: 16 rotation_distance: 8 endstop_pin: zboard:probe:z_virtual_endstop position_max: 250 position_min: -5 homing_speed: 4 second_homing_speed: 1 homing_retract_dist: 2.0 #toinen z aluperin y akseli [stepper_z1] step_pin: zboard:PB8 dir_pin: zboard:PB7 enable_pin: !zboard:PC3 microsteps: 16 rotation_distance: 8 endstop_pin: zboard:probe:z_virtual_endstop position_max: 250 position_min: -5 homing_speed: 4 second_homing_speed: 1 homing_retract_dist: 2.0 [extruder] max_extrude_only_distance: 100.0 step_pin: PB4 dir_pin: !PB3 enable_pin: !PC3 microsteps: 16 rotation_distance: 7.71 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: 99999 [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 [printer] kinematics: cartesian max_velocity: 300 max_accel: 5000 max_z_velocity: 5 square_corner_velocity: 5.0 max_z_accel: 100 [bltouch] sensor_pin: ^PB1 control_pin: PB0 x_offset: -45.0 y_offset: -10.0 #z_offset: 1.33 speed: 20 samples: 1 sample_retract_dist: 8.0 [safe_z_home] home_xy_position: 160,120 speed: 150 z_hop: 10 z_hop_speed: 10 [bed_mesh] speed: 120 mesh_min: 30,30 # Need to handle head distance with cr-touch (bl_touch) mesh_max: 189,189 # 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:200,25 screw2_name:2 screw3:200,195 screw3_name:3 screw4:30,195 screw4_name:4 [screws_tilt_adjust] screw1: 67, 42 screw1_name: front left screw screw2: 237.60, 42 screw2_name: front right screw screw3: 237.60, 212 screw3_name: rear right screw screw4: 67.60, 212 screw4_name: rear left screw horizontal_move_z: 10 speed: 200 screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise # [display] # The Ender 3 v2 Neo's 4.3" LCD display is not supported by klipper [output_pin beeper] pin: PB13 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 70.463 #*# pid_ki = 1.454 #*# pid_kd = 853.479 #*# #*# [bed_mesh MESH] #*# version = 1 #*# points = #*# -0.077500, -0.095000, -0.110000, -0.122500, -0.177500 #*# -0.130000, -0.120000, -0.112500, -0.090000, -0.175000 #*# -0.097500, -0.075000, -0.022500, 0.007500, -0.095000 #*# -0.147500, -0.110000, -0.082500, -0.017500, -0.132500 #*# -0.217500, -0.167500, -0.120000, -0.067500, -0.100000 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 30.0 #*# max_x = 189.0 #*# min_y = 30.0 #*# max_y = 189.0 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.077500, -0.095000, -0.110000, -0.122500, -0.177500 #*# -0.130000, -0.120000, -0.112500, -0.090000, -0.175000 #*# -0.097500, -0.075000, -0.022500, 0.007500, -0.095000 #*# -0.147500, -0.110000, -0.082500, -0.017500, -0.132500 #*# -0.217500, -0.167500, -0.120000, -0.067500, -0.100000 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 30.0 #*# max_x = 189.0 #*# min_y = 30.0 #*# max_y = 189.0 #*# #*# [bltouch] #*# z_offset = 0.860