-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer-20240208_192228.cfg
549 lines (449 loc) · 11.7 KB
/
printer-20240208_192228.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
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
[include shell_command.cfg]
#V400 Nano 2.0
########################################
# Included Files
########################################
[include macros.cfg]
[include timelapse.cfg] #Enable if you want to use Timelapse
[include neopixels.cfg] #Enable if you want to use Neopixels
[include calibration.cfg] #Calibration macros
[include config_backup.cfg]
#[include pisadxl.cfg] #Enable if you want to use ADXL with Fysetc Portable Input Shaper
[save_variables]
filename: ~/printer_data/config/variables.cfg
[gcode_arcs]
resolution: 0.1
# An arc will be split into segments. Each segment's length will
# equal the resolution in mm set above. Lower values will produce a
# finer arc, but also more work for your machine. Arcs smaller than
# the configured value will become straight lines. The default is
# 1mm.
[pause_resume]
[display_status]
[respond]
# Enable object exclusion
[exclude_object]
[virtual_sdcard]
path: ~/printer_data/gcodes
########################################
# Printer & MCU Settings
########################################
[printer]
kinematics: delta
max_velocity: 600
#max_accel: 10000
max_accel: 30000
max_accel_to_decel: 15000
square_corner_velocity: 10
max_z_velocity: 80
max_z_accel: 1500
print_radius: 152
minimum_z_position: -25
#delta_radius: 152
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[idle_timeout]
timeout: 1800
gcode =
{% if printer.pause_resume.is_paused %}
M104 S0
{% else %}
TURN_OFF_HEATERS
#M84
{% endif %}
########################################
# Input Shaper Settings
########################################
#[input_shaper] #1.1% vibr at 15k
#shaper_freq_x: 52.2
#shaper_type_x = zv
#shaper_freq_y: 53.0
#shaper_type_y = zv
[input_shaper] #0% vibr 9.6k max
shaper_freq_x: 57.2
shaper_type_x: mzv
shaper_freq_y: 57.2
shaper_type_y: mzv
[firmware_retraction]
retract_length: 0.8
retract_speed: 35
unretract_extra_length: 0
unretract_speed: 35
########################################
# X Stepper Motor & Driver Settings config
########################################
[stepper_a]
step_pin: PE3
dir_pin: PE2
enable_pin: !PE4
microsteps: 64
#microsteps: 16 # Enable this and, disable 64 to run input shaper in some cases klipper will report a error with the adxl just run the shaper_calibrate command again.
rotation_distance: 40
endstop_pin: ^PA15
homing_speed: 60
homing_retract_dist: 0
#position_endstop: 415
#arm_length: = 345
[tmc2209 stepper_a]
uart_pin: PD5
run_current: 1.5
hold_current: 0.5
driver_HSTRT: 0
driver_HEND: 3
sense_resistor: 0.110
interpolate: False
stealthchop_threshold: 0
########################################
# Y Stepper Motor & Driver Settings
########################################
[stepper_b]
step_pin: PE0
dir_pin: PB9
enable_pin: !PE1
microsteps: 64
#microsteps: 16 # Enable this and, disable 64 to run input shaper.
rotation_distance: 40
endstop_pin: ^PA12
homing_speed: 60
homing_retract_dist: 0
[tmc2209 stepper_b]
uart_pin: PD7
run_current: 1.5
hold_current: 0.5
driver_HSTRT: 0
driver_HEND: 3
sense_resistor: 0.110
interpolate: False
stealthchop_threshold: 0
########################################
# Z Stepper Motor & Driver Settings
########################################
[stepper_c]
step_pin: PB5
dir_pin: PB4
enable_pin: !PB8
microsteps: 64
#microsteps: 16 # Enable this and, disable 64 to run input shaper.
rotation_distance: 40
endstop_pin: ^PC4
homing_speed: 60
homing_retract_dist: 0
[tmc2209 stepper_c]
uart_pin: PD4
run_current: 1.5
hold_current: 0.5
driver_HSTRT: 0
driver_HEND: 3
sense_resistor: 0.110
interpolate: False
stealthchop_threshold: 0
########################################
# Extruder & Driver Settings
########################################
[extruder]
step_pin: PD6
dir_pin: !PD3 # motor direction pin
enable_pin: !PB3
microsteps: 16
gear_ratio: 50:10
rotation_distance: 22.667233 #22.67895 # 4.5 # E-Steps Extruder (rotation_distance) --> [extruder] section --> <rotation_distance> = <full_steps_per_rotation> * <microsteps> / <steps_per_mm>
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC3
sensor_type: ATC Semitec 104NT-4-R025H42G #EPCOS 100K B57560G104F
#sensor_type: flsun_thermistor #Generic 3950
sensor_pin: PC1
#smooth_time: 0.2
min_temp: -5 # extruder min temp
max_temp: 315 # extruder max temp-15c
max_extrude_cross_section:50 #0.640
max_extrude_only_distance: 800
instantaneous_corner_velocity: 1000
max_extrude_only_accel: 1000
max_extrude_only_velocity: 75.0
pressure_advance: 0.06 # CHT pla
pressure_advance_smooth_time : 0.05
#control = pid
#pid_kp = 18.646
#pid_ki = 0.949
#pid_kd = 91.600
[tmc2209 extruder]
uart_pin: PD9
run_current: 0.900
hold_current: 0.01
stealthchop_threshold: 999999
##interpolate: false
########################################
# Bed Settings
########################################
[heater_bed]
heater_pin: PA0
sensor_pin: PC0
sensor_type: EPCOS 100K B57560G104F
min_temp: -5
max_temp: 120
#control = pid
#pid_kp = 74.957
#pid_ki = 2.524
#pid_kd = 556.559
########################################
# Filament Sensor Settings
########################################
[filament_switch_sensor filament_sensor]
pause_on_runout: True
runout_gcode:
PAUSE
M400 #Wait for current moves to finish:
M117 Ejecting remaining filament
G0 E-0.5 F300
G0 E-51F1200 #eject remaining filament 0
#insert_gcode: RESUME
switch_pin: PA4
########################################
# Fans & Temp Settings
########################################
#berd air
##[fan]
##pin: PB1
##cycle_time: 0.02
##shutdown_speed: 0.0
#hardware_pwm: true
##kick_start_time: 0.03
#cycle_time: 0.005
## Depending on your fan, you may need to increase this value
## if your fan will not start. Can change cycle_time (increase)
## if your fan is not able to slow down effectively
##off_below: 0.15
#CPAP
[fan]
pin: PE5
kick_start_time: 0.15
off_below: 0.2
cycle_time: 0.005
shutdown_speed: 0
max_power: 1
hardware_pwm: False
[duplicate_pin_override]
pins: PB1
[temperature_fan chamber]
pin:PB1
max_power: 1
#shutdown_speed:
#cycle_time:
hardware_pwm: False
#kick_start_time:
off_below:.25
# See the "fan" section in example.cfg for a description of the
# above parameters.
sensor_type: EPCOS 100K B57560G104F
sensor_pin:PC2
control : watermark
#pid_kp : 60
#pid_ki : 1
#pid_kd : 900
#pid_deriv_time:120
min_temp:0
max_temp:90
# See the "extruder" section in example.cfg for a description of the
# above parameters.
target_temp: 35.0
# A temperature (in Celsius) that will be the target temperature.
# The default is 40 degrees.
max_speed: 1
min_speed: 0.2
gcode_id:C
##[output_pin Chamber_fan]
##pin:PB1
##pwm: True
##cycle_time: 0.0100
##hardware_pwm: false
##value: 0.0
##scale: 255
##shutdown_value: 0.0
[fan_generic chamber_fan]
pin:PB1
max_power:1
#shutdown_speed:
#cycle_time:
hardware_pwm:False
#kick_start_time:
off_below:0.2
[heater_fan heat_sink_fan]
pin: PB0
heater_temp: 50.0
cycle_time: 0.00004
[temperature_sensor Speeder_Pad]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
[temperature_sensor MCU]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[verify_heater extruder]
max_error: 500
hysteresis: 20
[verify_heater heater_bed]
max_error: 120
hysteresis: 5
##[temperature_sensor chamber]
##sensor_type: Generic 3950
##sensor_pin: PC2
##min_temp: 0
##max_temp: 100
##gcode_id: C
##############################
## Bed mesh ##
##############################
[delta_calibrate]
radius: 147
horizontal_move_z: 30
speed: 100
[probe]
pin:!PA11
x_offset: 0
y_offset: 0
#z_offset: 16 #the distance between nozzle and level switch
speed: 10
lift_speed: 10
samples: 3 #probe one point three times get an average
Sample_retract_dist: 3
samples_result: average
samples_tolerance: 0.02
samples_tolerance_retries: 10
[bed_mesh]
speed: 120
horizontal_move_z: 30 #This value is related to the lift height of the nozzle during bed_mesh
mesh_radius: 147
mesh_origin: 0,0
round_probe_count: 9 # 7*7
mesh_pps: 4,4
algorithm: bicubic
move_check_distance: 3
bicubic_tension: 0.1
split_delta_z: 0.025
zero_reference_position: 0,0
#fade_start: 1
#fade_end: 15
#relative_reference_index: 24 #16 # Mesh values: 6=5 points 24 = 9 points Its better to use fewer points in most cases unless dealing with extremely uneven surfaces eg slightly bubbled stickers , chunky power coat etc
#################################
# Endstop testing #
#################################
[endstop_phase stepper_a]
endstop_align_zero: false
[endstop_phase stepper_b]
endstop_align_zero: false
[endstop_phase stepper_c]
endstop_align_zero: false
########################################
# LED Settings
########################################
[output_pin LED_Hotend]
pin: PE12
pwm: False
value: 0 #0 = off ,1 = on
[output_pin LED_Logo]
pin: PD11
pwm: False
value: 1 #0 = off ,1 = on
[neopixel RGB]
pin: PB2
chain_count: 60
color_order: GRB
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0
# EXP1 / EXP2 (display) pins
#[board_pins]
#aliases:
# EXP1 header
# EXP1_1=PC1, EXP1_3=PA4, EXP1_5=PA6, EXP1_7=PC4, EXP1_9=<GND>,
# EXP1_2=PC3, EXP1_4=PA5, EXP1_6=PA7, EXP1_8=PC5, EXP1_10=<5V>,
# EXP2 header
# EXP2_1=PB14, EXP2_3=PB11, EXP2_5=PB0, EXP2_7=PC10, EXP2_9=<GND>,
# EXP2_2=PB13, EXP2_4=PA15, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 73.398
#*# pid_ki = 2.319
#*# pid_kd = 580.761
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 19.248
#*# pid_ki = 1.492
#*# pid_kd = 62.076
#*#
#*# [probe]
#*# z_offset = 17.222
#*#
#*# [printer]
#*# delta_radius = 162.125417
#*#
#*# [stepper_a]
#*# angle = 210.051981
#*# arm_length = 345.000000
#*# position_endstop = 418.985999
#*#
#*# [stepper_b]
#*# angle = 329.910613
#*# arm_length = 345.000000
#*# position_endstop = 418.656658
#*#
#*# [stepper_c]
#*# arm_length = 345.000000
#*# position_endstop = 419.606670
#*# angle = 90.000000
#*#
#*# [endstop_phase stepper_a]
#*# trigger_phase = 69/256
#*#
#*# [endstop_phase stepper_b]
#*# trigger_phase = 148/256
#*#
#*# [endstop_phase stepper_c]
#*# trigger_phase = 201/256
#*#
#*# [delta_calibrate]
#*# height0 = 17.222
#*# height0_pos = 128510.333,128488.333,128782.333
#*# height1 = 17.222
#*# height1_pos = 154099.000,153939.000,116043.000
#*# height2 = 17.222
#*# height2_pos = 126531.667,168481.667,126743.333
#*# height3 = 17.222
#*# height3_pos = 116233.667,149746.667,149998.333
#*# height4 = 17.222
#*# height4_pos = 125330.000,125381.000,155618.000
#*# height5 = 17.222
#*# height5_pos = 145772.667,116762.000,146106.667
#*# height6 = 17.222
#*# height6_pos = 161413.000,125756.000,126081.000
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.140493, -0.140493, -0.140493, -0.140493, -0.140493, -0.140493, -0.140493, -0.140493, -0.140493
#*# -0.123082, -0.123082, -0.123082, -0.090233, -0.037424, -0.018856, 0.032479, 0.032479, 0.032479
#*# -0.015306, -0.015306, -0.030721, -0.012524, -0.038615, 0.000696, 0.012833, 0.021661, 0.021661
#*# 0.015389, 0.015389, 0.025749, 0.018556, -0.010129, -0.036095, -0.027787, -0.022266, -0.022266
#*# 0.012655, 0.045475, 0.043028, 0.017730, 0.000000, -0.035597, -0.024885, -0.089713, -0.084028
#*# 0.006112, 0.006112, 0.015088, 0.015684, -0.011423, -0.024860, -0.050639, -0.054881, -0.054881
#*# -0.041637, -0.041637, -0.024603, -0.019530, -0.024097, -0.023100, -0.033973, -0.018056, -0.018056
#*# -0.096284, -0.096284, -0.096284, -0.069951, -0.040834, -0.047017, -0.003909, -0.003909, -0.003909
#*# -0.031520, -0.031520, -0.031520, -0.031520, -0.031520, -0.031520, -0.031520, -0.031520, -0.031520
#*# x_count = 9
#*# y_count = 9
#*# mesh_x_pps = 4
#*# mesh_y_pps = 4
#*# algo = bicubic
#*# tension = 0.1
#*# min_x = -147.0
#*# max_x = 147.0
#*# min_y = -147.0
#*# max_y = 147.0
#*#