# This file contains pin mappings for the stock Sovol SV06 Plus. # # Find installation instructions at https://github.com/bassamanator/Sovol-SV06-firmware # # See https://www.klipper3d.org/Config_Reference.html for configuration reference. [include ./osskc.cfg] [mcu] # NOTE Obtain definition by "ls /dev/serial/by-id/*" or "ls /dev/serial/by-path/*" serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 restart_method: command [printer] kinematics: cartesian max_velocity: 400 max_accel: 3500 max_accel_to_decel: 1500 max_z_velocity: 18 max_z_accel: 400 square_corner_velocity: 8 # buffer_time_high: 15 [respond] [exclude_object] [virtual_sdcard] path: /var/lib/octoprint/.octoprint/uploads [input_shaper] # shaper_freq_x: 81.531 # shaper_freq_y: 86.699 # shaper_freq_x: 81.081 # shaper_freq_y: 85.106 # shaper_freq_x: 75.000 # shaper_freq_y: 87.805 # shaper_type: ei ##################################################################### # X/Y/Z Stepper Settings ##################################################################### [stepper_x] step_pin: PC2 dir_pin: !PB9 enable_pin: !PC3 microsteps: 64 rotation_distance: 40 endstop_pin: tmc2209_stepper_x:virtual_endstop position_endstop: 0 position_max: 300 # NOTE You can adjust this if you have more room homing_speed: 50 homing_retract_dist: 0 [tmc2209 stepper_x] uart_pin: PC1 hold_current: 1.1 run_current: 1.1 stealthchop_threshold: 999999 # stealthchop_threshold: 0.1 interpolate: False sense_resistor: 0.150 uart_address: 3 driver_SGTHRS: 80 # NOTE Bump sensitivity; increase to make more sensitive diag_pin: PA5 [stepper_y] step_pin: PB8 dir_pin: PB7 enable_pin: !PC3 microsteps: 64 rotation_distance: 40 endstop_pin: tmc2209_stepper_y:virtual_endstop position_endstop: 0 position_max: 300 # NOTE You can adjust this if you have more room homing_speed: 50 homing_retract_dist: 0 [tmc2209 stepper_y] uart_pin: PC0 hold_current: 1.1 run_current: 1.1 stealthchop_threshold: 999999 # stealthchop_threshold: 0.1 interpolate: False sense_resistor: 0.150 uart_address: 3 driver_SGTHRS: 95 # NOTE Bump sensitivity; increase to make more sensitive diag_pin: PA6 [stepper_z] step_pin: PB6 dir_pin: !PB5 enable_pin: !PC3 microsteps: 32 rotation_distance: 4 endstop_pin: probe:z_virtual_endstop position_min: -6 position_max: 340 # NOTE You can adjust this if you have more room homing_speed: 4.5 [tmc2209 stepper_z] uart_pin: PA15 run_current: 0.900 stealthchop_threshold: 999999 interpolate: False sense_resistor: 0.150 uart_address: 3 diag_pin: PA7 ##################################################################### # Extruder ##################################################################### [firmware_retraction] retract_length: 0.75 retract_speed: 40 unretract_speed: 40 unretract_extra_length: 0 [extruder] step_pin: PB4 dir_pin: !PB3 enable_pin: !PC3 microsteps: 16 rotation_distance: 4.8 # NOTE Calibrate e-steps https://www.klipper3d.org/Rotation_Distance.html#calibrating-rotation_distance-on-extruders, https://github.com/bassamanator/everything-sovol-sv06/blob/main/howto.md#calibrate-esteps nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PA1 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC5 #control: pid #pid_kd: 41.96 #pid_kp: 15.66 #pid_ki: 1.49 min_temp: 0 max_temp: 300 max_extrude_only_velocity: 40 max_extrude_only_accel: 5000 max_extrude_only_distance: 300.0 max_extrude_cross_section: 5 # NOTE Needed for KAMP purge # for 7000 mm^2/s ! GUESS NOT CALCULATED ! # pressure_advance: 0.005 # for 6000 mm^2/s ! GUESS NOT CALCULATED ! # pressure_advance: 0.01 # for 5000 mm^2/s # pressure_advance: 0.015 # for 4500 mm^2/s ! GUESS NOT CALCULATED ! # pressure_advance: 0.0175 # for 4000 mm^2/s # pressure_advance: 0.02 # for 3500 mm^2/s ! GUESS NOT CALCULATED ! # pressure_advance: 0.025 # for 3000 mm^2/s pressure_advance: 0.03 [tmc2209 extruder] uart_pin: PC14 run_current: 0.650 stealthchop_threshold: 9999999 interpolate: False sense_resistor: 0.150 uart_address: 3 ##################################################################### # Bed Heater ##################################################################### [heater_bed] heater_pin: PA2 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC4 #control: pid #pid_kp: 186.38 #pid_ki: 36.12 #pid_kd: 637.30 min_temp: 0 max_temp: 110 ##################################################################### # Probe Related ##################################################################### [probe] pin: PB1 x_offset: 27 y_offset: -20 # x_offset: 0 # y_offset: 0 samples: 1 speed: 4 lift_speed: 18 sample_retract_dist: 0.5 samples_result: median samples_tolerance: 0.005 samples_tolerance_retries: 30 [safe_z_home] home_xy_position: 123, 170 speed: 400 z_hop: 5 z_hop_speed: 18 [bed_mesh] speed: 400 horizontal_move_z: 1.9 # mesh_min: 27, 6 # probe as close to origin as possible while remaining fully on the bed # mesh_max: 299, 280 # (x.position_max - 1), (y.position_max - abs(y_offset)) ; probe as far as possible from the origin while remaining fully on the bed mesh_min: 27, 6 # probe as close to origin as possible while remaining fully on the bed mesh_max: 270, 300 # (x.position_max - 1), (y.position_max - abs(y_offset)) ; probe as far as possible from the origin while remaining fully on the bed probe_count: 13,13 algorithm: bicubic fade_start: 1 fade_end: 10 fade_target: 0 [axis_twist_compensation] calibrate_start_x: 0 # probe x coor at furthest left ; abs(x_offset) # calibrate_end_x: 0 # probe x coor at furthest right ; (x.position_max - abs(x_offset) - 1) # calibrate_start_x: 27 # probe x coor at furthest left ; abs(x_offset) calibrate_end_x: 272 # probe x coor at furthest right ; (x.position_max - abs(x_offset) - 1) calibrate_y: 154 ##################################################################### # Fans ##################################################################### [fan] pin: PA0 ##################################################################### # Misc ##################################################################### # NOTE The screen is not Klipper friendly # [display] # lcd_type: st7920 # cs_pin: PB12 # sclk_pin: PB13 # sid_pin: PB15 # encoder_pins: ^PB14, ^PB10 # click_pin: ^!PB2 [screws_tilt_adjust] screw1_name: center front left base screw1: 84, 136 screw2_name: front left screw2: 5, 55 screw3_name: front right screw3: 244, 55 screw4_name: center front right screw4: 164, 136 screw5_name: center back left screw5: 84, 216 screw6_name: center back right screw6: 164, 216 screw7_name: back left screw7: 5, 295 screw8_name: back right screw8: 244, 295 horizontal_move_z: 10 screw_thread: CCW-M4 # NOTE The speaker will not work, since the screen doesn't # [output_pin beeper] # pin: PC6 # value: 0 # shutdown_value: 0 # pwm: True # cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz) [filament_switch_sensor filament_sensor] switch_pin: PA4 pause_on_runout: True insert_gcode: { action_respond_info("Insert Detected") } runout_gcode: { action_respond_info("Runout Detected") } #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 74.196 #*# pid_ki = 1.046 #*# pid_kd = 1316.046 #*# #*# [extruder] #*# control = pid #*# pid_kp = 21.305 #*# pid_ki = 1.280 #*# pid_kd = 88.680 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.873371, -0.855515, -0.837659, -0.838554, -0.853198, -0.870968, -0.887487, -0.879631, -0.862299, -0.857915, -0.893530, -0.964145, -0.980385, -0.941001, -0.359741 #*# -0.379621, -0.330515, -0.317034, -0.292304, -0.291948, -0.320968, -0.314987, -0.297756, -0.259799, -0.230415, -0.254780, -0.307895, -0.296010, -0.234751, -0.215991 #*# -0.260246, -0.220515, -0.220159, -0.209804, -0.225698, -0.246593, -0.252487, -0.248381, -0.216674, -0.184790, -0.227280, -0.292270, -0.288510, -0.235376, -0.212241 #*# -0.161496, -0.136765, -0.133284, -0.137929, -0.163823, -0.191593, -0.206862, -0.194006, -0.172924, -0.154790, -0.201030, -0.260395, -0.256010, -0.204126, -0.197241 #*# -0.083996, -0.056765, -0.069534, -0.078554, -0.106948, -0.121593, -0.146862, -0.157131, -0.155424, -0.128540, -0.177905, -0.242270, -0.242260, -0.186626, -0.182866 #*# -0.016496, 0.004485, -0.023909, -0.027929, -0.077573, -0.091593, -0.112487, -0.146506, -0.139799, -0.131040, -0.163530, -0.224770, -0.226635, -0.176626, -0.163491 #*# 0.042254, 0.061985, 0.025466, 0.009571, -0.040073, -0.098468, -0.126862, -0.124631, -0.100424, -0.075415, -0.143530, -0.211020, -0.205385, -0.152251, -0.159116 #*# 0.076004, 0.091360, 0.054841, 0.028321, -0.032573, -0.083468, -0.116862, -0.100256, -0.050424, -0.032915, -0.116030, -0.196645, -0.205385, -0.166626, -0.173491 #*# 0.089129, 0.105735, 0.064841, 0.038321, -0.023823, -0.055343, -0.096237, -0.099006, -0.062299, -0.047915, -0.112280, -0.181020, -0.204135, -0.194126, -0.208491 #*# 0.104754, 0.088235, 0.060466, 0.030196, -0.019448, -0.045968, -0.081862, -0.089006, -0.071049, -0.060415, -0.092905, -0.179145, -0.216010, -0.222876, -0.234741 #*# 0.087254, 0.067610, 0.051716, 0.026446, -0.021948, -0.069093, -0.094362, -0.092756, -0.081049, -0.046665, -0.107280, -0.167895, -0.224760, -0.249126, -0.253491 #*# 0.044129, 0.053235, 0.031091, 0.010196, -0.028823, -0.074718, -0.098737, -0.134006, -0.146674, -0.131040, -0.149780, -0.189770, -0.229760, -0.262251, -0.259741 #*# -0.000871, 0.014485, -0.002034, -0.016679, -0.048823, -0.090968, -0.103737, -0.170256, -0.194799, -0.197290, -0.221655, -0.251020, -0.284760, -0.304126, -0.314116 #*# -0.060871, -0.022390, -0.040159, -0.043554, -0.068198, -0.100968, -0.108112, -0.115881, -0.159799, -0.195415, -0.209780, -0.234145, -0.276010, -0.317876, -0.344741 #*# -0.102121, -0.068640, -0.060159, -0.067304, -0.091323, -0.121593, -0.089362, -0.053381, -0.102924, -0.167290, -0.175405, -0.202270, -0.263510, -0.301626, -0.357241 #*# x_count = 15 #*# y_count = 15 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 6.11 #*# max_x = 249.99 #*# min_y = 15.0 #*# max_y = 292.2 #*# #*# [probe] #*# z_offset = 1.100 #*#