-
Notifications
You must be signed in to change notification settings - Fork 0
/
stepper.cfg
168 lines (155 loc) · 3.77 KB
/
stepper.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#####################################################################
# X/Y Stepper Settings
#####################################################################
## X Stepper on MOTOR0(B Motor)
[stepper_x]
step_pin: PF13
dir_pin: !PF12
enable_pin: !PF14
rotation_distance: 40
#microsteps: 16 #speedboat
microsteps: 64 #regular
full_steps_per_rotation: 400 #set to 400 for 0.9 degree stepper
#endstop_pin: PG6
endstop_pin: tmc2209_stepper_x:virtual_endstop
position_min: 0
position_endstop: 294
position_max: 294
homing_speed: 25 #Max 100
homing_retract_dist: 0
#homing_retract_dist: 5
homing_positive_dir: true
[tmc2209 stepper_x]
uart_pin: PC4
diag_pin: ^PG6 # use the same pin that was previously the endstop_pin!
driver_SGTHRS: 115
interpolate: false
#run_current: 1.4 #speedboat
run_current: 1 #regular
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0
#driver_TBL: 1
#driver_TOFF: 3
#driver_HEND: 1
#driver_HSTRT: 4
#driver_PWM_AUTOGRAD: True
#driver_PWM_AUTOSCALE: True
#driver_PWM_LIM: 11
#driver_PWM_REG: 6
#driver_PWM_FREQ: 2
#driver_PWM_GRAD: 10
#driver_PWM_OFS: 36
## Y Stepper on MOTOR1 (A Motor)
[stepper_y]
step_pin: PG0
dir_pin: PG1
enable_pin: !PF15
rotation_distance: 40
#microsteps: 16 #speedboat
microsteps: 64 #regular
full_steps_per_rotation: 400 #set to 400 for 0.9 degree stepper
#endstop_pin: PG9
endstop_pin: tmc2209_stepper_y:virtual_endstop
position_min: 0
position_endstop: 308
position_max: 308
homing_speed: 25 #Max 100
homing_retract_dist: 0
#homing_retract_dist: 5
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin: PD11
diag_pin: ^PG9 # use the same pin that was previously the endstop_pin!
driver_SGTHRS: 115 # 255 is most sensitive value, 0 is least sensitive
interpolate: false
#run_current: 1.4 #speedboat
run_current: 1 #regular
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0
#driver_TBL: 1
#driver_TOFF: 3
#driver_HEND: 1
#driver_HSTRT: 4
#driver_PWM_AUTOGRAD: True
#driver_PWM_AUTOSCALE: True
#driver_PWM_LIM: 11
#driver_PWM_REG: 6
#driver_PWM_FREQ: 2
#driver_PWM_GRAD: 10
#driver_PWM_OFS: 36
#####################################################################
# Z Stepper Settings
#####################################################################
## Z0 Stepper - Front Left on MOTOR2_1
[stepper_z]
step_pin: PF11
dir_pin: PG3
enable_pin: !PG5
rotation_distance: 40
gear_ratio: 80:16
microsteps: 64
endstop_pin: PG10
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below
## Increasing position_endstop brings nozzle closer to the bed
## After you run Z_ENDSTOP_CALIBRATE, position_endstop will be stored at the very end of your config
position_endstop: 0
position_max: 300
position_min: -5
homing_speed: 8
second_homing_speed: 3
homing_retract_dist: 3
[tmc2209 stepper_z]
uart_pin: PC6
interpolate: false
run_current: 1.2
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0
## Z1 Stepper - Rear Left on MOTOR3
[stepper_z1]
step_pin: PG4
dir_pin: !PC1
enable_pin: !PA0
rotation_distance: 40
gear_ratio: 80:16
microsteps: 64
[tmc2209 stepper_z1]
uart_pin: PC7
interpolate: false
run_current: 1.2
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0
## Z2 Stepper - Rear Right on MOTOR4
[stepper_z2]
step_pin: PF9
dir_pin: PF10
enable_pin: !PG2
rotation_distance: 40
gear_ratio: 80:16
microsteps: 64
[tmc2209 stepper_z2]
uart_pin: PF2
interpolate: false
run_current: 1.2
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0
## Z3 Stepper - Front Right on MOTOR5
[stepper_z3]
step_pin: PC13
dir_pin: !PF0
enable_pin: !PF1
rotation_distance: 40
gear_ratio: 80:16
microsteps: 64
[tmc2209 stepper_z3]
uart_pin: PE4
interpolate: false
run_current: 1.2
#hold_current: 0.6
sense_resistor: 0.110
stealthchop_threshold: 0