# This is a Klipper configuration for TronXY X5SA, with CXY-V6 # motherboard. # === FLASHING WITH STOCK BOOTLOADER === # You should make firmware for STM32F103 with bootloader offset # at 0x8008800 (Chitu v6 Bootloader) and serial (on USART1 PA10/PA9) # communication. # Use "./scripts/update_chitu.py ./out/klipper.bin ./out/update.cbd" # after make to generate update.cbd. Put `update.cbd` onto SD card, # and reboot the printer. It will be automatically installed, and you # will be able to update it this way. [include kiauh_macros.cfg] [mcu] serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.5:1.0-port0 restart_method: command [printer] kinematics: corexy max_velocity: 300 max_accel: 3000 max_z_velocity: 25 max_z_accel: 30 [stepper_x] step_pin: PE5 dir_pin: !PE6 enable_pin: !PC13 microsteps: 32 rotation_distance: 40 endstop_pin: !PG10 position_endstop: -1 position_min: -1 position_max: 400 # for bed mesh homing_speed: 50 homing_retract_dist: 10 second_homing_speed: 10.0 [stepper_y] step_pin: PE2 dir_pin: !PE3 enable_pin: !PE4 microsteps: 32 rotation_distance: 40 endstop_pin: !PA12 position_endstop: 0 position_max: 400 homing_retract_dist: 10 homing_speed: 50.0 second_homing_speed: 10.0 [stepper_z] step_pin: PB9 dir_pin: PE0 enable_pin: !PE1 microsteps: 32 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_max: 350 position_min: -2 [extruder] step_pin: PB4 dir_pin: !PB5 enable_pin: !PB8 microsteps: 32 rotation_distance: 22.478 # Titan Extruder Clone Rotation Distance gear_ratio: 66:22 # Titan Extruder Clone Gear Ratio nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PG12 sensor_type: ATC Semitec 104GT-2 sensor_pin: PA1 control: pid pid_Kp: 18.831 pid_Ki: 0.821 pid_Kd: 108.044 min_temp: 0 max_temp: 260 max_extrude_only_distance: 350 [heater_bed] heater_pin: PG11 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 min_temp: 0 max_temp: 130 control: pid pid_Kp: 73.932 pid_Ki: 1.521 pid_Kd: 898.279 [heater_fan hotend_fan] pin: PG14 [fan] pin: PG13 [controller_fan drivers_fan] pin: PD6 [filament_switch_sensor filament_sensor] pause_on_runout: True runout_gcode: M25 switch_pin: !PA15 [output_pin beeper] pin: PB0 [safe_z_home] home_xy_position: 200,200 speed: 50 z_hop: 10 z_hop_speed: 5 #[bltouch] #sensor_pin: ^PC5 #control_pin: PB4 #x_offset: 32 #y_offset: 15 #z_offset: 0.3 # speed: 3.0 [bed_screws] screw1: 5,5 screw2: 165,5 screw3: 325,5 screw4: 5,325 screw5: 165,325 screw6: 325,325 [bed_mesh] speed: 80 probe_count: 7,7 horizontal_move_z: 5 algorithm: bicubic mesh_min : 50,50 mesh_max : 365,365 mesh_pps: 0 [probe] x_offset: -35 y_offset: 0 pin: !PG9 speed: 30 z_offset: 1 [virtual_sdcard] path: ~/gcode_files [display_status] [pause_resume] #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.010000, -0.095000, -0.147500, -0.155000, -0.088750, -0.088750, -0.137500 #*# 0.298750, 0.260000, 0.212500, 0.253750, 0.286250, 0.252500, 0.078750 #*# 0.491250, 0.485000, 0.460000, 0.472500, 0.510000, 0.447500, 0.307500 #*# 0.600000, 0.631250, 0.632500, 0.630000, 0.647500, 0.577500, 0.377500 #*# 0.607500, 0.626250, 0.620000, 0.607500, 0.618750, 0.532500, 0.345000 #*# 0.433750, 0.436250, 0.426250, 0.395000, 0.402500, 0.315000, 0.191250 #*# 0.152500, 0.147500, 0.116250, 0.083750, 0.106250, -0.010000, -0.177500 #*# tension = 0.2 #*# min_x = 50.0 #*# algo = bicubic #*# y_count = 7 #*# mesh_y_pps = 0 #*# min_y = 50.0 #*# x_count = 7 #*# max_y = 365.0 #*# mesh_x_pps = 0 #*# max_x = 365.0 #*# #*# [bed_mesh X5SA] #*# version = 1 #*# points = #*# -0.577500, -0.657500, -0.705000, -0.712500, -0.551250 #*# -0.160000, -0.211250, -0.248750, -0.272500, -0.243750 #*# 0.006250, -0.031250, -0.062500, -0.065000, 0.002500 #*# -0.106250, -0.118750, -0.112500, -0.097500, -0.057500 #*# -0.730000, -0.702500, -0.652500, -0.640000, -0.627500 #*# tension = 0.2 #*# min_x = 50.0 #*# algo = bicubic #*# y_count = 5 #*# mesh_y_pps = 0 #*# min_y = 50.0 #*# x_count = 5 #*# max_y = 365.0 #*# mesh_x_pps = 0 #*# max_x = 365.0