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 # 🚨 *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. 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 # 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! 💥 - 💥 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 ## 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. 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 SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current
{% endif %} {% endif %}
BEEP I=1 # BEEP I=1
G4 P200 ; Probably not necessary, it is here just for sure 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 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 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 G4 P10000 ; wait 10 seconds
G1 Z{z_max -6} F{6 * 60} ; move 4mm down G1 Z{z_max -6} F{6 * 60} ; move 4mm down
BEEP I=3 # BEEP I=3
G4 P200 ; same as the first one G4 P200 ; same as the first one
SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold} SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold}

View File

@@ -21,7 +21,7 @@ gcode:
[gcode_macro _globals] [gcode_macro _globals]
variable_filament_sensor_enabled: 0 # NOTE Enable(1) or disable(0) the filament sensor, if one is connected 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 variable_pre_purge_prime_length: 1.4
gcode: gcode:
SET_GCODE_VARIABLE MACRO=_globals VARIABLE=pre_purge_prime_length VALUE={ variable_pre_purge_prime_length } 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 rotation_distance: 40
endstop_pin: tmc2209_stepper_x:virtual_endstop endstop_pin: tmc2209_stepper_x:virtual_endstop
position_endstop: 0 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_speed: 40
homing_retract_dist: 0 homing_retract_dist: 0
@@ -58,7 +58,7 @@ microsteps: 64
rotation_distance: 40 rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop endstop_pin: tmc2209_stepper_y:virtual_endstop
position_endstop: 0 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_speed: 40
homing_retract_dist: 0 homing_retract_dist: 0
@@ -80,7 +80,7 @@ microsteps: 64
rotation_distance: 4 rotation_distance: 4
endstop_pin: probe:z_virtual_endstop endstop_pin: probe:z_virtual_endstop
position_min: -4 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 homing_speed: 5
[tmc2209 stepper_z] [tmc2209 stepper_z]
@@ -179,13 +179,14 @@ pin: PA0
# Misc # Misc
##################################################################### #####################################################################
[display] # NOTE Apparently the screen is not Klipper friendly
lcd_type: st7920 # [display]
cs_pin: PB12 # lcd_type: st7920
sclk_pin: PB13 # cs_pin: PB12
sid_pin: PB15 # sclk_pin: PB13
encoder_pins: ^PB14, ^PB10 # sid_pin: PB15
click_pin: ^!PB2 # encoder_pins: ^PB14, ^PB10
# click_pin: ^!PB2
[bed_screws] [bed_screws]
screw1: 26.5, 31 screw1: 26.5, 31
@@ -212,12 +213,13 @@ speed: 50
horizontal_move_z: 10 horizontal_move_z: 10
screw_thread: CCW-M4 screw_thread: CCW-M4
[output_pin beeper] # NOTE The speaker will probably not work, since the LCD apparently doesn't work with Klipper
pin: PC6 # [output_pin beeper]
value: 0 # pin: PC6
shutdown_value: 0 # value: 0
pwm: True # shutdown_value: 0
cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz) # pwm: True
# cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)
[filament_switch_sensor filament_sensor] [filament_switch_sensor filament_sensor]
switch_pin: !PA4 # "Pulled-high" switch_pin: !PA4 # "Pulled-high"