Many changes to skr mini printer.cfg.

This commit is contained in:
Bassam Husain
2023-03-10 04:42:57 -05:00
parent 7e1cf54240
commit 0aa2f8edb3

View File

@@ -1,18 +1,26 @@
# This file contains pin mappings for the Sovol SV06 using a BigTreeTech SKR Mini v3.0.
# This file contains pin mappings for the Sovol SV06 using the BTT SKR Mini E3 V3.0.
#
# Find installation instructions at https://github.com/bassamanator/Sovol-SV06-firmware
#
# See https://www.klipper3d.org/Config_Reference.html for configuration reference.
# Add your includes here
[include ./cfgs/macros.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-Klipper_stm32g0b0xx_3D0059000E50415833323520-if00
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 300
max_velocity: 200
max_accel: 3000
max_z_velocity: 15
max_z_accel: 45
@@ -25,15 +33,15 @@ microsteps: 64
rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0
position_max: 225
homing_speed: 100
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: PC11
tx_pin: PC10
run_current: 0.860
stealthchop_threshold: 999999
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
uart_address: 0
@@ -48,15 +56,15 @@ microsteps: 64
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 0
position_max: 225
homing_speed: 100
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: PC11
tx_pin: PC10
run_current: 0.900
stealthchop_threshold: 999999
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
uart_address: 2
@@ -71,40 +79,37 @@ microsteps: 64
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_min: -4
position_max: 261
homing_speed: 100
position_max: 258 # NOTE You can adjust this if you have more room
homing_speed: 5
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
run_current: 1.000
stealthchop_threshold: 999999
stealthchop_threshold: 0
interpolate: False
sense_resistor: 0.150
uart_address: 1
diag_pin: PC2
[thermistor sovol_thermistor]
temperature1: 25
resistance1: 94162
beta: 4160
[extruder]
step_pin: PB3
dir_pin: PB4
enable_pin: !PD1
microsteps: 32
rotation_distance: 4.615
rotation_distance: 4.65
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC8
sensor_type: sovol_thermistor
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA0
control: pid
pid_kd: 86.991
pid_kp: 21.479
pid_ki: 1.326
min_temp: 0
max_temp: 300
max_extrude_only_distance: 150.0
pressure_advance: 0.027
[tmc2209 extruder]
uart_pin: PC11
@@ -119,34 +124,28 @@ uart_address: 3
heater_pin: PC9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
pid_kp: 64.440
pid_ki: 0.773
pid_kd: 1343.571
min_temp: 0
max_temp: 130
max_temp: 110
[fan]
pin: PC6
[heater_fan controller_fan]
pin: PB15
heater: heater_bed
heater_temp: 45.0
[heater_fan nozzle_cooling_fan]
pin: PC7
[probe]
pin: PC14
x_offset = 26.4
y_offset = -19.0
#z_offset: 0
x_offset: 27
y_offset: -20
z_offset: 0
samples: 3
samples_result: median
samples_tolerance: 0.015
samples_tolerance: 0.01
samples_tolerance_retries: 5
[safe_z_home]
home_xy_position: 85,135
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
@@ -162,23 +161,61 @@ fade_start: 1
fade_end: 10
fade_target: 0
#[display]
#lcd_type: st7920
#cs_pin: PB12
#sclk_pin: PB13
#sid_pin: PB15
#encoder_pins: ^PB14, ^PB10
#click_pin: ^!PB2
[virtual_sdcard]
path: /home/pi/printer_data/gcodes
[save_variables]
filename: ~/printer_data/config/vars.cfg
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
[idle_timeout]
#gcode:
# A list of G-Code commands to execute on an idle timeout. See
# docs/Command_Templates.md for G-Code format. The default is to run
# "TURN_OFF_HEATERS" and "M84".
timeout: 900
# Idle time (in seconds) to wait before running the above G-Code
# commands. The default is 600 seconds.
[display]
lcd_type: st7920
cs_pin: PB8
sclk_pin: PB9
sid_pin: PD6
encoder_pins: ^PA10, ^PA9
click_pin: ^!PA15
[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]
[force_move]
enable_force_move: True
[controller_fan electronic_enclosure_fan]
pin: PB15
idle_timeout: 60
[heater_fan hotend_fan]
pin: PC7
heater: extruder
heater_temp: 50.0