-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprinter.cfg
More file actions
356 lines (319 loc) · 7.3 KB
/
Copy pathprinter.cfg
File metadata and controls
356 lines (319 loc) · 7.3 KB
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
## Micron Fysetc Spider TMC2209 USB config
[include fluidd.cfg]
[include autoz.cfg]
[include probe.cfg]
[include led.cfg]
[include macros.cfg]
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_2E000C000150563046353420-if00
[printer]
kinematics: corexy
max_velocity: 1000
max_accel: 4000
max_z_velocity: 20
max_z_accel: 350
square_corner_velocity: 5.0
[bed_mesh]
speed: 120
horizontal_move_z: 15
mesh_min: 30,30
mesh_max: 90, 90
probe_count: 5,5
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
## Connected to X-MOT (B Motor)
step_pin: PE11
dir_pin: PE10
enable_pin: !PE9
rotation_distance: 32
microsteps: 16
full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin: ^PB14
position_min: 0
position_endstop: 115
position_max: 115
homing_speed: 50
homing_retract_dist: 5
homing_positive_dir: True
[tmc2209 stepper_x]
uart_pin: PE7
interpolate: True
run_current: 0.65
hold_current: 0.35
sense_resistor: 0.110
stealthchop_threshold: 500
[stepper_y]
## Connected to Y-MOT (A Motor)
step_pin: PD8
dir_pin: PB12
enable_pin: !PD9
rotation_distance: 32
microsteps: 16
full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper
endstop_pin: ^PB13
position_min: 0
position_endstop: 125
position_max: 125
homing_speed: 50
homing_retract_dist: 5
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin: PE15
interpolate: True
run_current: 0.65
hold_current: 0.35
sense_resistor: 0.110
stealthchop_threshold: 500
#####################################################################
# Z Stepper Settings
#####################################################################
## Z0 Stepper - Front Left
[stepper_z]
step_pin: PD14
dir_pin: PD13
enable_pin: !PD15
rotation_distance: 32
gear_ratio: 60:20
microsteps: 16
endstop_pin: ^PA0
position_max: 120
position_min: -5
homing_speed: 10
second_homing_speed: 25
homing_retract_dist: 3
[tmc2209 stepper_z]
uart_pin: PD10
uart_address: 0
interpolate: true
run_current: 0.8
hold_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 10
## Z1 Stepper - Rear Left
[stepper_z1]
step_pin: PE6
dir_pin: !PC13
enable_pin: !PE5
rotation_distance: 32
gear_ratio: 60:20
microsteps: 16
[tmc2209 stepper_z1]
uart_pin: PC14
interpolate: true
run_current: 0.8
hold_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 10
## Z2 Stepper - Rear Right
[stepper_z2]
step_pin: PE2
dir_pin: PE4
enable_pin: !PE3
rotation_distance: 32
gear_ratio: 60:20
microsteps: 16
[tmc2209 stepper_z2]
uart_pin: PC15
interpolate: true
run_current: 0.8
hold_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 10
## Z3 Stepper - Front Right
[stepper_z3]
step_pin: PD12
dir_pin: !PC4
enable_pin: !PE8
rotation_distance: 32
gear_ratio: 60:20
microsteps: 16
[tmc2209 stepper_z3]
uart_pin: PA15
interpolate: true
run_current: 0.8
hold_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 10
#####################################################################
# Extruder
#####################################################################
# E0 on MCU X/Y
[extruder]
step_pin: PD5
dir_pin: !PD6
enable_pin: !PD4
full_steps_per_rotation: 400
rotation_distance: 22.23
gear_ratio: 50:10
microsteps: 16
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB15
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC0
#control: pid
#pid_Kp: 28.182
#pid_Ki: 1.978
#pid_Kd: 100.397
min_temp: 0
max_temp: 270
min_extrude_temp: 170
max_extrude_only_distance: 780.0
max_extrude_cross_section: 0.8
pressure_advance: 0.0
pressure_advance_smooth_time: 0.040
[tmc2209 extruder]
uart_pin: PD7
interpolate: True
run_current: 0.35
hold_current: 0.25
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: PB4
sensor_type: NTC 100K beta 3950
sensor_pin: PC3
max_power: 1
min_temp: 0
max_temp: 120
#control: pid
#pid_kp: 58.437
#pid_ki: 2.347
#pid_kd: 363.769
#####################################################################
# Add drop first probe to klipper commands
#####################################################################
#cd ~/klipper
#git remote add skip-first-probe https://github.com/ctso/klipper.git
#git fetch skip-first-probe
#sudo service klipper stop
#git cherry-pick 75beccd22a70b49b50ae20391b5c0054113eb7b7
#sudo service klipper start
[probe]
pin: ^PA3
x_offset: 0
y_offset: 26
#z_offset: 0
speed: 10
samples: 3
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.01
samples_tolerance_retries: 10
drop_first_result: true
#####################################################################
# Fan Control
#####################################################################
[heater_fan hotend_fan]
pin: PB0
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50.0
[fan]
pin: PB1
kick_start_time: 0.5
off_below: 0.10
[heater_fan controller_fan]
pin: PB2
max_power: 1.0
kick_start_time: 0.5
heater: heater_bed
heater_temp: 45.0
###################################
######## PI Temperature ###########
###################################
[temperature_sensor RPi]
sensor_type: rpi_temperature
min_temp: 10
max_temp: 100
gcode_id: PI
###################################
######## MCU Temperature ##########
###################################
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
#####################################################################
# LED Control
#####################################################################
#[output_pin caselight ]
## Chamber Lighting - In 5V-RGB Position
#pin: PD3
#pwm: true
#shutdown_value: 0
#value:100
#cycle_time: 0.01
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 7200
[quad_gantry_level]
gantry_corners:
-35,0
150,177
# Probe points
points:
5,5
5,60
110,60
110,5
speed: 100
horizontal_move_z: 15
retries: 5
retry_tolerance: 0.0075
max_adjust: 10
## Thermistor Types
## "EPCOS 100K B57560G104F"
## "ATC Semitec 104GT-2"
## "NTC 100K beta 3950"
## "Honeywell 100K 135-104LAG-J01"
## "NTC 100K MGB18-104F39050L32" (Keenovo Heater Pad)
## "AD595"
## "PT100 INA826"
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 32.226
#*# pid_ki = 1.761
#*# pid_kd = 147.432
#*#
#*# [stepper_z]
#*# position_endstop = -0.200
#*#
#*# [probe]
#*# z_offset = 8.950
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 50.814
#*# pid_ki = 1.479
#*# pid_kd = 436.366
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -1.636667, -1.656667, -1.670000, -1.666667, -1.660000
#*# -1.600000, -1.630000, -1.636667, -1.650000, -1.643333
#*# -1.586667, -1.616667, -1.633333, -1.633333, -1.630000
#*# -1.580000, -1.600000, -1.623333, -1.626667, -1.633333
#*# -1.563333, -1.583333, -1.610000, -1.620000, -1.620000
#*# tension = 0.2
#*# min_x = 30.0
#*# algo = lagrange
#*# y_count = 5
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 5
#*# max_y = 90.0
#*# mesh_x_pps = 2
#*# max_x = 90.0