mirror of
https://github.com/bassamanator/Sovol-SV06-firmware.git
synced 2025-11-08 13:31:16 +00:00
346 lines
8.1 KiB
INI
346 lines
8.1 KiB
INI
# This file contains pin mappings for the stock Sovol SV06.
|
|
#
|
|
# Find installation instructions at https://github.com/bassamanator/Sovol-SV06-firmware
|
|
#
|
|
# See https://www.klipper3d.org/Config_Reference.html for configuration reference.
|
|
|
|
[include ./cfgs/misc-macros.cfg]
|
|
[include ./cfgs/TEST_SPEED.cfg]
|
|
[include ./cfgs/PARKING.cfg]
|
|
[include ./cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg]
|
|
|
|
# NOTE Uncomment the ONE of the following lines if you're using an adxl345
|
|
# [include ./cfgs/adxl-rp2040.cfg]
|
|
# [include ./cfgs/adxl-direct.cfg]
|
|
|
|
[mcu]
|
|
# NOTE Obtain definition by "ls -l /dev/serial/by-id/"
|
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
|
restart_method: command
|
|
|
|
[printer]
|
|
kinematics: cartesian
|
|
max_velocity: 275
|
|
max_accel: 3500
|
|
max_z_velocity: 15
|
|
max_z_accel: 45
|
|
square_corner_velocity: 8.0
|
|
|
|
#####################################################################
|
|
# X/Y/Z Stepper Settings
|
|
#####################################################################
|
|
|
|
[stepper_x]
|
|
step_pin: PC2
|
|
dir_pin: !PB9
|
|
enable_pin: !PC3
|
|
microsteps: 128
|
|
rotation_distance: 40
|
|
endstop_pin: tmc2209_stepper_x:virtual_endstop
|
|
position_endstop: 0
|
|
position_max: 223 # NOTE You can adjust this if you have more room
|
|
homing_speed: 40
|
|
homing_retract_dist: 0
|
|
|
|
[tmc2209 stepper_x]
|
|
uart_pin: PC1
|
|
run_current: 0.900
|
|
stealthchop_threshold: 0
|
|
interpolate: False
|
|
sense_resistor: 0.150
|
|
uart_address: 3
|
|
driver_SGTHRS: 81
|
|
diag_pin: PA5
|
|
|
|
[stepper_y]
|
|
step_pin: PB8
|
|
dir_pin: PB7
|
|
enable_pin: !PC3
|
|
microsteps: 128
|
|
rotation_distance: 40
|
|
endstop_pin: tmc2209_stepper_y:virtual_endstop
|
|
position_endstop: 0
|
|
position_max: 223 # NOTE You can adjust this if you have more room
|
|
homing_speed: 40
|
|
homing_retract_dist: 0
|
|
|
|
[tmc2209 stepper_y]
|
|
uart_pin: PC0
|
|
run_current: 1.000
|
|
stealthchop_threshold: 0
|
|
interpolate: False
|
|
sense_resistor: 0.150
|
|
uart_address: 3
|
|
driver_SGTHRS: 81
|
|
diag_pin: PA6
|
|
|
|
[stepper_z]
|
|
step_pin: PB6
|
|
dir_pin: !PB5
|
|
enable_pin: !PC3
|
|
microsteps: 128
|
|
rotation_distance: 4
|
|
endstop_pin: probe:z_virtual_endstop
|
|
position_min: -3
|
|
position_max: 258 # NOTE You can adjust this if you have more room
|
|
homing_speed: 5
|
|
|
|
[tmc2209 stepper_z]
|
|
uart_pin: PA15
|
|
run_current: 1.000
|
|
stealthchop_threshold: 0
|
|
interpolate: False
|
|
sense_resistor: 0.150
|
|
uart_address: 3
|
|
diag_pin: PA7
|
|
|
|
#####################################################################
|
|
# Extruder
|
|
#####################################################################
|
|
|
|
[extruder]
|
|
step_pin: PB4
|
|
dir_pin: !PB3
|
|
enable_pin: !PC3
|
|
microsteps: 256
|
|
rotation_distance: 4.65 # NOTE Calibrate e-steps and adjust https://www.klipper3d.org/Rotation_Distance.html
|
|
nozzle_diameter: 0.400
|
|
filament_diameter: 1.750
|
|
heater_pin: PA1
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
sensor_pin: PC5
|
|
min_temp: 0
|
|
max_temp: 300
|
|
max_extrude_only_distance: 150.0
|
|
pressure_advance: 0.0465 # 0.044
|
|
|
|
[tmc2209 extruder]
|
|
uart_pin: PC14
|
|
run_current: 0.550
|
|
stealthchop_threshold: 0
|
|
interpolate: False
|
|
sense_resistor: 0.150
|
|
uart_address: 3
|
|
|
|
#####################################################################
|
|
# Bed Heater
|
|
#####################################################################
|
|
|
|
[heater_bed]
|
|
heater_pin: PA2
|
|
sensor_type: EPCOS 100K B57560G104F
|
|
sensor_pin: PC4
|
|
min_temp: 0
|
|
max_temp: 110
|
|
|
|
#####################################################################
|
|
# Probe Related
|
|
#####################################################################
|
|
|
|
[probe]
|
|
pin: PB1
|
|
x_offset: 27
|
|
y_offset: -20
|
|
# z_offset: 0
|
|
samples: 3
|
|
samples_result: median
|
|
samples_tolerance: 0.01
|
|
samples_tolerance_retries: 5
|
|
|
|
[safe_z_home]
|
|
home_xy_position: 84.50, 135 # NOTE The probe is at the center of the bed.
|
|
speed: 100.0
|
|
z_hop: 10
|
|
z_hop_speed: 15
|
|
|
|
[bed_mesh]
|
|
speed: 175
|
|
mesh_min: 27, 5
|
|
mesh_max: 222, 203
|
|
probe_count: 5,5
|
|
algorithm: bicubic
|
|
fade_start: 1
|
|
fade_end: 10
|
|
fade_target: 0
|
|
|
|
#####################################################################
|
|
# Fans
|
|
#####################################################################
|
|
|
|
[fan]
|
|
pin: PA0
|
|
|
|
#####################################################################
|
|
# Misc
|
|
#####################################################################
|
|
|
|
[display]
|
|
lcd_type: st7920
|
|
cs_pin: PB12
|
|
sclk_pin: PB13
|
|
sid_pin: PB15
|
|
encoder_pins: ^PB14, ^PB10
|
|
click_pin: ^!PB2
|
|
|
|
[input_shaper]
|
|
shaper_freq_x: 55.0 # 97.2 # 82.2 # 84.2; 4020
|
|
shaper_type_x: mzv # 3hump_ei # 2hump_ei
|
|
shaper_freq_y: 40.6 # 41.8; 4020
|
|
shaper_type_y: mzv
|
|
|
|
[bed_screws]
|
|
screw1: 26.5, 31
|
|
screw1_name: front left
|
|
screw2: 196.75, 31
|
|
screw2_name: front right
|
|
screw3: 196.75, 201
|
|
screw3_name: back right
|
|
screw4: 26.5, 201
|
|
screw4_name: back left
|
|
|
|
[screws_tilt_adjust]
|
|
screw1: 111.5, 116.5
|
|
screw1_name: center
|
|
screw2: 26.5, 31
|
|
screw2_name: front left
|
|
screw3: 196.75, 31
|
|
screw3_name: front right
|
|
screw4: 196.75, 201
|
|
screw4_name: back right
|
|
screw5: 26.5, 201
|
|
screw5_name: back left
|
|
speed: 50
|
|
horizontal_move_z: 10
|
|
screw_thread: CCW-M4
|
|
|
|
[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 # "Pulled-high"
|
|
pause_on_runout: True
|
|
insert_gcode:
|
|
M117 Insert Detected
|
|
{ action_respond_info("Insert Detected") }
|
|
runout_gcode:
|
|
M117 Runout Detected
|
|
{ action_respond_info("Runout Detected") }
|
|
CONDITIONAL_BEEP i=3 dur=300 freq=400
|
|
|
|
#*# <---------------------- SAVE_CONFIG ---------------------->
|
|
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
|
|
#*#
|
|
#*# [extruder]
|
|
#*# control = pid
|
|
#*# pid_kp = 23.147
|
|
#*# pid_ki = 1.559
|
|
#*# pid_kd = 85.934
|
|
#*#
|
|
#*# [heater_bed]
|
|
#*# control = pid
|
|
#*# pid_kp = 68.957
|
|
#*# pid_ki = 1.281
|
|
#*# pid_kd = 928.332
|
|
#*#
|
|
#*# [probe]
|
|
#*# z_offset = 1.645
|
|
#*#
|
|
#*# [bed_mesh newbed]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.240625, -0.114375, -0.018750, 0.004375, 0.092500
|
|
#*# -0.280625, -0.120000, -0.005000, 0.025000, -0.011250
|
|
#*# -0.330625, -0.151875, -0.035000, -0.006875, 0.011250
|
|
#*# -0.350625, -0.145000, -0.030000, 0.001875, 0.073125
|
|
#*# -0.353125, -0.110000, 0.031250, 0.056250, 0.006250
|
|
#*# x_count = 5
|
|
#*# y_count = 5
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.2
|
|
#*# min_x = 27.0
|
|
#*# max_x = 222.0
|
|
#*# min_y = 5.0
|
|
#*# max_y = 203.0
|
|
#*#
|
|
#*# [bed_mesh oldbed]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.158750, -0.064375, 0.022500, 0.069375, 0.076875
|
|
#*# -0.214375, -0.114375, -0.010625, 0.030625, 0.016875
|
|
#*# -0.254375, -0.135625, -0.041875, -0.006250, -0.025000
|
|
#*# -0.255000, -0.143750, -0.062500, -0.041250, -0.059375
|
|
#*# -0.193125, -0.098750, -0.033750, -0.019375, -0.035625
|
|
#*# min_x = 27.0
|
|
#*# max_x = 222.0
|
|
#*# min_y = 5.0
|
|
#*# max_y = 203.0
|
|
#*# x_count = 5
|
|
#*# y_count = 5
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.2
|
|
#*#
|
|
#*# [bed_mesh default-v1]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.181250, -0.127500, -0.082500, -0.086875, -0.124375
|
|
#*# -0.182500, -0.123750, -0.063750, -0.069375, -0.132500
|
|
#*# -0.190000, -0.106250, -0.056250, -0.067500, -0.128125
|
|
#*# -0.185625, -0.100000, -0.042500, -0.063750, -0.128125
|
|
#*# -0.133125, -0.045625, 0.000000, -0.019375, -0.079375
|
|
#*# min_x = 27.0
|
|
#*# max_x = 222.0
|
|
#*# min_y = 5.0
|
|
#*# max_y = 203.0
|
|
#*# x_count = 5
|
|
#*# y_count = 5
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.2
|
|
#*#
|
|
#*# [bed_mesh personalPreEdit]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.147188, -0.085313, -0.033906, -0.025469, -0.035000
|
|
#*# -0.163594, -0.095313, -0.027344, -0.014219, -0.057813
|
|
#*# -0.187500, -0.087188, -0.030938, -0.019375, -0.063594
|
|
#*# -0.179844, -0.080625, -0.012813, -0.013750, -0.061406
|
|
#*# -0.126094, -0.026250, 0.033594, 0.030781, -0.010000
|
|
#*# x_count = 5
|
|
#*# y_count = 5
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.2
|
|
#*# min_x = 27.0
|
|
#*# max_x = 222.0
|
|
#*# min_y = 5.0
|
|
#*# max_y = 203.0
|
|
#*#
|
|
#*# [bed_mesh default]
|
|
#*# version = 1
|
|
#*# points =
|
|
#*# -0.150000, -0.110000, -0.110000, -0.110000, -0.110000
|
|
#*# -0.150000, -0.112384, -0.110000, -0.110000, -0.110000
|
|
#*# -0.150000, -0.112266, -0.110000, -0.110000, -0.110000
|
|
#*# -0.140000, -0.105430, -0.110000, -0.110000, -0.110000
|
|
#*# -0.120000, -0.071211, -0.091407, -0.110000, -0.110000
|
|
#*# x_count = 5
|
|
#*# y_count = 5
|
|
#*# mesh_x_pps = 2
|
|
#*# mesh_y_pps = 2
|
|
#*# algo = bicubic
|
|
#*# tension = 0.2
|
|
#*# min_x = 27.0
|
|
#*# max_x = 222.0
|
|
#*# min_y = 5.0
|
|
#*# max_y = 203.0
|