forked from Travis90x/Klipper-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
printer_BTT_SKRat.cfg
844 lines (672 loc) · 26.8 KB
/
printer_BTT_SKRat.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
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
# https://github.com/Travis90x/Klipper-configuration/tree/main
# BIG TEXT ASCII http://patorjk.com/software/taag/#p=display&c=bash&f=ANSI%20Shadow&t=BED%20MESH
## ######################################
[input_shaper]
shaper_freq_x: 96 # 85.7 # 54 85.7 # edit with your results
shaper_freq_y: 57 # 54 # 85.7
shaper_type_x: ei
shaper_type_y: ei
[output_pin relay]
PIN: PA2
value: 1
[include LED.cfg]
[include START.cfg]
[include macro.cfg]
[include mainsail.cfg]
[include timelapse.cfg] # Webcam timelapse
#
# ███╗ ███╗ ██████╗██╗ ██╗
# ████╗ ████║██╔════╝██║ ██║
# ██╔████╔██║██║ ██║ ██║
# ██║╚██╔╝██║██║ ██║ ██║
# ██║ ╚═╝ ██║╚██████╗╚██████╔╝
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝
#
# mcu
# ######################################
# This file contains common pin mappings for MKS Robin Nano (v1.2.004) boards. To use this config, the firmware should be compiled for the
# STM32F103. When running "make menuconfig", enable "extra low-level configuration setup", select the 28KiB bootloader, disable "USB for
# communication", and select USART3 for the "Serial Port".
# Note that the "make flash" command does not work with MKS Robin boards. After running "make", run the following command:
# ./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano.bin
# Copy the file out/Robin_nano.bin to an SD card and then restart the printer with that SD card.
# See docs/Config_Reference.md for a description of parameters.
# KLIPPER CONFIG EXAMPLE
# https://github.com/Klipper3d/klipper/blob/master/docs/Config_Reference.md
[mcu]
# serial: /dev/ttyUSB0
# serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_4000150012504B4633373520-if00
# serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_btt-skrat-10-if00
# to find correct usb, in command type: sudo ls /dev/serial/by-id/*
restart_method: command
[temperature_sensor SKRat]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
# ######################################
# STEPPERS
# ######################################
# ██╗ ██╗
# ╚██╗██╔╝
# ╚███╔╝
# ██╔██╗
# ██╔╝ ██╗
# ╚═╝ ╚═╝
[stepper_x]
step_pin: PF9
dir_pin: PD7
enable_pin: !PD6
microsteps: 64
rotation_distance: 40
# endstop_pin: tmc2209_stepper_x:virtual_endstop # Sensorless homing
endstop_pin: ^PB5 # Orange - add ! if physic endstop - physical/optical endstop
homing_speed: 100
homing_retract_dist: 10.0 # retract as optical probe is long from the complete collision
homing_retract_speed: 100 #
second_homing_speed: 5 # useful for optical
# homing_retract_dist: 0 # sensorless homing = 0
# 310x310 BED 0,0 is your 0,0
# Measure Screw 4 (coordinate 35,35) if nozzle on X is over
# increase position endstop. If under, decrease
################
position_endstop: 304
################
position_min: 4 # position_endstop - how many mm you can "press" the endstop
position_max: 305
# Toolhead phisical limit with Diamond and Optical Endstop
# position_endstop: -1
# position_min: -1
# position_max: 300
[tmc2240 stepper_x]
cs_pin: PF10
diag1_pin: PB5
spi_software_mosi_pin: PC12
spi_software_miso_pin: PC11
spi_software_sclk_pin: PC10
# uart_pin: PA10
# uart_address: 3
# tx_pin:
# sense_resistor: 0.110
interpolate: True # Reduce Noise. For best positional accuracy consider using spreadCycle mode and disable interpolation
run_current: 1
stealthchop_threshold: 0 # Max 999999
# The velocity (in mm/s) to set the "stealthChop" threshold to.
# When set, "stealthChop" mode will be enabled if the stepper motor
# velocity is below this value. The default is 0, which disables "stealthChop" mode.
# diag_pin: ^PA15 # sensorless homing
# hold_current: 0.80 # Disable for sensorless Homing - The current for motor in idle: it's not recommended use it.
# If defined, TMC driver can reduce current to the stepper motor when it detects that the stepper is not moving.
# The switch from run_current to hold_current has a negative impact on precision.
# driver_SGTHRS: 100 # Sensorless homing, 0-255, high has more sensibility
# endstop_pin: tmc2209_stepper_x:virtual_endstop
#[temperature_sensor stepper_x]
#sensor_type: temperature_driver
#sensor_driver: tmc2240 stepper_x
# ██╗ ██╗
# ╚██╗ ██╔╝
# ╚████╔╝
# ╚██╔╝
# ██║
# ╚═╝
[stepper_y]
step_pin: PD3
dir_pin: PD2
enable_pin: !PD5
microsteps: 64
rotation_distance: 40
# endstop_pin: tmc2209_stepper_y:virtual_endstop # Sensorless homing
endstop_pin: ^PC1 # Blue - add ! if physic endstop, remove if optical - physical/optical endstop
homing_speed: 100
homing_retract_dist: 10.0 # retract as optical probe is long from the complete collision
homing_retract_speed: 100 #
second_homing_speed: 5 # useful for optical
# 310x310 BED 0,0 is your 0,0
# Measure Screw 4 (coordinate 35,35) if nozzle on Y is over the screw
# increase position endstop. If under the screw, decrease.
################
position_endstop: -6
################
position_min: -12 # optical
position_max: 297 # position_endstop + how many mm you can "press" the endstop
[tmc2240 stepper_y]
cs_pin: PD4
spi_software_mosi_pin: PC12
spi_software_miso_pin: PC11
spi_software_sclk_pin: PC10
diag1_pin: PC1
# uart_pin: PA10
# uart_address: 2
# sense_resistor: 0.110
interpolate: True
run_current: 1
stealthchop_threshold: 0 # Max 999999
# diag_pin: ^PA12 # sensorless homing
# driver_SGTHRS: 100 # Sensorless homing, 0-255, high has more sensibility
# ███████╗
# ╚══███╔╝
# ███╔╝
# ███╔╝
# ███████╗
# ╚══════╝
[stepper_z]
step_pin: PA15
dir_pin: !PF8
enable_pin: !PC9
microsteps: 16
rotation_distance: 8
# endstop_pin = probe:z_virtual_endstop # for Endstop Z with BL Touch
endstop_pin: ^PC0 # 1st Green on Robin Nano 1.2 - disable with BLtouch as endstop - endstop pin PB3 without >!<
#############################################################################################################
# disable with bltouch as endstop
#position_endstop: 315
# increase for nozzle far from bed at Z0
#(nozzle touch bed in negative value)
position_min: -2.5 # your 0-position_endstop
position_max: 316 # 330 with oldham and stepper lowered with thicknesses
# 320 with Pom anti backlash, oldham and stepper lowered with thicknesses
homing_speed: 50
homing_retract_dist: 10.0 # retract as optical/physic probe is long
homing_retract_speed: 10 #
second_homing_speed: 2 # increase precision
[tmc2209 stepper_z]
uart_pin: PC8
# uart_address: 1
diag_pin: PC0
interpolate: True
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
# don't use 0.1 = stealthchop enabled only when the bed is static
# avoid to switch spreadcycle to stealthchop and viceversa during printing
# ███████╗ ██╗
# ╚══███╔╝███║
# ███╔╝ ╚██║
# ███╔╝ ██║
# ███████╗ ██║
# ╚══════╝ ╚═╝
[stepper_z1]
step_pin: PC7
dir_pin: !PC6
enable_pin: !PD9
microsteps: 16
rotation_distance: 8
endstop_pin: ^PF4 # 2nd Green
# endstop_pin: PA11 # as Z0
# not supported on Z1:
# position_endstop:
# position_min: -1.5 # not supported on Z1
# position_max: 330 # not supported on Z1
# homing_speed: 15
# second_homing_speed:5
[tmc2209 stepper_z1]
uart_pin: PD8
# uart_address: 0
diag_pin: PF4
interpolate: True
run_current: 0.9
sense_resistor: 0.110
stealthchop_threshold: 0
############################################################
#
# ███████╗██╗ ██╗████████╗██████╗ ██╗ ██╗██████╗ ███████╗██████╗
# ██╔════╝╚██╗██╔╝╚══██╔══╝██╔══██╗██║ ██║██╔══██╗██╔════╝██╔══██╗
# █████╗ ╚███╔╝ ██║ ██████╔╝██║ ██║██║ ██║█████╗ ██████╔╝
# ██╔══╝ ██╔██╗ ██║ ██╔══██╗██║ ██║██║ ██║██╔══╝ ██╔══██╗
# ███████╗██╔╝ ██╗ ██║ ██║ ██║╚██████╔╝██████╔╝███████╗██║ ██║
# ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
#
# EXTRUDER
############################################################
[extruder]
# invert direction !PB4 Nema17
step_pin: PB10
dir_pin: !PE15
enable_pin: !PA8
microsteps: 16
# ROTATION DISTANCE = full steps per rotation (200) * microsteps / steps per mm / Gear ratio
# rotation_distance: 22.65 # diminuisci se sottoestrude -
# 23.3 = Sherpa Mini + Moon 14 8th
# rotation_distance: 22 # diminuisci se sottoestrude 20 25 -- 22.5 = 10cm microsteps: 32 microstep 32 -> 23 # microstep 64 -> 45
rotation_distance: 22.6 # Vz-Hextrudort-Low # 23.23 default
# rotation_distance: 22.65 # Libra mini
full_steps_per_rotation: 200 # 200 for 1.8 degree Motor - 400 for 0.9 deg # Default 200
gear_ratio: 50:8 # 50:17 for BMG clone extruder otherwise 3:1
# 50:8 Moon 8t # 50:10 Moon 10 tooths
# 50:8 8th and Sherpa Mini, Libra Mini, Vz-Hextrudort
nozzle_diameter: 0.400
filament_diameter: 1.750
#
max_extrude_only_distance: 1400.0
max_extrude_only_accel: 1700 # mm/s^2
max_extrude_only_velocity: 100.0 # G1 EX mm/s
# Maximum velocity (in mm/s) and acceleration (in mm/s^2) of the extruder motor for retractions and extrude-only moves
# max_extrude_only_velocity: 75 # SHERPA MINI
# max_extrude_only_accel: 1500 # SHERPA MINI
# https://github.com/Annex-Engineering/Sherpa_Mini-Extruder/blob/master/Klipper_Config_Block.txt
max_extrude_cross_section: 100.0 # The default is: 4x nozzle_diameter^2
heater_pin: PD12 # Default PC3
### Heater Sensor MAX31865 ###
sensor_type: MAX31865
sensor_pin: PA4 # CS SPI1_NSS MAX31865
spi_bus: spi1 # SCK PA5 - MISO PA6 - MOSI PA7
# spi_software_sclk_pin: PA5
# spi_software_miso_pin: PA6
# spi_software_mosi_pin: PA7
# rtd_use_50Hz_filter: True
#rtd_nominal_r: 1000
#rtd_reference_r: 4300
#rtd_num_of_wires: 2
# min_temp: -273.15
# max_temp: 9999999999
# spi_speed: 100000
# sensor_pin: PC1 # Black TH2 PC1 - Violet TH1 PC2
# sensor_type: PT1000
# pullup_resistor: 4700
# sensor_type: DYZE
# sensor_type: EPCOS 100K B57560G104F
# sensor_type: ATC Semitec 104GT-2 #stock
# sensor_type: ATC Semitec 104NT-4-R025H42G
# sensor_type: Generic 3950
# sensor_type: Honeywell 100K 135-104LAG-J01
# sensor_type: NTC 100K MGB18-104F39050L32
# sensor_type: SliceEngineering 450
# sensor_type: TDK NTCG104LH104JT1
# pullup_resistor: 4700
min_temp: 0.15 # min is -273.15 # debug
max_temp: 310 # 350 #
min_extrude_temp: 10.15 # 140 # min 5.15 # debug
####################
# PID EXTRUDER
####################
pwm_cycle_time: 0.02 # default pwm_cycle_time: 0.1 (10Hz,the max for SSR)
max_power: 1.0
smooth_time: 0.5 # default 1.0
# NF CRAZY VOL CO HF 70W 2x 4020 100%
# smooth 0.1 cycle_time: 0.02
#control: pid
#pid_kp: 44.661
#pid_ki: 5.838
#pid_kd: 85.415
# NF CRAZY VOL CO HF 70W 2x 4020 100%
# smooth 1.0 cycle_time: 0.1
# control: pid
# pid_kp: 18
# pid_ki: 1.3
# pid_kd: 62
# 10Hz NF CRAZY VOL CO HF 70W 2x 4020 100%
# control: pid
# pid_kp: 26.948
# pid_ki: 7.811
# pid_kd: 23.243
# NF CRAZY VOL CO HF 70W 2x 4020 50% pid_Kp=23.744 pid_Ki=11.307 pid_Kd=12.466
# NF CRAZY VOL CO HF 50W 2x 4020 100%
# pid_kp = 46.506
# pid_ki = 103.346
# pid_kd = 5.232
# control = pid
# PID EPCOS 100K B57560G104F
# pid_Kp: 30.425
# pid_Ki: 2.359
# pid_Kd: 98.120
#########################
pressure_advance: 0.05
# PLA 0.045 100mm/s
# PLA 0.08 40mm/s
# PETG
#########################
[tmc2209 extruder]
uart_pin: PB11 # NB extruder on 3rd Position to use same Fan of XY
# uart_address: 0
interpolate: False
run_current: 0.9 # 0.9 for stock motor nema 17 - 0.35 nema 14 sth17 or fysetc clone- 0.85 nema 14 STH20 or moons CSE14HRA1L410A-02
#run_current: 0.35 #per motore nema 14 STH17 o clone fysetc
#run_current: 0.85 #per motore nema 14 STH20 o moons
# hold_current: 0.85 # Disable for sensroless Homing - 0.85 for nema 14 STH20 or moons motor #0.35 for nema 14 STH17 or fysetc clone motor
sense_resistor: 0.110
stealthchop_threshold: 0
#######################################
#
# ██████╗ ██╗ ████████╗ ██████╗ ██╗ ██╗ ██████╗██╗ ██╗
# ██╔══██╗██║ ╚══██╔══╝██╔═══██╗██║ ██║██╔════╝██║ ██║
# ██████╔╝██║ ██║ ██║ ██║██║ ██║██║ ███████║
# ██╔══██╗██║ ██║ ██║ ██║██║ ██║██║ ██╔══██║
# ██████╔╝███████╗██║ ╚██████╔╝╚██████╔╝╚██████╗██║ ██║
# ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝
#
# BLTOUCH
#######################################
# SCREWS
# 1-----2
# | X |
# 4-----3
[bltouch]
sensor_pin: ^PE5 # prefix or remove ! to reverse the logic TRIGGERED/OPEN
# Mt_Det2 pin Robin Nano 1.2 - prefix with ^ to pullup if you haven't a pullup resistor on signal
control_pin: PE6 # PA8 -> PB2 ALERT: check correct pin for your Robin Nano
# PA8 stock servo 3pin
# use PB2 as secondary Servo Pin
# set_output_mode: 5V
pin_move_time: 0.680
stow_on_each_sample: True # BL gp UP every point
# probe_with_touch_mode: True # True if BL Touch > v3 - true with filtered capacitor on pin
# pin_up_reports_not_triggered: False # On clone with query issue
# pin_up_touch_mode_reports_triggered: False #On clone with query issue
#######################################
x_offset: 0
y_offset: 38
z_offset: 3 # >0.0 - increase if Z bed mesh is positive
# PROBE on the center position
# If negative, move the endstops position
speed: 5
samples: 3
###################
sample_retract_dist: 6.0 # the distance (in mm) to lift the toolhead between each sample
###################
samples_result: average
samples_tolerance: 0.050
samples_tolerance_retries: 0
lift_speed: 20
# [safe_z_home]
# z_hop: 3 # Move up
# z_hop_speed: 10
# home_xy_position: 0, 275 # stepper_y{position_max} # Change coordinates to the center of your print bed
# speed: 100
# ███╗ ███╗███████╗███████╗██╗ ██╗
# ████╗ ████║██╔════╝██╔════╝██║ ██║
# ██╔████╔██║█████╗ ███████╗███████║
# ██║╚██╔╝██║██╔══╝ ╚════██║██╔══██║
# ██║ ╚═╝ ██║███████╗███████║██║ ██║
# ╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝
#
# SCREWS
# 1-----2
# | X |
# 4-----3
[bed_mesh]
probe_count: 9,9
speed: 200
mesh_min: 15, 30
# X_mesh_min = X coordinate + BL-Touch x_offset
# the result must be > Xmin position
# Y_mesh_min = Y coordinate + BL-Touch y_offset
# the result must be > Ymin position
mesh_max: 295, 280 # 275, 275 if the BED 0,0 is your 0,0
# X= X_Bed - X_mesh_min (Ex: X bed 310, X_mesh_min=5 X_mesh_max= 305 )
# Y= Y_Bed - Y_mesh_min (Ex: Y bed 310, Y_mesh_min=35 X_mesh_max= 275 )
# Y< Ymax Printer limit - Y BLtouch offset
###################
horizontal_move_z: 6 # >z_offset probe The Z coordinate the probe rises to prior to traveling between points.
###################
fade_start: 1.0
fade_end: 10.0
split_delta_z: .025
move_check_distance: 5.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2
[z_tilt]
z_positions:
-15,150
325,150
points:
35,109 # 35, 150-(BL-Touch Y Offset)
275,109
# 35,311 35,71 275,71 275,311
speed: 150
horizontal_move_z: 10
retries: 1
retry_tolerance: 0.01 # >0
#######################################
# ██████╗ ███████╗██████╗
# ██╔══██╗██╔════╝██╔══██╗
# ██████╔╝█████╗ ██║ ██║
# ██╔══██╗██╔══╝ ██║ ██║
# ██████╔╝███████╗██████╔╝
# ╚═════╝ ╚══════╝╚═════╝
# BED
#######################################
[heater_bed]
heater_pin: PD13 # Default PA0
pullup_resistor: 4700 # default 4700
smooth_time: 1.0 # default 1.0
max_power: 1.0 #default 1.0
pwm_cycle_time: 0.1 #default 0.1 (10Hz, tha max for SSR relay)
sensor_type: EPCOS 100K B57560G104F
# sensor_type: NTC 100K beta 3950
sensor_pin: PB2 # lateral
min_temp: -273.15 # min -273.15
max_temp: 150 # 130
# control: watermark
#control: pid
# Stock BED
# pid_Kp: 325.10
# pid_Ki: 63.35
# pid_Kd: 417.10
# AC BED
#pid_Kp: 48.731
#pid_Ki: 1.683
#pid_Kd: 352.688
#######################################
#
# ████████╗███████╗███╗ ███╗██████╗
# ╚══██╔══╝██╔════╝████╗ ████║██╔══██╗
# ██║ █████╗ ██╔████╔██║██████╔╝
# ██║ ██╔══╝ ██║╚██╔╝██║██╔═══╝
# ██║ ███████╗██║ ╚═╝ ██║██║
# ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝
# TEMPERATURES
#######################################
#######################################
#
# ███████╗ █████╗ ███╗ ██╗
# ██╔════╝██╔══██╗████╗ ██║
# █████╗ ███████║██╔██╗ ██║
# ██╔══╝ ██╔══██║██║╚██╗██║
# ██║ ██║ ██║██║ ╚████║
# ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝
#
# FANS
#######################################
#FAN 3030 on Hotend
[heater_fan extruder]
heater: extruder
pin: PE11 # Default PB1
kick_start_time: 0.4
max_power: 1
off_below: 0.0
shutdown_speed: 1.0
cycle_time: 0.010
heater_temp: 65.0
fan_speed: 1
#tachometer_pin:
#tachometer_ppr: 2
#tachometer_poll_interval: 0.0015
#hardware_pwm: False
#enable_pin:
# 2x fan 4020 on FANDUCT
[fan]
pin: PE13
kick_start_time: 0.5
max_power: 1.0
off_below: 0
# [multi_pin dual_fan_extruder]
# pins:PB1,PB2
[board_pins fan_tmc]
aliases:
fan_tmc_pin=PD15
[controller_fan driver_fan]
# Turn ON fan when a stepper/heater is ON
# if not declared, default is
# stepper: stepper_x, stepper_y, stepper_z, stepper_z1, ecc... , extruder
# heater: extruder
# Name of the config section defining the heater/stepper that this fan
# is associated with. If a comma separated list of heater/stepper names
# is provided here, then the fan will be enabled when any of the given
# heaters/steppers are enabled. The default heater is "extruder", the
# default stepper is all of them.
pin: fan_tmc_pin # pwm fan pin
max_power: 1
shutdown_speed: 1.0 # in soft pwm is allowed 1 or 0
kick_start_time: 0.1
off_below: 0.40
idle_speed: 0.7 # Fan speed when stepper/heater are off
idle_timeout: 1 # Turn off fan after x secondos from stepper/heater is off
# to exclude activation fan with extruder
# I find a workaround creating a fake sensor and heater on an free pin, so:
# [duplicate_pin_override] # needed to use only 1 not connected PIN for FAKE_HEATER
# pins: PC2
# [heater_generic fake_heater]
# sensor_type: PT1000 # Put here whatever sensor you want
# heater_pin: PC2 # use a not connected PIN
# sensor_pin: PC2 # use a not connected PIN
# gcode_id: 1
# min_temp: -273.15 # min -273.15
# max_temp: 9999
# control: watermark
# max_delta: 9999
# SENSOR TYPE not provided from Klipper
# you have to define 3 value of resistance/temperature, measure your temperature probe with a tester
# [thermistor DYZE]
# https://www.aliexpress.com/item/4000591370691.html
# https://docs.dyzedesign.com/hotends.html#klipper-firmware
# dyze500 clone
# temperature1: 60
# resistance1: 666000 #450000
# temperature2: 162
# resistance2: 22200
# temperature3: 280
# resistance3: 1555
#######################################
#
# ██████╗ ██████╗ ██╗███╗ ██╗████████╗███████╗██████╗
# ██╔══██╗██╔══██╗██║████╗ ██║╚══██╔══╝██╔════╝██╔══██╗
# ██████╔╝██████╔╝██║██╔██╗ ██║ ██║ █████╗ ██████╔╝
# ██╔═══╝ ██╔══██╗██║██║╚██╗██║ ██║ ██╔══╝ ██╔══██╗
# ██║ ██║ ██║██║██║ ╚████║ ██║ ███████╗██║ ██║
# ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
#
# PRINTER
#######################################
[gcode_macro _CLIENT_VARIABLE]
variable_use_custom_pos : True ; use custom park coordinates for x,y [True/False]
variable_custom_park_x : 150.0 ; custom x position; value must be within your defined min and max of X
variable_custom_park_y : -10.0 ; custom y position; value must be within your defined min and max of Y
variable_custom_park_dz : 2.0 ; custom dz value; the value in mm to lift the nozzle when move to park position
variable_retract : 2.0 ; the value to retract while PAUSE
variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT
variable_speed_retract : 25.0 ; retract speed in mm/s
variable_unretract : 2.0 ; the value to unretract while RESUME
variable_speed_unretract : 25.0 ; unretract speed in mm/s
variable_speed_hop : 15.0 ; z move speed in mm/s
variable_speed_move : 150.0 ; move speed in mm/s
variable_park_at_cancel : True ; allow to move the toolhead to park while execute CANCEL_PRINT [True/False]
variable_park_at_cancel_x : 150.0 ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
variable_park_at_cancel_y : -10.0 ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
# !!! Caution [firmware_retraction] must be defined in the printer.cfg if you set use_fw_retract: True !!!
variable_use_fw_retract : False ; use fw_retraction instead of the manual version [True/False]
gcode:
[exclude_object]
[firmware_retraction]
retract_length: 0.5 # default 0 mm
# The length of filament (in mm) to retract when G10 is activated, and to unretract when G11 is activated (but see unretract_extra_length below).
retract_speed: 35 # default is 20 mm/s
# The speed of retraction, in mm/s.
#unretract_extra_length: 0
# The length (in mm) of *additional* filament to add when unretracting.
unretract_speed: 35 # default is 10 mm/s.
# The speed of unretraction, in mm/s. The default is 10 mm/s.
# SCREWS
# 1-----2
# | X |
# 4-----3
# 310x310 BED 0,0 is your 0,0
[bed_screws]
screw1: 35, 275
screw2: 275, 275
screw3: 275, 35
screw4: 35, 35
# if your 0,0 is the BED phisical limit of your printer with Diamond and enstop optical
# [bed_screws]
# screw1: 26, 265
# screw2: 266, 265
# screw3: 266, 25
# screw4: 26, 25
### to enalbe M117
[display_status]
### to enable M118
[respond]
#default_type: echo
# Sets the default prefix of the "M118" and "RESPOND" output to one
# of the following:
# echo: "echo: " (This is the default)
# command: "// "
# error: "!! "
default_prefix:
# Directly sets the default prefix. If present, this value will
# override the "default_type".
[pause_resume]
[gcode_arcs]
resolution: 0.5
[printer]
kinematics: corexy
#♥ kinematics: limited_corexy
# https://github.com/Piezoid/klipper/blob/work-peraxis/klippy/kinematics/limited_corexy.py
max_velocity: 300
# max_x_velocity: 250 # only on limited_cartesian.py
# max_y_velocity: 20
max_accel: 8000
max_accel_to_decel: 4000
# max_x_accel: 8000 # limited_corexy
# max_y_accel: 6000 # limited_corexy
max_z_velocity: 50
max_z_accel: 70
square_corner_velocity: 5
[force_move]
enable_force_move: True
[save_variables]
filename: /home/pi/printer_data/config/save_variables.cfg # needed for Power Loss Recovery plr.cfg
# filename: ~/variable.cfg # needed for Power Loss Recovery plr.cfg
# filename: /home/pi/printer_data/config/printer_variables.cfg
# filename: /home/pi/klipper_config/.variables.stb
# ATTENTION: if parameters in SAVE CONFIG was't found by Klipper, check in the code before '#*#' and delete
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [stepper_z]
#*# position_endstop = 314.715
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.380000, 0.420833, 0.448333, 0.493333, 0.510833, 0.504167, 0.470833, 0.413333, 0.400833
#*# 0.370000, 0.402500, 0.444167, 0.485000, 0.443333, 0.456667, 0.455000, 0.377500, 0.363333
#*# 0.307500, 0.362500, 0.383333, 0.384167, 0.369167, 0.422500, 0.394167, 0.368333, 0.334167
#*# 0.331667, 0.378333, 0.424167, 0.413333, 0.395833, 0.376667, 0.342500, 0.323333, 0.287500
#*# 0.347500, 0.425000, 0.435000, 0.433333, 0.453333, 0.429167, 0.404167, 0.345833, 0.315833
#*# 0.345833, 0.420833, 0.426667, 0.492500, 0.463333, 0.423333, 0.404167, 0.355833, 0.333333
#*# 0.410833, 0.414167, 0.441667, 0.515833, 0.527500, 0.492500, 0.421667, 0.419167, 0.347500
#*# 0.429167, 0.457500, 0.495000, 0.548333, 0.535000, 0.536667, 0.487500, 0.439167, 0.491667
#*# 0.390833, 0.432500, 0.520833, 0.538333, 0.484167, 0.519167, 0.465000, 0.436667, 0.428333
#*# x_count = 9
#*# y_count = 9
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 15.0
#*# max_x = 295.0
#*# min_y = 30.0
#*# max_y = 280.0
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 24.513
#*# pid_ki = 1.527
#*# pid_kd = 98.360
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 58.197
#*# pid_ki = 2.752
#*# pid_kd = 307.718