-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter.cfg
474 lines (415 loc) · 17.3 KB
/
printer.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
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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
##########################
##### BASE CONFIG #######
##########################
[include mainsail.cfg]
[include ./backup/backup.cfg]
##########################
##### HARDWARE STUFF #####
##########################
[include ./hardware/xyz-stepper.cfg]
[include ./hardware/extruder.cfg]
[include ./hardware/fans.cfg] # Some fans config in canbus.cfg
[include ./hardware/canbus.cfg]
##########################
##### LIGHTS #############
##########################
[include ./hardware/led.cfg]
##########################
##### CALIBRATION ########
##########################
[include ./calibration/z-tilt.cfg]
[include ./calibration/bed-mesh.cfg]
[include ./macros/unsafe.cfg]
[include ./calibration/pressure_advance.cfg]
[include ./calibration/test_speed.cfg]
[include ./calibration/homing.cfg]
[include ./calibration/test_probe_accuracy.cfg]
[include K-ShakeTune/*.cfg]
##########################
##### MACROS #############
##########################
[include ./macros/chamber-led.cfg]
[include ./macros/conditional-homing.cfg]
[include ./macros/print-end.cfg]
[include ./macros/print-start-mmu.cfg]
[include ./macros/print-start.cfg]
[include ./macros/dump-variables.cfg]
[include ./macros/movement-check.cfg]
[include ./macros/cancel-change.cfg]
[include ./macros/pause-resume.cfg] ; Overridden by ERCF / subsequantly disabled
[include ./macros/load-unload.cfg]
[include ./macros/filament-change.cfg]
[include ./macros/park.cfg]
[include ./macros/heatsoak.cfg]
[include ./macros/line-purge.cfg]
#[include ./macros/nozzle_scrub.cfg]
##########################
##### THIRD PARTY ########
##########################
#[include KAMP_Settings.cfg]
#[include ./KOMB/KOMB.cfg]
#[include .macros/klippain-variables.cfg]
##########################
##### ERCF ###############
##########################
[include mmu/base/mmu.cfg]
[include mmu/base/mmu_hardware.cfg]
[include mmu/base/mmu_software.cfg]
[include mmu/base/mmu_parameters.cfg]
[include mmu/base/mmu_sequence.cfg]
[include mmu/base/mmu_form_tip.cfg]
[include mmu/base/mmu_leds.cfg]
[include mmu/base/mmu_macro_vars.cfg]
[include mmu/base/mmu_state.cfg]
[include mmu/base/mmu_cut_tip.cfg]
#[include mmu/optional/mmu_menu.cfg]
[include ./macros/mmu_adds.cfg]
#[include mmu/addons/mmu_erec_cutter_hw.cfg]
#[include mmu/addons/mmu_erec_cutter.cfg]
##########################
##### LCD/MENU ###########
##########################
##########################
##### NOT ENABLED YET ####
##########################
##########################
#### REPLACEMENT #########
##########################
[include ./replacement_macros/replace-m117.cfg]
[exclude_object]
[gcode_arcs]
resolution: 0.1
[respond]
default_type: echo
default_prefix:
[force_move]
# Enable commands that force potentially unsafe movement
enable_force_move: True
[idle_timeout]
timeout: 14400
[mcu]
## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_290040000750314D35323820-if00
restart_method: command
[mcu rpi]
# Add Rpi as secondary MCU to allow for ADXL use through SPI ribbon/adapter from LDO
serial: /tmp/klipper_host_mcu
[mcu sht]
canbus_uuid: f4416bafceb2 # FLY-SHT36 v2 Ordered from Etsy on 2/12/24
#[mcu mmb] See MMU.CFG in ERCF Confog
#canbus_uuid: a7f4653c0a73
[printer]
kinematics: corexy # TESTING HIGHER SPEEDS ON 2/7/24 DUE TO SLICER SLOWWWWWWWW / ALSO SET IN PRINT START
max_velocity: 350 # Changed from 200 on 7.11.23
max_accel: 6000 # tuned on 7.11.23 after beacon install.
#max_accel_to_decel:5000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0 # Changed on 7.11.23
#####################################################################
# Input Shaper
#####################################################################
[input_shaper]
shaper_freq_x: 71.0
shaper_type_x: mzv # 14900
shaper_freq_y: 47.8
shaper_type_y: mzv # 6700
damping_ratio_x: 0.043
damping_ratio_y: 0.055
# Not Noisy: 20-22.5 / 60.6-96.7 / 30.2-48 / 111.4-200 mm/s
#####################################################################
# Axis Twist
#####################################################################
[axis_twist_compensation]
#speed: 50
# The speed (in mm/s) of non-probing moves during the calibration.
# The default is 50.
#horizontal_move_z: 5
# The height (in mm) that the head should be commanded to move to
# just prior to starting a probe operation. The default is 5.
calibrate_start_x: 20
# Defines the minimum X coordinate of the calibration
# This should be the X coordinate that positions the nozzle at the starting
# calibration position. This parameter must be provided.
calibrate_end_x: 230
# Defines the maximum X coordinate of the calibration
# This should be the X coordinate that positions the nozzle at the ending
# calibration position. This parameter must be provided.
calibrate_y: 127.5
# Defines the Y coordinate of the calibration
# This should be the Y coordinate that positions the nozzle during the
# calibration process. This parameter must be provided and is recommended to
# be near the center of the bed
#####################################################################
# AutoTune / https://github.com/andrewmcgr/klipper_tmc_autotune
#####################################################################
#[motor_constants ldo-42sth48-2004mah_vrn]
#resistance: 1.45
#inductance: 0.002
#holding_torque: 0.40
#max_current: 2.0
#steps_per_revolution: 400
#[autotune_tmc stepper_x]
#motor: ldo-42sth48-2004mah_vrn
#sg4_thrs: 105
#tuning_goal: silent
#[autotune_tmc stepper_y]
#motor: ldo-42sth48-2004mah_vrn
#tuning_goal: silent
#[autotune_tmc stepper_z]
#motor: ldo-42sth40-1684l300e
#[autotune_tmc stepper_z1]
#motor: ldo-42sth40-1684l300e
#[autotune_tmc stepper_z2]
#motor: ldo-42sth40-1684l300e
#[autotune_tmc extruder]
#motor: moons-cse14hra1l410a
#####################################################################
# Bed Heater
#####################################################################
## SSR Pin - HE1
## Thermistor - TB
[heater_bed]
heater_pin: PA2 #PA2 is LDO default
sensor_type: ATC Semitec 104NT-4-R025H42G
sensor_pin: PF3
## Adjust Max Power so your heater doesn't warp your bed. Rule of thumb is 0.4 watts / cm^2 .
max_power: 1
min_temp: 0
max_temp: 125
#control: pid
#pid_kp: 58.437
#pid_ki: 2.347
#pid_kd: 363.769
#####################################################################
# TEMPORARY
#####################################################################
## WAS TAP - NOW BEACON in CANBUS
#[beacon]
#serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3.4:1.0
#serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3.4:1.0
# Path to the serial port for the beacon device. Typically has the form
# /dev/serial/by-id/usb-Beacon_Beacon_...
#speed: 5
# Z probing dive speed.
#lift_speed: 10
# Z probing lift speed.
#backlash_comp: 0.5
# Backlash compensation distance for removing Z backlash before measuring
# the sensor response.
#x_offset: 0.
# X offset of beacon from the nozzle.
#y_offset: 21.953
# Y offset of beacon from the nozzle.
#z_settling_time: 1000
# Time to wait after dropping Z to read to avoid ringing.
#trigger_distance: 2.
# Beacon trigger distance for homing.
#trigger_dive_threshold: 1.
# Threshold for range vs dive mode probing. Beyond `trigger_distance +
# trigger_dive_threshold` a dive will be used.
#trigger_hysteresis: 0.006
# Hysteresis on trigger threshold for untriggering, as a percentage of the
# trigger threshold.
#cal_nozzle_z: 0.1
# Expected nozzle offset after completing manual Z offset calibration.
#cal_floor: 0.2
# Minimum z bound on sensor response measurement.
#cal_ceil: 5.
# Maximum z bound on sensor response measurement.
#cal_speed: 1.
# Speed while measuring response curve.
#cal_move_speed: 10.
# Speed while moving to position for response curve measurement.
#default_model_name: default
# Name of default beacon model to load.
#mesh_main_direction: x
# Primary travel direction during mesh measurement.
#mesh_overscan: -1
# Distance to use for direction changes at mesh line ends. Omit this setting
# and a default will be calculated from line spacing and available travel.
#mesh_cluster_size: 1
# Radius of mesh grid point clusters.
#mesh_runs: 2
# Number of passes to make during mesh scan.
#####################################################################
# TEMPORARY
#####################################################################
# Connected to MOTOR_6
# Heater - HE0
# Thermistor - T0
#[extruder]
#step_pin: PE2
#dir_pin: PE3
#enable_pin: !PD4
## Update value below when you perform extruder calibration
## If you ask for 100mm of filament, but in reality it is 98mm:
## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
## 22.6789511 is a good starting point
#rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears
## Update Gear Ratio depending on your Extruder Type
## Use 50:10 for Stealthburner/Clockwork 2
## Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)
## Use 80:20 for M4, M3.1
#gear_ratio: 50:10
#microsteps: 32
#full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree
#nozzle_diameter: 0.400
#filament_diameter: 1.75
## Octopus 1.0 & 1.1. Octopus PRO 1.0
#heater_pin: PA2
## Octopus PRO 1.1
#heater_pin: PA0
## Check what thermistor type you have. See https://www.klipper3d.org/Config_Reference.html#common-thermistors for common thermistor types.
## Use "Generic 3950" for NTC 100k 3950 thermistors
#sensor_type: ATC Semitec 104NT-4-R025H42G
#sensor_pin: PF4
#heater_pin: PA1 #PA1 is LDO default
#min_temp: -273.15
#max_temp: 99999999
#max_power: 1.0
#min_temp: -273.15
#control = pid
#pid_kp = 26.213
#pid_ki = 1.304
#pid_kd = 131.721
## Try to keep pressure_advance below 1.0
#pressure_advance: 0.05
## Default is 0.040, leave stock
#pressure_advance_smooth_time: 0.040
## E0 on MOTOR6
## Make sure to update below for your relevant driver (2208 or 2209)
#[tmc2209 extruder]
#uart_pin: PE1
#interpolate: false
#run_current: 0.5
#sense_resistor: 0.110
#stealthchop_threshold: 0
#####################################################################
# Additional Sensors
#####################################################################
[thermistor CMFB103F3950FANT]
temperature1: 0.0
resistance1: 32116.0
temperature2: 40.0
resistance2: 5309.0
temperature3: 80.0
resistance3: 1228.0
#[temperature_sensor sb_ambient_temp]
## Chamber Temperature - T1
#sensor_type: CMFB103F3950FANT
#sensor_pin: PF5
#min_temp: 0
#max_temp: 100
#gcode_id: chamber_th
[temperature_sensor back_chamber_temp]
## Chamber Temperature - T
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PF6
min_temp: 0
max_temp: 100
gcode_id: chamber_th2
[temperature_sensor RPi4]
sensor_type: temperature_host
min_temp: 0
max_temp: 100
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=PE8, EXP1_2=PE7,
EXP1_3=PE9, EXP1_4=PE10,
EXP1_5=PE12, EXP1_6=PE13, # Slot in the socket on this side
EXP1_7=PE14, EXP1_8=PE15,
EXP1_9=<GND>, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PA6, EXP2_2=PA5,
EXP2_3=PB1, EXP2_4=PA4,
EXP2_5=PB2, EXP2_6=PA7, # Slot in the socket on this side
EXP2_7=PC15, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<5V>
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 39.889
#*# pid_ki = 0.964
#*# pid_kd = 412.851
#*#
#*# [beacon model default]
#*# model_coef = 1.430682862202608,
#*# 1.7426261251845159,
#*# 0.7493054686432258,
#*# 0.3671462912205665,
#*# 0.3673759108608409,
#*# 0.36730640524045816,
#*# -0.14887469220940763,
#*# -0.2738865212178682,
#*# 0.20148733956348108,
#*# 0.19954738301836653
#*# model_domain = 3.141941022191752e-07,3.328282656219529e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 85.769294
#*# model_offset = -0.12000
#*#
#*# [beacon model pei_hot]
#*# model_coef = 1.9263519575030055,
#*# 2.1946743347503372,
#*# 0.6208794249910773,
#*# 0.2775896555222557,
#*# 0.06526221562750463,
#*# -0.2611119885640586,
#*# -0.05461829170887029,
#*# 0.36810740679885895,
#*# 0.05685001457152785,
#*# -0.15547240310186372
#*# model_domain = 3.351987055417817e-07,3.359664588035842e-07
#*# model_range = 0.200000,5.000000
#*# model_temp = 63.925584
#*# model_offset = 0.00000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.000344, -0.008090, -0.009200, -0.004199, -0.000330, 0.004818, 0.007764, 0.009231, 0.003637, 0.006487, 0.004886, -0.001488, -0.004822, -0.000172, -0.002859, -0.015557, -0.014605, -0.006855, -0.001757, -0.000341
#*# 0.000807, -0.003844, 0.001053, -0.000576, 0.006359, 0.010230, 0.012513, 0.010463, 0.003938, 0.004196, 0.005105, -0.002415, -0.006036, -0.001509, -0.006036, -0.017178, -0.016439, -0.009545, -0.007229, -0.005704
#*# 0.003258, -0.000979, -0.000532, -0.001432, 0.004571, 0.007430, 0.010991, 0.009379, 0.001755, 0.000323, 0.003010, -0.006558, -0.009548, -0.003827, -0.008934, -0.021673, -0.020521, -0.014071, -0.010632, -0.012386
#*# -0.007476, -0.006189, -0.004234, -0.003649, 0.000454, 0.002565, 0.005740, 0.002624, -0.003256, -0.005795, -0.004972, -0.013203, -0.016953, -0.014776, -0.014801, -0.021703, -0.026235, -0.021901, -0.017909, -0.018683
#*# -0.004265, -0.011870, -0.011308, -0.009299, -0.005835, -0.001008, 0.001307, -0.001270, -0.008383, -0.009383, -0.008896, -0.017346, -0.022114, -0.016710, -0.018786, -0.027288, -0.029535, -0.027862, -0.023481, -0.024389
#*# -0.000447, -0.007367, -0.008498, -0.009459, -0.004465, 0.001632, 0.004731, -0.000154, -0.008696, -0.007316, -0.006936, -0.015261, -0.018322, -0.013242, -0.020293, -0.023958, -0.024518, -0.022573, -0.019624, -0.022709
#*# -0.006376, -0.011238, -0.011085, -0.012303, -0.007870, -0.000377, 0.002667, -0.000611, -0.009652, -0.007270, -0.007789, -0.014047, -0.019126, -0.014979, -0.019803, -0.029382, -0.028202, -0.024595, -0.020230, -0.021086
#*# -0.007756, -0.011590, -0.013520, -0.013915, -0.010956, -0.003473, -0.000609, -0.003957, -0.011887, -0.009690, -0.009204, -0.016245, -0.020404, -0.017487, -0.020712, -0.032367, -0.030228, -0.024066, -0.021642, -0.024618
#*# -0.006972, -0.010531, -0.012664, -0.013981, -0.008623, -0.001927, -0.001144, -0.005287, -0.011266, -0.009911, -0.007520, -0.014020, -0.018508, -0.014705, -0.017905, -0.027912, -0.028377, -0.024913, -0.015661, -0.023540
#*# -0.001614, -0.006473, -0.008796, -0.008757, -0.003997, 0.002781, 0.003551, -0.002927, -0.008166, -0.005529, -0.003066, -0.009680, -0.014484, -0.009887, -0.012469, -0.022337, -0.028083, -0.022846, -0.016216, -0.018573
#*# 0.001990, -0.004584, -0.006472, -0.005342, 0.000515, 0.004674, 0.005388, 0.001301, -0.005499, -0.003266, 0.000226, -0.006849, -0.013234, -0.007814, -0.008958, -0.018897, -0.022049, -0.017392, -0.016984, -0.019600
#*# -0.000162, -0.007535, -0.008400, -0.007637, -0.002374, 0.002786, 0.005284, 0.001360, -0.004757, -0.004710, -0.000575, -0.007287, -0.013648, -0.007834, -0.007996, -0.020727, -0.022355, -0.022920, -0.019197, -0.019205
#*# -0.005990, -0.011720, -0.009911, -0.008585, -0.006128, 0.001710, 0.003647, -0.000739, -0.005788, -0.004298, 0.000074, -0.005675, -0.012664, -0.007518, -0.007707, -0.018648, -0.018857, -0.015551, -0.018450, -0.017560
#*# -0.008973, -0.015596, -0.012171, -0.011378, -0.008889, -0.000039, 0.001836, -0.002046, -0.006379, -0.003805, -0.000037, -0.007431, -0.013371, -0.006497, -0.006962, -0.018844, -0.017856, -0.014203, -0.014992, -0.013615
#*# -0.015853, -0.022322, -0.020484, -0.018889, -0.015738, -0.008297, -0.007259, -0.008426, -0.013091, -0.011386, -0.007824, -0.014093, -0.020331, -0.013232, -0.013633, -0.024347, -0.025944, -0.023220, -0.021140, -0.021985
#*# -0.016817, -0.022948, -0.022310, -0.020387, -0.018018, -0.010437, -0.009856, -0.010741, -0.015219, -0.013000, -0.010458, -0.015952, -0.021320, -0.012997, -0.014647, -0.025625, -0.027654, -0.023285, -0.023034, -0.023831
#*# -0.015066, -0.021817, -0.020389, -0.018999, -0.015971, -0.007276, -0.004292, -0.006301, -0.012058, -0.010275, -0.007097, -0.013017, -0.018027, -0.012672, -0.013498, -0.024154, -0.023733, -0.020140, -0.019160, -0.020165
#*# -0.017333, -0.022985, -0.021594, -0.019030, -0.013880, -0.007677, -0.003714, -0.005420, -0.010888, -0.009891, -0.004828, -0.011374, -0.017530, -0.012897, -0.013895, -0.023836, -0.022405, -0.017957, -0.016493, -0.021288
#*# -0.024625, -0.029083, -0.029498, -0.027794, -0.020089, -0.014588, -0.010224, -0.010739, -0.015938, -0.015577, -0.011025, -0.018618, -0.024856, -0.020777, -0.022974, -0.030143, -0.031381, -0.028177, -0.026700, -0.028310
#*# -0.028091, -0.032874, -0.031503, -0.030885, -0.023388, -0.017218, -0.012655, -0.014001, -0.018135, -0.017200, -0.013148, -0.023271, -0.028583, -0.023694, -0.025997, -0.031775, -0.031895, -0.031120, -0.029739, -0.032155
#*# x_count = 20
#*# y_count = 20
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 21.0
#*# max_x = 224.0
#*# min_y = 21.0
#*# max_y = 224.0
#*#
#*# [axis_twist_compensation]
#*# z_compensations = -0.034952, 0.004580, 0.030372
#*# compensation_start_x = 20.0
#*# compensation_end_x = 230.0