-
Notifications
You must be signed in to change notification settings - Fork 0
/
trad_rack_easy_brd.cfg
87 lines (78 loc) · 2.1 KB
/
trad_rack_easy_brd.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[mcu tr]
serial: /dev/serial/by-id/usb-Klipper_samd21g18a_1FF5DA934134555020312E30111E18FF-if00
[trad_rack]
selector_max_velocity: 400
selector_max_accel: 10000
#toolhead_fil_sensor_pin: ^!PA1 # X-MAX endstop pin on SPIDER
lane_count: 10
lane_spacing: 17.0
servo_down_angle: 0.0
servo_up_angle: 180.0
selector_unload_length: 17.5
bowden_length: 600.0
extruder_load_length: 44.5
hotend_load_length: 6.0
toolhead_unload_length: 40.0
bowden_unload_length_mod: -30.0
buffer_pull_speed: 1000.0 # increase this to 300+ once you are ready
# (but some motors may not be able to handle this).
[stepper_tr_selector]
# connected to stepper_x
step_pin: tr:PA9
dir_pin: !tr:PB8
enable_pin: !tr:PA11
rotation_distance: 40
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^tr:PB9
position_min: -0.05
position_endstop: -0.05
position_max: 200 # (lane_count - 1) * lane_spacing
homing_speed: 30
[stepper_tr_fil_driver]
# connected to stepper_y
step_pin: tr:PA4
dir_pin: tr:PA10
enable_pin: !tr:PA2
rotation_distance: 22.67895
gear_ratio: 50:17
microsteps: 16
full_steps_per_rotation: 200
endstop_pin: ^tr:PA7 # selector filament sensor
position_min: -5000
position_endstop: 0
position_max: 5000
homing_positive_dir: False
[tmc2209 stepper_tr_selector]
# connected to stepper_x
uart_pin: tr:PA8
uart_address: 1
run_current: 0.4 # for a 1A peak motor
interpolate: True
sense_resistor: 0.110
[tmc2209 stepper_tr_fil_driver]
# connected to stepper_y
uart_pin: tr:PA8
uart_address: 0
interpolate: False
run_current: 0.5 # for a 2A peak motor
sense_resistor: 0.110
[servo tr_servo]
# connected to servo/bltouch control pin
pin: tr:PA5
maximum_servo_angle: 180
minimum_pulse_width: 0.000700
maximum_pulse_width: 0.002150
[extruder]
max_extrude_only_distance: 200
max_extrude_cross_section: 100
# Macros
[gcode_macro ACTIVATE_EXTRUDER]
rename_existing: ACTIVATE_EXTRUDER.1
gcode:
{% set EXTRUDER = params.EXTRUDER|default('extruder')|lower|replace('extruder', '') %}
{% if EXTRUDER == '' %}
{% set EXTRUDER = '0' %}
{% endif %}
TR_LOAD_TOOLHEAD LANE={EXTRUDER}
[include trad_rack_optional.cfg]