Remade this branch with latest changes from master.

This commit is contained in:
Bassam Husain
2023-03-16 00:39:58 -04:00
parent 903cd16287
commit 5930d03add
4 changed files with 26 additions and 22 deletions

View File

@@ -1,9 +1,11 @@
# 🚨 *One-Stop-Shop* Sovol SV06 Klipper Configuration
This repository contains the Klipper configuration and firmware for the Sovol SV06 3D printer with completely *stock hardware*.
This repository contains the Klipper configuration and firmware for the Sovol SV06 `PLUS` 3D printer with completely *stock hardware*.
I am creating these files for my personal use and cannot be held responsible for what it might do to your printer. Use at your own risk.
❗☠️ THIS BRANCH IS COMPLETELY UNTESTED ☠️❗
# Highlights
- 💥 This Klipper configuration is an *endpoint*, meaning that it contains **everything** that you could possibly need in order to have an excellent Klipper experience! 💥
@@ -158,7 +160,7 @@ This repository contains many files and folders. Some are *necessary* for this K
## FAQ
##### How do I disable the beeping at the end of a print?
##### ~~How do I disable the beeping at the end of a print?~~ Since the LCD doesn't work, likely the beeping will not work. I recommend not turning beeping on at this point.
Make the following changes according to your needs. All beeping will be disabled except during gantry calibration.

View File

@@ -72,16 +72,16 @@ gcode:
SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current
{% endif %}
BEEP I=1
# BEEP I=1
G4 P200 ; Probably not necessary, it is here just for sure
SET_KINEMATIC_POSITION Z={z_max - 25} ; Trick printer into beleiving the gantry is 25mm lower than it is ; CHANGED
G1 Z{z_max} F{6 * 60} ; based on above figures, there will be 20mm worth of grinding ; CHANGED
BEEP I=2
# BEEP I=2
G4 P10000 ; wait 10 seconds
G1 Z{z_max -6} F{6 * 60} ; move 4mm down
BEEP I=3
# BEEP I=3
G4 P200 ; same as the first one
SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold}

View File

@@ -21,7 +21,7 @@ gcode:
[gcode_macro _globals]
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected
variable_beeping_enabled: 1 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
variable_beeping_enabled: 0 # NOTE Enable(1) or disable(0) beeping everywhere except during gantry calibration
variable_pre_purge_prime_length: 1.4
gcode:
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=pre_purge_prime_length VALUE={ variable_pre_purge_prime_length }

View File

@@ -36,7 +36,7 @@ microsteps: 64
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
position_max: 300 # NOTE You can adjust this if you have more room
homing_speed: 40
homing_retract_dist: 0
@@ -58,7 +58,7 @@ microsteps: 64
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
position_max: 300 # NOTE You can adjust this if you have more room
homing_speed: 40
homing_retract_dist: 0
@@ -80,7 +80,7 @@ microsteps: 64
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_min: -4
position_max: 258 # NOTE You can adjust this if you have more room
position_max: 340 # NOTE You can adjust this if you have more room
homing_speed: 5
[tmc2209 stepper_z]
@@ -179,13 +179,14 @@ pin: PA0
# Misc
#####################################################################
[display]
lcd_type: st7920
cs_pin: PB12
sclk_pin: PB13
sid_pin: PB15
encoder_pins: ^PB14, ^PB10
click_pin: ^!PB2
# NOTE Apparently 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
[bed_screws]
screw1: 26.5, 31
@@ -212,12 +213,13 @@ 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)
# NOTE The speaker will probably not work, since the LCD apparently doesn't work with Klipper
# [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"