Update ERCF config, to stable version

This commit is contained in:
Carsten Schmiemann 2023-02-05 17:35:56 +01:00
parent 51fcdfc533
commit 837b7ea43f
3 changed files with 392 additions and 283 deletions

View file

@ -45,13 +45,13 @@ gcode:
[gcode_macro RESUME]
rename_existing: BASE_RESUME
gcode:
{% if printer["gcode_macro ERCF_PAUSE"].is_paused|int != 0 %}
{% if printer["gcode_macro _ERCF_PAUSE"].is_paused|int != 0 %}
M118 You can't resume the print without unlocking the ERCF first.
M118 Run ERCF_UNLOCK and solve any issue before hitting Resume again
{% else %}
RESTORE_GCODE_STATE NAME=PAUSE_state
G90
{% if printer["gcode_macro ERCF_VAR"].clog_detection|int == 1 %}
{% if printer["gcode_macro _ERCF_VAR"].clog_detection|int == 1 %}
SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=1
{% endif %}
BASE_RESUME

View file

@ -1,43 +1,58 @@
## Enraged Rabbit : Carrot Feeder V1.1 hardware config file
# Values are an example for voron 2.4 with 2 SKR1.4
# Carrot Feeder 5mm D-cut shaft
# Example for an SKR 1.4 Board (E1 on the XY mcu)
[manual_stepper gear_stepper]
step_pin: mcu2:PD8
dir_pin: mcu2:PB12
enable_pin: !mcu2:PD9
rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
gear_ratio: 80:20
microsteps: 16
full_steps_per_rotation: 200
microsteps: 16 # Please do not go higher than 16, this can cause 'MCU Timer too close' issues under Klipper
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
velocity: 35
accel: 150
#Right now no pin is used for the endstop, but we need to define one for klipper. So just use a random, not used pin
endstop_pin: mcu2:PB7
[tmc2209 manual_stepper gear_stepper]
# Adapt accordingly to your setup and desires
# The default values are tested with the BOM NEMA14 motor
# Please adapt those values to the motor you are using
# Example : for NEMA17 motors, you'll usually set the stealthchop_threshold to 0
# and use higher current
uart_pin: mcu2:PE15
interpolate: True
run_current: 0.40
hold_current: 0.1
sense_resistor: 0.110
# Carrot Feeder selector
[manual_stepper selector_stepper]
step_pin: mcu2:PE11
dir_pin: mcu2:PE10
enable_pin: !mcu2:PE9
microsteps: 16
rotation_distance: 40
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
velocity: 200
accel: 600
endstop_pin: mcu2:PA1
stealthchop_threshold: 500
[tmc2209 manual_stepper selector_stepper]
uart_pin: mcu2:PE7
run_current: 0.55
interpolate: True
sense_resistor: 0.110
stealthchop_threshold: 5000
stealthchop_threshold: 500
# Uncomment the lines below if you want to use sensorless homing for the selector
#diag_pin: ^P1.27 # Set to MCU pin connected to TMC DIAG pin
#driver_SGTHRS: 75 # 255 is most sensitive value, 0 is least sensitive
# Carrot Feeder selector
# Example for an SKR 1.4 Board (Z1 on the XY mcu)
[manual_stepper selector_stepper]
step_pin: mcu2:PE11
dir_pin: mcu2:PE10
enable_pin: !mcu2:PE9
microsteps: 16 # Please do not go higher than 16, this can cause 'MCU Timer too close' issues under Klipper
rotation_distance: 40
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
velocity: 200
accel: 600
# Select the endstop you want depending if you are using sensorless homing for the selector or not
endstop_pin: mcu2:PA1
#endstop_pin: tmc2209_selector_stepper:virtual_endstop
# Values are for the MG90S servo
[servo ercf_servo]
@ -54,9 +69,9 @@ pins: mcu2:PA0
[filament_motion_sensor encoder_sensor]
switch_pin: ^mcu2:PA0
pause_on_runout: False
detection_length: 4.0
detection_length: 10.0
extruder: extruder
# runout_gcode: ERCF_ENCODER_MOTION_ISSUE
# runout_gcode: _ERCF_ENCODER_MOTION_ISSUE
[filament_switch_sensor toolhead_sensor]
pause_on_runout: False

File diff suppressed because it is too large Load diff