Update ERCF config, to stable version
This commit is contained in:
parent
51fcdfc533
commit
837b7ea43f
3 changed files with 392 additions and 283 deletions
|
@ -45,13 +45,13 @@ gcode:
|
||||||
[gcode_macro RESUME]
|
[gcode_macro RESUME]
|
||||||
rename_existing: BASE_RESUME
|
rename_existing: BASE_RESUME
|
||||||
gcode:
|
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 You can't resume the print without unlocking the ERCF first.
|
||||||
M118 Run ERCF_UNLOCK and solve any issue before hitting Resume again
|
M118 Run ERCF_UNLOCK and solve any issue before hitting Resume again
|
||||||
{% else %}
|
{% else %}
|
||||||
RESTORE_GCODE_STATE NAME=PAUSE_state
|
RESTORE_GCODE_STATE NAME=PAUSE_state
|
||||||
G90
|
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
|
SET_FILAMENT_SENSOR SENSOR=encoder_sensor ENABLE=1
|
||||||
{% endif %}
|
{% endif %}
|
||||||
BASE_RESUME
|
BASE_RESUME
|
||||||
|
|
|
@ -1,43 +1,58 @@
|
||||||
## Enraged Rabbit : Carrot Feeder V1.1 hardware config file
|
## 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]
|
[manual_stepper gear_stepper]
|
||||||
step_pin: mcu2:PD8
|
step_pin: mcu2:PD8
|
||||||
dir_pin: mcu2:PB12
|
dir_pin: mcu2:PB12
|
||||||
enable_pin: !mcu2:PD9
|
enable_pin: !mcu2:PD9
|
||||||
rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
|
rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
|
||||||
gear_ratio: 80:20
|
gear_ratio: 80:20
|
||||||
microsteps: 16
|
microsteps: 16 # Please do not go higher than 16, this can cause 'MCU Timer too close' issues under Klipper
|
||||||
full_steps_per_rotation: 200
|
full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
|
||||||
velocity: 35
|
velocity: 35
|
||||||
accel: 150
|
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
|
#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
|
endstop_pin: mcu2:PB7
|
||||||
|
|
||||||
[tmc2209 manual_stepper gear_stepper]
|
[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
|
uart_pin: mcu2:PE15
|
||||||
interpolate: True
|
interpolate: True
|
||||||
run_current: 0.40
|
run_current: 0.40
|
||||||
hold_current: 0.1
|
hold_current: 0.1
|
||||||
sense_resistor: 0.110
|
sense_resistor: 0.110
|
||||||
|
stealthchop_threshold: 500
|
||||||
# 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
|
|
||||||
|
|
||||||
[tmc2209 manual_stepper selector_stepper]
|
[tmc2209 manual_stepper selector_stepper]
|
||||||
uart_pin: mcu2:PE7
|
uart_pin: mcu2:PE7
|
||||||
run_current: 0.55
|
run_current: 0.55
|
||||||
interpolate: True
|
interpolate: True
|
||||||
sense_resistor: 0.110
|
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
|
# Values are for the MG90S servo
|
||||||
[servo ercf_servo]
|
[servo ercf_servo]
|
||||||
|
@ -54,9 +69,9 @@ pins: mcu2:PA0
|
||||||
[filament_motion_sensor encoder_sensor]
|
[filament_motion_sensor encoder_sensor]
|
||||||
switch_pin: ^mcu2:PA0
|
switch_pin: ^mcu2:PA0
|
||||||
pause_on_runout: False
|
pause_on_runout: False
|
||||||
detection_length: 4.0
|
detection_length: 10.0
|
||||||
extruder: extruder
|
extruder: extruder
|
||||||
# runout_gcode: ERCF_ENCODER_MOTION_ISSUE
|
# runout_gcode: _ERCF_ENCODER_MOTION_ISSUE
|
||||||
|
|
||||||
[filament_switch_sensor toolhead_sensor]
|
[filament_switch_sensor toolhead_sensor]
|
||||||
pause_on_runout: False
|
pause_on_runout: False
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue