klipper_config/ercf/hardware.cfg

75 lines
2 KiB
INI

## Enraged Rabbit : Carrot Feeder config file for ERCF EASY BRD v1.1
# This config sample assume you set the two J6 jumpers on 1-2 and 4-5, i.e. [..].[..]
# Carrot Feeder 5mm D-cut shaft
[manual_stepper gear_stepper]
step_pin: ercf:gpio7
dir_pin: !ercf:gpio8
enable_pin: !ercf:gpio6
rotation_distance: 22.6789511 # Bondtech 5mm Drive Gears
gear_ratio: 80:20
microsteps: 16
full_steps_per_rotation: 200
velocity: 35
accel: 100
endstop_pin: ercf:gpio13
[tmc2209 manual_stepper gear_stepper]
# Adapt accordingly to your setup and desires
# The default values are tested with the BOM NEMA14 motor
uart_pin: ercf:gpio9
interpolate: True
run_current: 0.6
hold_current: 0.1
sense_resistor: 0.110
stealthchop_threshold: 500
# diag_pin: ercf:gpio23
[manual_stepper selector_stepper]
step_pin: ercf:gpio2
dir_pin: !ercf:gpio1
enable_pin: !ercf:gpio3
microsteps: 16
rotation_distance: 40
full_steps_per_rotation: 200
velocity: 200
homing_speed: 100
accel: 600
# Select the endstop you want depending if you are using sensorless homing
# endstop_pin: ^ercf:PB9
endstop_pin: ercf:gpio20
#endstop_pin: tmc2209_selector_stepper:virtual_endstop
#endstop_pin: tmc5160_selector_stepper:virtual_endstop
[tmc2209 manual_stepper selector_stepper]
uart_pin: ercf:gpio0
run_current: 0.55
hold_current: 0.4
interpolate: True
sense_resistor: 0.110
stealthchop_threshold: 5000
# Uncomment the lines below if you want to use sensorless homing for the selector
# diag_pin: ^ercf:gpio22 # Set to MCU pin connected to TMC DIAG pin
# driver_SGTHRS: 75 # 255 is most sensitive value, 0 is least sensitive
# Values are for the MG90S servo
[servo ercf_servo]
pin: ercf:gpio21
maximum_servo_angle: 180
minimum_pulse_width: 0.00085
maximum_pulse_width: 0.00215
[duplicate_pin_override]
pins: ercf:gpio15
# Put there the pin used by the encoder and the filament_motion_sensor
# It has to be the same pin for those 3
[filament_motion_sensor encoder_sensor]
switch_pin: ^ercf:gpio15
pause_on_runout: False
detection_length: 10.0
extruder: extruder
# runout_gcode: _ERCF_ENCODER_MOTION_ISSUE