63 lines
1.5 KiB
INI
63 lines
1.5 KiB
INI
## Enraged Rabbit : Carrot Feeder V1.1 hardware config file
|
|
|
|
[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
|
|
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]
|
|
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
|
|
|
|
[tmc2209 manual_stepper selector_stepper]
|
|
uart_pin: mcu2:PE7
|
|
run_current: 0.55
|
|
interpolate: True
|
|
sense_resistor: 0.110
|
|
stealthchop_threshold: 5000
|
|
|
|
# Values are for the MG90S servo
|
|
[servo ercf_servo]
|
|
pin: mcu2:PA3
|
|
maximum_servo_angle: 180
|
|
minimum_pulse_width: 0.00085
|
|
maximum_pulse_width: 0.00215
|
|
|
|
[duplicate_pin_override]
|
|
pins: mcu2:PA0
|
|
# 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: ^mcu2:PA0
|
|
pause_on_runout: False
|
|
detection_length: 4.0
|
|
extruder: extruder
|
|
# runout_gcode: ERCF_ENCODER_MOTION_ISSUE
|
|
|
|
[filament_switch_sensor toolhead_sensor]
|
|
pause_on_runout: False
|
|
switch_pin: ^mcu2:PB13
|