-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathConfiguration.h
More file actions
3458 lines (2958 loc) · 125 KB
/
Copy pathConfiguration.h
File metadata and controls
3458 lines (2958 loc) · 125 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
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
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#pragma once
/*
________ _________________ __ ____________ ______ ____ ____ _____ __________________
/ ____/ / / / ___/_ __/ __ \/ |/ / _/__ / / ____/ / __ \/ __ \/ _/ | / /_ __/ ____/ __ \
/ / / / / /\__ \ / / / / / / /|_/ // / / / / __/ / /_/ / /_/ // // |/ / / / / __/ / /_/ /
/ /___/ /_/ /___/ // / / /_/ / / / // / / /__/ /___ / ____/ _, _// // /| / / / / /___/ _, _/
\____/\____//____//_/ \____/_/ /_/___/ /____/_____/ /_/ /_/ |_/___/_/ |_/ /_/ /_____/_/ |_|
*/
//===========================================================================
//=============================== MOTHERBOARDS ==============================
//===========================================================================
//#define MOTHERBOARD BOARD_CREALITY_V427 // Creality 4.2.7 Board
//#define MOTHERBOARD BOARD_CREALITY_V422 // Creality 4.2.2 Board, standard for Ender 3 and Ender 3 Pro
//#define MOTHERBOARD BOARD_CREALITY_V4 // Ender 3 Max, Ender 3V2
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V3_0 // BIQU SKR MINI E3 V3.0
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_0 // BIQU SKR MINI E3 V1.0
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V1_2 // BIQU SKR MINI E3 V1.2
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V2_0 // BIQU SKR MINI E3 V2.0
//#define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_0 // BIQU OCTOPUS V1
//#define MOTHERBOARD BOARD_BTT_OCTOPUS_V1_1 // BIQU OCTOPUS V1.1
//#define MOTHERBOARD BOARD_BTT_OCTOPUS_PRO_V1_0 // BIQU OCTOPUS PRO V1
//#define MOTHERBOARD BOARD_BTT_OCTOPUS_MAX_EZ_V1_0 // BIQU OCTOPUS MAX EZ
//===========================================================================
//============================== X Y Z DRIVERS ==============================
//===========================================================================
//#define DRIVERS_TMC2208_STANDALONE // Typical drivers for a Creality 4.2.7 board
//#define DRIVERS_A4988 // Typical drivers for a Creality 4.2.2 board
//#define DRIVERS_TMC2209 // Typical drivers for a BIQU SKR Mini 3 V3 board or Octopus Pro (Same driver as the EZ2209 on the Octopus Max EZ), Anycubic Kobra Max
//===========================================================================
//================================ E DRIVERS ================================
//===========================================================================
//#define DRIVERS_TMC2208_STANDALONE_E // Typical drivers for a Creality 4.2.7 board
//#define DRIVERS_A4988_E // Typical drivers for a Creality 4.2.2 board
//#define DRIVERS_TMC2209_E // Typical drivers for a BIQU SKR Mini 3 V3 board or Octopus Pro (Same driver as the EZ2209 on the Octopus Max EZ), Anycubic Kobra Max
//===========================================================================
//================================= Z PROBE =================================
//===========================================================================
//#define HAS_Z_PROBE // Say if you have a Z Probe, leave blank for Z axis switch
#if ENABLED(HAS_Z_PROBE) // PICK ONLY ONE AND ONLY IF HAS_Z_PROBE IS ON
//#define HAS_BL_CR_TOUCH // BL Touch or CR Touch probe
//#define HAS_SPRITE // Creality Sprite Extruder with BL or CR Touch
//#define TH3D_BL_CR_MULTIMOUNT // If you're using a BL_CR_MULTIMOUNT with TH3D Multi-Mount
#endif
//===========================================================================
//================================ THERMISTOR ===============================
//===========================================================================
//#define THERMISTOR_01 // Default choice for Creality, if stock or unsure use this one (Ender 3, Pro, 3 V2)
//#define THERMISTOR_13 // Thermistor used in Creality Sprite hotends
//#define THERMISTOR_61 // Thermistor used in some Spider hotends, if unsure use thermistor 01
//#define THERMISTOR_1047 // Thermistor for Pt1000, 4.7kΩ pullup
//===========================================================================
//================================= E-STEPS =================================
//===========================================================================
//#define HAS_STANDARD_MOTORS // Default Creality Motors (Ender 3, Pro, 3 V2)
//#define HAS_SPRITE_EXTRUDER // Creality Sprite Extruder
//#define HAS_H2_V2s // BIQU H2 V2s
//#define HAS_ORBITER_V2 // Orbiter Extruder V2.0
//#define HAS_MICRO_SWISS_BOWDEN_DUEL_GEAR // Micro Swiss Bowden Duel Gear
//===========================================================================
//================================= XY-STEPS ================================
//===========================================================================
//===========================================================================
//================================= Z-STEPS =================================
//===========================================================================
//===========================================================================
//================================= Z-AXIS ==================================
//===========================================================================
//#define DUEL_Z_AXIS // If you have 2 dedicated/independent Z Motors
#if ENABLED(DUEL_Z_AXIS)
//#define Z_STEPPER_AUTO_ALIGN // Aligns the Z-Axis independently
//#define Z_MULTI_ENDSTOPS // If the second Z-Axis has a dedicated endstop
#endif
//===========================================================================
//================================= BED SIZE ================================
//===========================================================================
//#define BEDSIZE_220x220x250 // Ender 3 / Pro / 3 V2 Bed Size
//#define BEDSIZE_300x300x340 // Ender 3 Max
//#define BEDSIZE_300x300x320 // Ender 3 Max Neo
//#define BEDSIZE_400x400x450 // Anycubic Kobra Max
//#define BEDSIZE_300x225x380 // CR 5 Pro
//#define BEDSIZE_220x220x300 // Ender 5
//===========================================================================
//================================= SCREENS =================================
//===========================================================================
//#define TOUCH_SCREEN // Enables Touch Screen support, I think
//===========================================================================
//================================== EXTRAS =================================
//===========================================================================
//#define LIN_ADVANCE // Enable Linear Advance, 422 & 427 boards do not support this
//#define FILAMENT_RUNOUT_SENSOR // Enable filament runout sensor
#if ENABLED(FILAMENT_RUNOUT_SENSOR) // PICK ONLY ONE AND ONLY IF FILAMENT_RUNOUT_SENSOR IS ON
//#define FIL_RUNOUT_STATE LOW // State pins are in indicating that filament is NOT present
//#define FIL_RUNOUT_STATE HIGH // State pins are in indicating that filament is NOT present
#endif
/* ______________ ______ ____ ____ _ ________
/ ____/ _/ __ \/_ __/ / __ \/ __ \/ | / / ____/
/ __/ / // / / / / / / / / / / / / |/ / __/
/ /____/ // /_/ / / / / /_/ / /_/ / /| / /___
/_____/___/_____/ /_/ /_____/\____/_/ |_/_____/
EVERYTHING BELOW THIS IS THE MAGIC SAUCE THAT MAKES THE EASY CUSTOMIZATION WORK
DO NOT TOUCH UNLESS IF YOU KNOW WHAT YOU ARE DOING
*/
//Motherboard Settings
#if (MOTHERBOARD == BOARD_CREALITY_V427) //
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true
#define INVERT_E0_DIR false
#define CUSTOM_MACHINE_NAME "Ender-3 4.2.7 - Marlin 2.1.2.1"
#elif (MOTHERBOARD == BOARD_CREALITY_V422)
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true
#define INVERT_E0_DIR false
#define NO_CREALITY_422_DRIVER_WARNING // Makes VScode shut up about the 422 drivers
#define CUSTOM_MACHINE_NAME "Ender-3 4.2.2 - Marlin 2.1.2.1"
#elif (MOTHERBOARD == BOARD_CREALITY_V4) //
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true
#define INVERT_E0_DIR false
#define CUSTOM_MACHINE_NAME "Ender-3 V4 - Marlin 2.1.2.1"
#elif (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V3_0) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V2_0) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V1_2) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V1_0) // Special inverting of motors for BIQU SKR MINI E3 V3
#define INVERT_X_DIR true
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false
#define INVERT_E0_DIR true
#define CUSTOM_MACHINE_NAME "Ender-3 SKR Mini E3 - Marlin 2.1.2.1"
#elif (MOTHERBOARD == BOARD_BTT_OCTOPUS_V1_0) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_V1_1) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_PRO_V1_0) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_MAX_EZ_V1_0) // Special inverting of motors for BIQU OCTOPUS
#define INVERT_X_DIR true
#define INVERT_Y_DIR true
#define INVERT_Z_DIR false
#define INVERT_E0_DIR true
#define CUSTOM_MACHINE_NAME "Ender-3 Octopus - Marlin 2.1.2.1"
#endif
// X Y Z Driver Setting
#if ENABLED(DRIVERS_TMC2208_STANDALONE)
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_A4988)
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_TMC2209)
#define X_DRIVER_TYPE TMC2209
#define Y_DRIVER_TYPE TMC2209
#define Z_DRIVER_TYPE TMC2209
#endif
// E Driver Settings
#if ENABLED(DRIVERS_TMC2208_STANDALONE_E)
#define E0_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_A4988_E)
#define E0_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_TMC2209_E)
#define E0_DRIVER_TYPE TMC2209
#endif
// Probe Section
#if ENABLED(HAS_BL_CR_TOUCH)
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
#elif ENABLED(HAS_SPRITE)
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -32, -40, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
#elif ENABLED(TH3D_BL_CR_MULTIMOUNT)
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -58, -19, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
#endif
// Thermistor section
#if ENABLED(THERMISTOR_01)
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 285
#elif ENABLED(THERMISTOR_13)
#define TEMP_SENSOR_0 13
#define HEATER_0_MAXTEMP 285
#elif ENABLED(THERMISTOR_61)
#define TEMP_SENSOR_0 61
#define HEATER_0_MAXTEMP 350
#elif ENABLED(THERMISTOR_1047)
#define TEMP_SENSOR_0 1047
#define HEATER_0_MAXTEMP 350
#endif
// E-Steps
#if ENABLED(HAS_STANDARD_MOTORS)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
//#define E_STEPS_DEFAULT = 97
#elif ENABLED(HAS_SPRITE_EXTRUDER)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 430 }
//#define E_STEPS_SPRITE_EXTRUDER = 430
#elif ENABLED(HAS_H2_V2s)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 930}
//#define E_STEPS_H2_V2S = 930
#elif ENABLED(HAS_ORBITER_V2)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 690}
//define E_STEPS_ORBITER_V2 = 690
#elif ENABLED(HAS_MICRO_SWISS_BOWDEN_DUEL_GEAR)
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 130}
//#define E_STEPS_MICRO_SWISS_BOWDEN_DUEL_GEAR = 130
#endif
// XY-Steps
#define XY_STEPS_DEFAULT = 80
// Z-Steps
#define Z_STEPS_DEFAULT = 400
//#define Z_STEPS_ENDER_5 = 800
// Z-Axis
#if ENABLED(DUEL_Z_AXIS)
#if ENABLED(DRIVERS_TMC2208_STANDALONE)
#define Z2_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_A4988)
#define Z2_DRIVER_TYPE TMC2208_STANDALONE
#elif ENABLED(DRIVERS_TMC2209)
#define Z2_DRIVER_TYPE TMC2209
#endif
#endif
// Bed Size
#if ENABLED(BEDSIZE_220x220x250)
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 250
#elif ENABLED(BEDSIZE_300x300x340)
// The size of the printable area
#define X_BED_SIZE 300
#define Y_BED_SIZE 300
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 340
#elif ENABLED(BEDSIZE_300x300x320)
// The size of the printable area
#define X_BED_SIZE 300
#define Y_BED_SIZE 300
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 320
#elif ENABLED(BEDSIZE_400x400x450)
// The size of the printable area
#define X_BED_SIZE 400
#define Y_BED_SIZE 400
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS -6.2 // Default values from company
#define Y_MIN_POS -20.5 // Default values from company
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE +4 // Default values from company
#define Y_MAX_POS Y_BED_SIZE +4 // Default values from company
#define Z_MAX_POS 450
#elif ENABLED(BEDSIZE_300x225x380)
#define X_BED_SIZE 300
#define Y_BED_SIZE 225
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS -6.2 // Default values from company
#define Y_MIN_POS -20.5 // Default values from company
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 380
#elif ENABLED(BEDSIZE_220x220x300)
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 300
#endif
// Pins
#if (MOTHERBOARD == BOARD_CREALITY_V427) || (MOTHERBOARD == BOARD_CREALITY_V422) || (MOTHERBOARD == BOARD_CREALITY_V4) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V1_0) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V1_2) || (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V2_0) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_V1_0) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_V1_1) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_PRO_V1_0) || (MOTHERBOARD == BOARD_BTT_OCTOPUS_MAX_EZ_V1_0)
#define E0_AUTO_FAN_PIN -1
#elif (MOTHERBOARD == BOARD_BTT_SKR_MINI_E3_V3_0)
#define E0_AUTO_FAN_PIN FAN1_PIN
#endif
/*
____ ____ ______ ____ __ ________ ______ ____ ____ _____ __________________ _____
/ __ \/ __ \/ ____/ / __ )/ / / / _/ / /_ __/ / __ \/ __ \/ _/ | / /_ __/ ____/ __ \/ ___/
/ /_/ / /_/ / __/ / __ / / / // // / / / / /_/ / /_/ // // |/ / / / / __/ / /_/ /\__ \
/ ____/ _, _/ /___ / /_/ / /_/ // // /___/ / / ____/ _, _// // /| / / / / /___/ _, _/___/ /
/_/ /_/ |_/_____/ /_____/\____/___/_____/_/ /_/ /_/ |_/___/_/ |_/ /_/ /_____/_/ |_|/____/
*/
//===========================================================================
//=========== UNCOMMENT ONLY 1 PRINTER AND 1 MOTHERBOARD AT A TIME ==========
//=========== DO NOT USE IN COMBINATION WITH THE CUSTIMIZE PRINTER ==========
//===========================================================================
//#define DELICIOUS_PRINTER // My personal settings as my setup is custom to me - DELICIOUS
//#define MOTHERBOARD BOARD_CREALITY_V427
//#define ENDER_3_427_CR_BL_TOUCH
//#define MOTHERBOARD BOARD_CREALITY_V427
//#define ENDER_3_422_CR_BL_TOUCH
//#define MOTHERBOARD BOARD_CREALITY_V422
//#define ENDER_3_SKR_MNI_E3_V3_CR_BL_TOUCH
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V3_0
//#define ENDER_3_SKR_MNI_E3_V3_Z_SWITCH
//#define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V3_0
/* ______________ ______ ____ ____ _ ________
/ ____/ _/ __ \/_ __/ / __ \/ __ \/ | / / ____/
/ __/ / // / / / / / / / / / / / / |/ / __/
/ /____/ // /_/ / / / / /_/ / /_/ / /| / /___
/_____/___/_____/ /_/ /_____/\____/_/ |_/_____/
EVERYTHING BELOW THIS IS THE MAGIC SAUCE THAT MAKES THE PRE BUILT PRINTERS WORK
DO NOT TOUCH UNLESS IF YOU KNOW WHAT YOU ARE DOING
*/
// Choose the name from boards.h that matches your setup
#if ENABLED(DELICIOUS_PRINTER) // My personal settings as my setup is custom to me - DELICIOUS
// DRIVERS
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
#define E0_DRIVER_TYPE TMC2208_STANDALONE
// BED LEVELING
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -58, -19, 0 } // Measured - Post-it dot for probe,
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1047
#define HEATER_0_MAXTEMP 500 // Based on hot end, not thermistor or heating element
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 227 // 235 - 8, as the nozzle cannot reach the full bed on the left side, 8mm off from edge
#define Y_BED_SIZE 222 // Cannot reach full bed in the back
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS -16 // 16mm to far infront of the bed, so can reach full bed in front
#define Z_MIN_POS 0
#define X_MAX_POS 247 // The most the nozzle can reach on the right side. Can reach full bed
#define Y_MAX_POS 222 // Cannot reach full bed in the back
#define Z_MAX_POS 200 // Cables are too short at the moment
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 95.10 }
//#define LIN_ADVANCE
//#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Marlin 2.1.2.1"
#define E0_AUTO_FAN_PIN -1
#endif
#if ENABLED(ENDER_3_427_CR_BL_TOUCH)
// DRIVERS
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
#define E0_DRIVER_TYPE TMC2208_STANDALONE
// BED LEVELING
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 275
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 235
#define Y_MAX_POS 235
#define Z_MAX_POS 250
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
//#define LIN_ADVANCE
//#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Ender-3 4.2.7 - Marlin 2.1.2.1"
#define E0_AUTO_FAN_PIN -1
#endif
#if ENABLED(ENDER_3_422_CR_BL_TOUCH)
// DRIVERS
#define X_DRIVER_TYPE A4988
#define Y_DRIVER_TYPE A4988
#define Z_DRIVER_TYPE A4988
#define E0_DRIVER_TYPE A4988
// BED LEVELING
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 275
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 235
#define Y_MAX_POS 235
#define Z_MAX_POS 250
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
//#define LIN_ADVANCE
#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Ender-3 4.2.2 - Marlin 2.1.2.1"
#define E0_AUTO_FAN_PIN -1
#endif
#if ENABLED(ENDER_3_SKR_MNI_E3_V3_CR_BL_TOUCH)
// DRIVERS
#define X_DRIVER_TYPE TMC2209
#define Y_DRIVER_TYPE TMC2209
#define Z_DRIVER_TYPE TMC2209
#define E0_DRIVER_TYPE TMC2209
// BED LEVELING
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 275
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 235
#define Y_MAX_POS 235
#define Z_MAX_POS 250
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
#define LIN_ADVANCE
//#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Ender-3 SKR Mini E3 V3 - Marlin 2.1.2.1"
#define E0_AUTO_FAN_PIN -1
#endif
#if ENABLED(ENDER_3_SKR_MNI_E3_V3_Z_SWITCH)
// DRIVERS
#define X_DRIVER_TYPE TMC2209
#define Y_DRIVER_TYPE TMC2209
#define Z_DRIVER_TYPE TMC2209
#define E0_DRIVER_TYPE TMC2209
// BED LEVELING
//#define BLTOUCH
//#define USE_PROBE_FOR_Z_HOMING
//#define AUTO_BED_LEVELING_BILINEAR
//#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
//#define ASSISTED_TRAMMING
//#define BED_TRAMMING_USE_PROBE
//#define BABYSTEP_ZPROBE_OFFSET
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 275
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 235
#define Y_MAX_POS 235
#define Z_MAX_POS 250
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
#define LIN_ADVANCE
//#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Ender-3 SKR Mini E3 V3 - Marlin 2.1.2.1"
#define E0_AUTO_FAN_PIN -1
#endif
// TEMPLATE
/*
#if ENABLED(TEMPLATE_PRINTER)
// DRIVERS
#define X_DRIVER_TYPE TMC2208_STANDALONE
#define Y_DRIVER_TYPE TMC2208_STANDALONE
#define Z_DRIVER_TYPE TMC2208_STANDALONE
#define E0_DRIVER_TYPE TMC2208_STANDALONE
// BED LEVELING
#define BLTOUCH
#define USE_PROBE_FOR_Z_HOMING
#define AUTO_BED_LEVELING_BILINEAR
#define NOZZLE_TO_PROBE_OFFSET { -40, -8, 0 }
#define ASSISTED_TRAMMING
#define BED_TRAMMING_USE_PROBE
#define BABYSTEP_ZPROBE_OFFSET
#define LCD_BED_LEVELING
// TEMPERATURE SETTINGS
#define TEMP_SENSOR_0 1
#define HEATER_0_MAXTEMP 275
// BED + POSITION
// The size of the printable area
#define X_BED_SIZE 220
#define Y_BED_SIZE 220
// Travel limits after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS 235
#define Y_MAX_POS 235
#define Z_MAX_POS 250
// EXTRAS
#define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 400, 97 }
#define LIN_ADVANCE
#define NO_CREALITY_422_DRIVER_WARNING
// MACHINE NAME
#define CUSTOM_MACHINE_NAME "Ender-3 BOARD NAME - Marlin 2.1.2.1"
#endif
*/
/*
_______ ______
/ ____/ | / / __ \
/ __/ / |/ / / / /
/ /___/ /| / /_/ /
/_____/_/ |_/_____/
*/
#define CONFIGURATION_H_VERSION 02010201
// Author info of this build printed to the host during boot and M115
#define STRING_CONFIG_H_AUTHOR "(A Delicious Man)" // Who made the changes.
//#define CUSTOM_VERSION_FILE Version.h // Path from the root directory (no quotes)
/**
* *** VENDORS PLEASE READ ***
*
* Marlin allows you to add a custom boot image for Graphical LCDs.
* With this option Marlin will first show your custom screen followed
* by the standard Marlin logo with version number and web URL.
*
* We encourage you to take advantage of this new feature and we also
* respectfully request that you retain the unmodified Marlin boot screen.
*/
// Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
#define SHOW_BOOTSCREEN
// Show the bitmap in Marlin/_Bootscreen.h on startup.
#define SHOW_CUSTOM_BOOTSCREEN
// Show the bitmap in Marlin/_Statusscreen.h on the status screen.
#define CUSTOM_STATUS_SCREEN_IMAGE
// @section machine
// Choose the name from boards.h that matches your setup
//#ifndef MOTHERBOARD
// #define MOTHERBOARD BOARD_CREALITY_V427
//#endif
/**
* Select the serial port on the board to use for communication with the host.
* This allows the connection of wireless adapters (for instance) to non-default port pins.
* Serial port -1 is the USB emulated serial port, if available.
* Note: The first serial port (-1 or 0) will always be used by the Arduino bootloader.
*
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT 1
/**
* Serial Port Baud Rate
* This is the default communication speed for all serial ports.
* Set the baud rate defaults for additional serial ports below.
*
* 250000 works in most cases, but you might try a lower speed if
* you commonly experience drop-outs during host printing.
* You may try up to 1000000 to speed up SD file transfer.
*
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
*/
#define BAUDRATE 115200
//#define BAUD_RATE_GCODE // Enable G-code M575 to set the baud rate
/**
* Select a secondary serial port on the board to use for communication with the host.
* Currently Ethernet (-2) is only supported on Teensy 4.1 boards.
* :[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
//#define SERIAL_PORT_2 -1
//#define BAUDRATE_2 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
/**
* Select a third serial port on the board to use for communication with the host.
* Currently only supported for AVR, DUE, LPC1768/9 and STM32/STM32F1
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
//#define SERIAL_PORT_3 1
//#define BAUDRATE_3 250000 // :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000] Enable to override BAUDRATE
// Name displayed in the LCD "Ready" message and Info menu
//#define CUSTOM_MACHINE_NAME "Ender-3 Pro 4.2.7 - Marlin 2.1.2.1"
// Printer's unique ID, used by some programs to differentiate between machines.
// Choose your own or use a service like https://www.uuidgenerator.net/version4
//#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
// @section stepper drivers
/**
* Stepper Drivers
*
* These settings allow Marlin to tune stepper driver timing and enable advanced options for
* stepper drivers that support them. You may also override timing options in Configuration_adv.h.
*
* Use TMC2208/TMC2208_STANDALONE for TMC2225 drivers and TMC2209/TMC2209_STANDALONE for TMC2226 drivers.
*
* Options: A4988, A5984, DRV8825, LV8729, TB6560, TB6600, TMC2100,
* TMC2130, TMC2130_STANDALONE, TMC2160, TMC2160_STANDALONE,
* TMC2208, TMC2208_STANDALONE, TMC2209, TMC2209_STANDALONE,
* TMC26X, TMC26X_STANDALONE, TMC2660, TMC2660_STANDALONE,
* TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
* :['A4988', 'A5984', 'DRV8825', 'LV8729', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
*/
//#define X_DRIVER_TYPE TMC2208_STANDALONE
//#define Y_DRIVER_TYPE TMC2208_STANDALONE
//#define Z_DRIVER_TYPE TMC2208_STANDALONE
//#define X2_DRIVER_TYPE A4988
//#define Y2_DRIVER_TYPE A4988
//#define Z2_DRIVER_TYPE A4988
//#define Z3_DRIVER_TYPE A4988
//#define Z4_DRIVER_TYPE A4988
//#define I_DRIVER_TYPE A4988
//#define J_DRIVER_TYPE A4988
//#define K_DRIVER_TYPE A4988
//#define U_DRIVER_TYPE A4988
//#define V_DRIVER_TYPE A4988
//#define W_DRIVER_TYPE A4988
//#define E0_DRIVER_TYPE TMC2208_STANDALONE
//#define E1_DRIVER_TYPE A4988
//#define E2_DRIVER_TYPE A4988
//#define E3_DRIVER_TYPE A4988
//#define E4_DRIVER_TYPE A4988
//#define E5_DRIVER_TYPE A4988
//#define E6_DRIVER_TYPE A4988
//#define E7_DRIVER_TYPE A4988
/**
* Additional Axis Settings
*
* Define AXISn_ROTATES for all axes that rotate or pivot.
* Rotational axis coordinates are expressed in degrees.
*
* AXISn_NAME defines the letter used to refer to the axis in (most) G-code commands.
* By convention the names and roles are typically:
* 'A' : Rotational axis parallel to X
* 'B' : Rotational axis parallel to Y
* 'C' : Rotational axis parallel to Z
* 'U' : Secondary linear axis parallel to X
* 'V' : Secondary linear axis parallel to Y
* 'W' : Secondary linear axis parallel to Z
*
* Regardless of these settings the axes are internally named I, J, K, U, V, W.
*/
#ifdef I_DRIVER_TYPE
#define AXIS4_NAME 'A' // :['A', 'B', 'C', 'U', 'V', 'W']
#define AXIS4_ROTATES
#endif
#ifdef J_DRIVER_TYPE
#define AXIS5_NAME 'B' // :['B', 'C', 'U', 'V', 'W']
#define AXIS5_ROTATES
#endif
#ifdef K_DRIVER_TYPE
#define AXIS6_NAME 'C' // :['C', 'U', 'V', 'W']
#define AXIS6_ROTATES
#endif
#ifdef U_DRIVER_TYPE
#define AXIS7_NAME 'U' // :['U', 'V', 'W']
//#define AXIS7_ROTATES
#endif
#ifdef V_DRIVER_TYPE
#define AXIS8_NAME 'V' // :['V', 'W']
//#define AXIS8_ROTATES
#endif
#ifdef W_DRIVER_TYPE
#define AXIS9_NAME 'W' // :['W']
//#define AXIS9_ROTATES
#endif
// @section extruder
// This defines the number of extruders
// :[0, 1, 2, 3, 4, 5, 6, 7, 8]
#define EXTRUDERS 1
// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
//===========================================================================
//============================= Thermal Settings ============================
//===========================================================================
// @section temperature
/**
* --NORMAL IS 4.7kΩ PULLUP!-- 1kΩ pullup can be used on hotend sensor, using correct resistor and table
*
* Temperature sensors available:
*
* SPI RTD/Thermocouple Boards - IMPORTANT: Read the NOTE below!
* -------
* -5 : MAX31865 with Pt100/Pt1000, 2, 3, or 4-wire (only for sensors 0-1)
* NOTE: You must uncomment/set the MAX31865_*_OHMS_n defines below.
* -3 : MAX31855 with Thermocouple, -200°C to +700°C (only for sensors 0-1)
* -2 : MAX6675 with Thermocouple, 0°C to +700°C (only for sensors 0-1)
*
* NOTE: Ensure TEMP_n_CS_PIN is set in your pins file for each TEMP_SENSOR_n using an SPI Thermocouple. By default,
* Hardware SPI on the default serial bus is used. If you have also set TEMP_n_SCK_PIN and TEMP_n_MISO_PIN,
* Software SPI will be used on those ports instead. You can force Hardware SPI on the default bus in the
* Configuration_adv.h file. At this time, separate Hardware SPI buses for sensors are not supported.
*
* Analog Themocouple Boards
* -------
* -4 : AD8495 with Thermocouple
* -1 : AD595 with Thermocouple
*
* Analog Thermistors - 4.7kΩ pullup - Normal
* -------
* 1 : 100kΩ EPCOS - Best choice for EPCOS thermistors
* 331 : 100kΩ Same as #1, but 3.3V scaled for MEGA
* 332 : 100kΩ Same as #1, but 3.3V scaled for DUE
* 2 : 200kΩ ATC Semitec 204GT-2
* 202 : 200kΩ Copymaster 3D
* 3 : ???Ω Mendel-parts thermistor
* 4 : 10kΩ Generic Thermistor !! DO NOT use for a hotend - it gives bad resolution at high temp. !!
* 5 : 100kΩ ATC Semitec 104GT-2/104NT-4-R025H42G - Used in ParCan, J-Head, and E3D, SliceEngineering 300°C
* 501 : 100kΩ Zonestar - Tronxy X3A
* 502 : 100kΩ Zonestar - used by hot bed in Zonestar Průša P802M
* 503 : 100kΩ Zonestar (Z8XM2) Heated Bed thermistor
* 504 : 100kΩ Zonestar P802QR2 (Part# QWG-104F-B3950) Hotend Thermistor
* 505 : 100kΩ Zonestar P802QR2 (Part# QWG-104F-3950) Bed Thermistor
* 512 : 100kΩ RPW-Ultra hotend
* 6 : 100kΩ EPCOS - Not as accurate as table #1 (created using a fluke thermocouple)
* 7 : 100kΩ Honeywell 135-104LAG-J01
* 71 : 100kΩ Honeywell 135-104LAF-J01
* 8 : 100kΩ Vishay 0603 SMD NTCS0603E3104FXT
* 9 : 100kΩ GE Sensing AL03006-58.2K-97-G1
* 10 : 100kΩ RS PRO 198-961
* 11 : 100kΩ Keenovo AC silicone mats, most Wanhao i3 machines - beta 3950, 1%
* 12 : 100kΩ Vishay 0603 SMD NTCS0603E3104FXT (#8) - calibrated for Makibox hot bed
* 13 : 100kΩ Hisens up to 300°C - for "Simple ONE" & "All In ONE" hotend - beta 3950, 1%
* 15 : 100kΩ Calibrated for JGAurora A5 hotend
* 18 : 200kΩ ATC Semitec 204GT-2 Dagoma.Fr - MKS_Base_DKU001327
* 22 : 100kΩ GTM32 Pro vB - hotend - 4.7kΩ pullup to 3.3V and 220Ω to analog input
* 23 : 100kΩ GTM32 Pro vB - bed - 4.7kΩ pullup to 3.3v and 220Ω to analog input
* 30 : 100kΩ Kis3d Silicone heating mat 200W/300W with 6mm precision cast plate (EN AW 5083) NTC100K - beta 3950
* 60 : 100kΩ Maker's Tool Works Kapton Bed Thermistor - beta 3950
* 61 : 100kΩ Formbot/Vivedino 350°C Thermistor - beta 3950
* 66 : 4.7MΩ Dyze Design / Trianglelab T-D500 500°C High Temperature Thermistor
* 67 : 500kΩ SliceEngineering 450°C Thermistor
* 68 : PT100 amplifier board from Dyze Design
* 70 : 100kΩ bq Hephestos 2
* 75 : 100kΩ Generic Silicon Heat Pad with NTC100K MGB18-104F39050L32
* 2000 : 100kΩ Ultimachine Rambo TDK NTCG104LH104KT1 NTC100K motherboard Thermistor
*
* Analog Thermistors - 1kΩ pullup - Atypical, and requires changing out the 4.7kΩ pullup for 1kΩ.
* ------- (but gives greater accuracy and more stable PID)
* 51 : 100kΩ EPCOS (1kΩ pullup)
* 52 : 200kΩ ATC Semitec 204GT-2 (1kΩ pullup)
* 55 : 100kΩ ATC Semitec 104GT-2 - Used in ParCan & J-Head (1kΩ pullup)
*
* Analog Thermistors - 10kΩ pullup - Atypical
* -------
* 99 : 100kΩ Found on some Wanhao i3 machines with a 10kΩ pull-up resistor
*
* Analog RTDs (Pt100/Pt1000)
* -------
* 110 : Pt100 with 1kΩ pullup (atypical)
* 147 : Pt100 with 4.7kΩ pullup
* 1010 : Pt1000 with 1kΩ pullup (atypical)
* 1022 : Pt1000 with 2.2kΩ pullup
* 1047 : Pt1000 with 4.7kΩ pullup (E3D)
* 20 : Pt100 with circuit in the Ultimainboard V2.x with mainboard ADC reference voltage = INA826 amplifier-board supply voltage.
* NOTE: (1) Must use an ADC input with no pullup. (2) Some INA826 amplifiers are unreliable at 3.3V so consider using sensor 147, 110, or 21.
* 21 : Pt100 with circuit in the Ultimainboard V2.x with 3.3v ADC reference voltage (STM32, LPC176x....) and 5V INA826 amplifier board supply.
* NOTE: ADC pins are not 5V tolerant. Not recommended because it's possible to damage the CPU by going over 500°C.
* 201 : Pt100 with circuit in Overlord, similar to Ultimainboard V2.x
*
* Custom/Dummy/Other Thermal Sensors
* ------
* 0 : not used
* 1000 : Custom - Specify parameters in Configuration_adv.h
*
* !!! Use these for Testing or Development purposes. NEVER for production machine. !!!
* 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below.
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
*
*/
//#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0
#define TEMP_SENSOR_4 0
#define TEMP_SENSOR_5 0
#define TEMP_SENSOR_6 0
#define TEMP_SENSOR_7 0
#define TEMP_SENSOR_BED 1
#define TEMP_SENSOR_PROBE 0
#define TEMP_SENSOR_COOLER 0
#define TEMP_SENSOR_BOARD 0
#define TEMP_SENSOR_REDUNDANT 0
// Dummy thermistor constant temperature readings, for use with 998 and 999
#define DUMMY_THERMISTOR_998_VALUE 25
#define DUMMY_THERMISTOR_999_VALUE 100
// Resistor values when using MAX31865 sensors (-5) on TEMP_SENSOR_0 / 1
#if TEMP_SENSOR_IS_MAX_TC(0)
#define MAX31865_SENSOR_OHMS_0 100 // (Ω) Typically 100 or 1000 (PT100 or PT1000)
#define MAX31865_CALIBRATION_OHMS_0 430 // (Ω) Typically 430 for Adafruit PT100; 4300 for Adafruit PT1000
#endif
#if TEMP_SENSOR_IS_MAX_TC(1)
#define MAX31865_SENSOR_OHMS_1 100
#define MAX31865_CALIBRATION_OHMS_1 430
#endif
#if TEMP_SENSOR_IS_MAX_TC(2)
#define MAX31865_SENSOR_OHMS_2 100
#define MAX31865_CALIBRATION_OHMS_2 430
#endif
#if HAS_E_TEMP_SENSOR
#define TEMP_RESIDENCY_TIME 10 // (seconds) Time to wait for hotend to "settle" in M109
#define TEMP_WINDOW 1 // (°C) Temperature proximity for the "temperature reached" timer
#define TEMP_HYSTERESIS 3 // (°C) Temperature proximity considered "close enough" to the target
#endif
#if TEMP_SENSOR_BED
#define TEMP_BED_RESIDENCY_TIME 10 // (seconds) Time to wait for bed to "settle" in M190