Files
Sovol-SV06-firmware/printer.cfg
Bassam Husain 4ee64bb31d New mesh.
2023-02-12 11:44:16 -05:00

369 lines
8.2 KiB
INI

# This file contains pin mappings for the stock Sovol SV06.
#
# Using the wrong firmware, or wrong configuration, has the potential to destroy
# your 3D printer.
#
# ⚠️⚡☢️ USE AT YOUR OWN RISK! YOU HAVE BEEN WARNED! ☢️⚡⚠️
#
# See https://www.klipper3d.org/Config_Reference.html for configuration reference.
[include ./cfgs/macros.cfg]
[include ./cfgs/TEST_SPEED.cfg]
[include ./cfgs/PARKING.cfg]
[include ./cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg]
[include ./cfgs/beeper.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: 300
max_accel: 3000
max_z_velocity: 15
max_z_accel: 45
[force_move]
enable_force_move: True
[stepper_x]
step_pin: PC2
dir_pin: !PB9
enable_pin: !PC3
microsteps: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
position_max: 223
homing_speed: 40
homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: PC1
run_current: 0.860
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: 32
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 0
position_max: 223
homing_speed: 40
homing_retract_dist: 0
[tmc2209 stepper_y]
uart_pin: PC0
run_current: 0.900
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: 32
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_min: -3
position_max: 258
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
# DELETEME
# [thermistor sovol_thermistor]
# temperature1: 25
# resistance1: 94162
# beta: 4160
[extruder]
step_pin: PB4
dir_pin: !PB3
enable_pin: !PC3
microsteps: 32
rotation_distance: 4.65
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.027
[tmc2209 extruder]
uart_pin: PC14
run_current: 0.550
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
uart_address: 3
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
min_temp: 0
max_temp: 110
[fan]
pin: PA0
[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 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
# relative_reference_index: 15
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
[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 = 56.0
shaper_type_x: mzv
shaper_freq_y = 59.0
shaper_type_y: 3hump_ei
[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
# // NOTE this is the pin for the filament switch, if you have one
# [filament_switch_sensor fil_sensor]
# switch_pin: PA4 # "Pulled-high"
# NOTE Cancel objects feature is enabled. If you're using a low powered device, comment out [exclude_object].
# Also see [file_manager] section in moonraker.conf.
[exclude_object]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 21.047
#*# pid_ki = 1.477
#*# pid_kd = 74.981
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 71.224
#*# pid_ki = 1.341
#*# pid_kd = 945.503
#*#
#*# [probe]
#*# z_offset = 1.500
#*#
#*# [bed_mesh best]
#*# version = 1
#*# points =
#*# -0.017708, -0.023125, -0.023542, -0.037500, -0.088750
#*# -0.034167, -0.051875, -0.035833, -0.037708, -0.091875
#*# -0.072500, -0.066875, -0.056042, -0.050208, -0.093333
#*# -0.075417, -0.074167, -0.051458, -0.054375, -0.095625
#*# -0.030833, -0.014583, -0.000625, -0.013333, -0.051667
#*# 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-orig]
#*# version = 1
#*# points =
#*# -0.052500, -0.035000, -0.002500, 0.004375, -0.001875
#*# -0.062500, -0.053125, -0.011250, -0.005625, -0.049375
#*# -0.086250, -0.063125, -0.043750, -0.038750, -0.083750
#*# -0.094375, -0.071875, -0.043125, -0.052500, -0.104375
#*# -0.023125, 0.003750, 0.026875, 0.014375, -0.033750
#*# 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.091875, -0.041875, 0.010625, 0.028125, -0.010000
#*# -0.109375, -0.086875, -0.025000, -0.010625, -0.060000
#*# -0.138750, -0.102500, -0.070625, -0.053125, -0.100625
#*# -0.135000, -0.105625, -0.072500, -0.071250, -0.119375
#*# -0.058125, -0.036250, -0.003750, -0.010000, -0.045625
#*# 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-v2]
#*# version = 1
#*# points =
#*# -0.065625, -0.043125, -0.006250, 0.019375, -0.011250
#*# -0.081250, -0.075625, -0.018750, 0.003125, -0.046250
#*# -0.116875, -0.093125, -0.055000, -0.025000, -0.074375
#*# -0.119375, -0.089375, -0.048750, -0.029375, -0.074375
#*# -0.041250, 0.000000, 0.040000, 0.053750, 0.033750
#*# 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-v3]
#*# version = 1
#*# points =
#*# -0.039375, -0.032500, 0.005625, 0.031875, 0.020000
#*# -0.061250, -0.066250, -0.027500, -0.007500, -0.043125
#*# -0.090000, -0.076250, -0.056250, -0.028125, -0.058750
#*# -0.079375, -0.074375, -0.043125, -0.030000, -0.060000
#*# 0.006250, 0.015000, 0.049375, 0.057500, 0.041875
#*# 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-v4]
#*# version = 1
#*# points =
#*# -0.036250, -0.040000, -0.016875, -0.016875, -0.032500
#*# -0.058125, -0.057500, -0.028750, -0.025625, -0.056875
#*# -0.083750, -0.073750, -0.061875, -0.041250, -0.063750
#*# -0.071875, -0.058750, -0.041250, -0.033125, -0.050000
#*# 0.011250, 0.028750, 0.043750, 0.045625, 0.046875
#*# 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.035625, -0.034375, -0.018125, -0.013750, -0.038750
#*# -0.046250, -0.055625, -0.026875, -0.022500, -0.066250
#*# -0.073125, -0.070625, -0.056875, -0.041250, -0.079375
#*# -0.060625, -0.056875, -0.041250, -0.045000, -0.081875
#*# 0.034375, 0.040625, 0.055625, 0.052500, 0.033125
#*# 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