|
@@ -563,78 +563,135 @@ const short temptable_10[][2] PROGMEM = {
|
563
|
563
|
{1016*OVERSAMPLENR, 0}
|
564
|
564
|
};
|
565
|
565
|
#endif
|
566
|
|
-
|
567
|
|
-#if (THERMISTORHEATER_0 == 20) || (THERMISTORHEATER_1 == 20) || (THERMISTORHEATER_2 == 20) || (THERMISTORBED == 20) // PT100 with INA826 amp on Ultimaker v2.0 electronics
|
568
|
|
-/* The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
|
569
|
|
-This does not match the normal thermistor behaviour so we need to set the following defines */
|
570
|
|
-#if (THERMISTORHEATER_0 == 20)
|
571
|
|
-# define HEATER_0_RAW_HI_TEMP 16383
|
572
|
|
-# define HEATER_0_RAW_LO_TEMP 0
|
573
|
|
-#endif
|
574
|
|
-#if (THERMISTORHEATER_1 == 20)
|
575
|
|
-# define HEATER_1_RAW_HI_TEMP 16383
|
576
|
|
-# define HEATER_1_RAW_LO_TEMP 0
|
577
|
|
-#endif
|
578
|
|
-#if (THERMISTORHEATER_2 == 20)
|
579
|
|
-# define HEATER_2_RAW_HI_TEMP 16383
|
580
|
|
-# define HEATER_2_RAW_LO_TEMP 0
|
581
|
|
-#endif
|
582
|
|
-#if (THERMISTORBED == 20)
|
583
|
|
-# define HEATER_BED_RAW_HI_TEMP 16383
|
584
|
|
-# define HEATER_BED_RAW_LO_TEMP 0
|
585
|
|
-#endif
|
586
|
|
-const short temptable_20[][2] PROGMEM = {
|
587
|
|
-{ 0*OVERSAMPLENR , 0 },
|
588
|
|
-{ 227*OVERSAMPLENR , 1 },
|
589
|
|
-{ 236*OVERSAMPLENR , 10 },
|
590
|
|
-{ 245*OVERSAMPLENR , 20 },
|
591
|
|
-{ 253*OVERSAMPLENR , 30 },
|
592
|
|
-{ 262*OVERSAMPLENR , 40 },
|
593
|
|
-{ 270*OVERSAMPLENR , 50 },
|
594
|
|
-{ 279*OVERSAMPLENR , 60 },
|
595
|
|
-{ 287*OVERSAMPLENR , 70 },
|
596
|
|
-{ 295*OVERSAMPLENR , 80 },
|
597
|
|
-{ 304*OVERSAMPLENR , 90 },
|
598
|
|
-{ 312*OVERSAMPLENR , 100 },
|
599
|
|
-{ 320*OVERSAMPLENR , 110 },
|
600
|
|
-{ 329*OVERSAMPLENR , 120 },
|
601
|
|
-{ 337*OVERSAMPLENR , 130 },
|
602
|
|
-{ 345*OVERSAMPLENR , 140 },
|
603
|
|
-{ 353*OVERSAMPLENR , 150 },
|
604
|
|
-{ 361*OVERSAMPLENR , 160 },
|
605
|
|
-{ 369*OVERSAMPLENR , 170 },
|
606
|
|
-{ 377*OVERSAMPLENR , 180 },
|
607
|
|
-{ 385*OVERSAMPLENR , 190 },
|
608
|
|
-{ 393*OVERSAMPLENR , 200 },
|
609
|
|
-{ 401*OVERSAMPLENR , 210 },
|
610
|
|
-{ 409*OVERSAMPLENR , 220 },
|
611
|
|
-{ 417*OVERSAMPLENR , 230 },
|
612
|
|
-{ 424*OVERSAMPLENR , 240 },
|
613
|
|
-{ 432*OVERSAMPLENR , 250 },
|
614
|
|
-{ 440*OVERSAMPLENR , 260 },
|
615
|
|
-{ 447*OVERSAMPLENR , 270 },
|
616
|
|
-{ 455*OVERSAMPLENR , 280 },
|
617
|
|
-{ 463*OVERSAMPLENR , 290 },
|
618
|
|
-{ 470*OVERSAMPLENR , 300 },
|
619
|
|
-{ 478*OVERSAMPLENR , 310 },
|
620
|
|
-{ 485*OVERSAMPLENR , 320 },
|
621
|
|
-{ 493*OVERSAMPLENR , 330 },
|
622
|
|
-{ 500*OVERSAMPLENR , 340 },
|
623
|
|
-{ 507*OVERSAMPLENR , 350 },
|
624
|
|
-{ 515*OVERSAMPLENR , 360 },
|
625
|
|
-{ 522*OVERSAMPLENR , 370 },
|
626
|
|
-{ 529*OVERSAMPLENR , 380 },
|
627
|
|
-{ 537*OVERSAMPLENR , 390 },
|
628
|
|
-{ 544*OVERSAMPLENR , 400 },
|
629
|
|
-{ 614*OVERSAMPLENR , 500 },
|
630
|
|
-{ 681*OVERSAMPLENR , 600 },
|
631
|
|
-{ 744*OVERSAMPLENR , 700 },
|
632
|
|
-{ 805*OVERSAMPLENR , 800 },
|
633
|
|
-{ 862*OVERSAMPLENR , 900 },
|
634
|
|
-{ 917*OVERSAMPLENR , 1000 },
|
635
|
|
-{ 968*OVERSAMPLENR , 1100 }
|
636
|
|
-};
|
637
|
|
-#endif
|
|
566
|
+
|
|
567
|
+#if (THERMISTORHEATER_0 == 11) || (THERMISTORHEATER_1 == 11) || (THERMISTORHEATER_2 == 11) || (THERMISTORBED == 11)
|
|
568
|
+// QU-BD silicone bed QWG-104F-3950 thermistor
|
|
569
|
+
|
|
570
|
+const short temptable_11[][2] PROGMEM = {
|
|
571
|
+ {1*OVERSAMPLENR, 938},
|
|
572
|
+ {31*OVERSAMPLENR, 314},
|
|
573
|
+ {41*OVERSAMPLENR, 290},
|
|
574
|
+ {51*OVERSAMPLENR, 272},
|
|
575
|
+ {61*OVERSAMPLENR, 258},
|
|
576
|
+ {71*OVERSAMPLENR, 247},
|
|
577
|
+ {81*OVERSAMPLENR, 237},
|
|
578
|
+ {91*OVERSAMPLENR, 229},
|
|
579
|
+ {101*OVERSAMPLENR, 221},
|
|
580
|
+ {111*OVERSAMPLENR, 215},
|
|
581
|
+ {121*OVERSAMPLENR, 209},
|
|
582
|
+ {131*OVERSAMPLENR, 204},
|
|
583
|
+ {141*OVERSAMPLENR, 199},
|
|
584
|
+ {151*OVERSAMPLENR, 195},
|
|
585
|
+ {161*OVERSAMPLENR, 190},
|
|
586
|
+ {171*OVERSAMPLENR, 187},
|
|
587
|
+ {181*OVERSAMPLENR, 183},
|
|
588
|
+ {191*OVERSAMPLENR, 179},
|
|
589
|
+ {201*OVERSAMPLENR, 176},
|
|
590
|
+ {221*OVERSAMPLENR, 170},
|
|
591
|
+ {241*OVERSAMPLENR, 165},
|
|
592
|
+ {261*OVERSAMPLENR, 160},
|
|
593
|
+ {281*OVERSAMPLENR, 155},
|
|
594
|
+ {301*OVERSAMPLENR, 150},
|
|
595
|
+ {331*OVERSAMPLENR, 144},
|
|
596
|
+ {361*OVERSAMPLENR, 139},
|
|
597
|
+ {391*OVERSAMPLENR, 133},
|
|
598
|
+ {421*OVERSAMPLENR, 128},
|
|
599
|
+ {451*OVERSAMPLENR, 123},
|
|
600
|
+ {491*OVERSAMPLENR, 117},
|
|
601
|
+ {531*OVERSAMPLENR, 111},
|
|
602
|
+ {571*OVERSAMPLENR, 105},
|
|
603
|
+ {611*OVERSAMPLENR, 100},
|
|
604
|
+ {641*OVERSAMPLENR, 95},
|
|
605
|
+ {681*OVERSAMPLENR, 90},
|
|
606
|
+ {711*OVERSAMPLENR, 85},
|
|
607
|
+ {751*OVERSAMPLENR, 79},
|
|
608
|
+ {791*OVERSAMPLENR, 72},
|
|
609
|
+ {811*OVERSAMPLENR, 69},
|
|
610
|
+ {831*OVERSAMPLENR, 65},
|
|
611
|
+ {871*OVERSAMPLENR, 57},
|
|
612
|
+ {881*OVERSAMPLENR, 55},
|
|
613
|
+ {901*OVERSAMPLENR, 51},
|
|
614
|
+ {921*OVERSAMPLENR, 45},
|
|
615
|
+ {941*OVERSAMPLENR, 39},
|
|
616
|
+ {971*OVERSAMPLENR, 28},
|
|
617
|
+ {981*OVERSAMPLENR, 23},
|
|
618
|
+ {991*OVERSAMPLENR, 17},
|
|
619
|
+ {1001*OVERSAMPLENR, 9},
|
|
620
|
+ {1021*OVERSAMPLENR, -27}
|
|
621
|
+};
|
|
622
|
+#endif
|
|
623
|
+
|
|
624
|
+#if (THERMISTORHEATER_0 == 20) || (THERMISTORHEATER_1 == 20) || (THERMISTORHEATER_2 == 20) || (THERMISTORBED == 20) // PT100 with INA826 amp on Ultimaker v2.0 electronics
|
|
625
|
+/* The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
|
|
626
|
+This does not match the normal thermistor behaviour so we need to set the following defines */
|
|
627
|
+#if (THERMISTORHEATER_0 == 20)
|
|
628
|
+# define HEATER_0_RAW_HI_TEMP 16383
|
|
629
|
+# define HEATER_0_RAW_LO_TEMP 0
|
|
630
|
+#endif
|
|
631
|
+#if (THERMISTORHEATER_1 == 20)
|
|
632
|
+# define HEATER_1_RAW_HI_TEMP 16383
|
|
633
|
+# define HEATER_1_RAW_LO_TEMP 0
|
|
634
|
+#endif
|
|
635
|
+#if (THERMISTORHEATER_2 == 20)
|
|
636
|
+# define HEATER_2_RAW_HI_TEMP 16383
|
|
637
|
+# define HEATER_2_RAW_LO_TEMP 0
|
|
638
|
+#endif
|
|
639
|
+#if (THERMISTORBED == 20)
|
|
640
|
+# define HEATER_BED_RAW_HI_TEMP 16383
|
|
641
|
+# define HEATER_BED_RAW_LO_TEMP 0
|
|
642
|
+#endif
|
|
643
|
+const short temptable_20[][2] PROGMEM = {
|
|
644
|
+{ 0*OVERSAMPLENR , 0 },
|
|
645
|
+{ 227*OVERSAMPLENR , 1 },
|
|
646
|
+{ 236*OVERSAMPLENR , 10 },
|
|
647
|
+{ 245*OVERSAMPLENR , 20 },
|
|
648
|
+{ 253*OVERSAMPLENR , 30 },
|
|
649
|
+{ 262*OVERSAMPLENR , 40 },
|
|
650
|
+{ 270*OVERSAMPLENR , 50 },
|
|
651
|
+{ 279*OVERSAMPLENR , 60 },
|
|
652
|
+{ 287*OVERSAMPLENR , 70 },
|
|
653
|
+{ 295*OVERSAMPLENR , 80 },
|
|
654
|
+{ 304*OVERSAMPLENR , 90 },
|
|
655
|
+{ 312*OVERSAMPLENR , 100 },
|
|
656
|
+{ 320*OVERSAMPLENR , 110 },
|
|
657
|
+{ 329*OVERSAMPLENR , 120 },
|
|
658
|
+{ 337*OVERSAMPLENR , 130 },
|
|
659
|
+{ 345*OVERSAMPLENR , 140 },
|
|
660
|
+{ 353*OVERSAMPLENR , 150 },
|
|
661
|
+{ 361*OVERSAMPLENR , 160 },
|
|
662
|
+{ 369*OVERSAMPLENR , 170 },
|
|
663
|
+{ 377*OVERSAMPLENR , 180 },
|
|
664
|
+{ 385*OVERSAMPLENR , 190 },
|
|
665
|
+{ 393*OVERSAMPLENR , 200 },
|
|
666
|
+{ 401*OVERSAMPLENR , 210 },
|
|
667
|
+{ 409*OVERSAMPLENR , 220 },
|
|
668
|
+{ 417*OVERSAMPLENR , 230 },
|
|
669
|
+{ 424*OVERSAMPLENR , 240 },
|
|
670
|
+{ 432*OVERSAMPLENR , 250 },
|
|
671
|
+{ 440*OVERSAMPLENR , 260 },
|
|
672
|
+{ 447*OVERSAMPLENR , 270 },
|
|
673
|
+{ 455*OVERSAMPLENR , 280 },
|
|
674
|
+{ 463*OVERSAMPLENR , 290 },
|
|
675
|
+{ 470*OVERSAMPLENR , 300 },
|
|
676
|
+{ 478*OVERSAMPLENR , 310 },
|
|
677
|
+{ 485*OVERSAMPLENR , 320 },
|
|
678
|
+{ 493*OVERSAMPLENR , 330 },
|
|
679
|
+{ 500*OVERSAMPLENR , 340 },
|
|
680
|
+{ 507*OVERSAMPLENR , 350 },
|
|
681
|
+{ 515*OVERSAMPLENR , 360 },
|
|
682
|
+{ 522*OVERSAMPLENR , 370 },
|
|
683
|
+{ 529*OVERSAMPLENR , 380 },
|
|
684
|
+{ 537*OVERSAMPLENR , 390 },
|
|
685
|
+{ 544*OVERSAMPLENR , 400 },
|
|
686
|
+{ 614*OVERSAMPLENR , 500 },
|
|
687
|
+{ 681*OVERSAMPLENR , 600 },
|
|
688
|
+{ 744*OVERSAMPLENR , 700 },
|
|
689
|
+{ 805*OVERSAMPLENR , 800 },
|
|
690
|
+{ 862*OVERSAMPLENR , 900 },
|
|
691
|
+{ 917*OVERSAMPLENR , 1000 },
|
|
692
|
+{ 968*OVERSAMPLENR , 1100 }
|
|
693
|
+};
|
|
694
|
+#endif
|
638
|
695
|
|
639
|
696
|
#if (THERMISTORHEATER_0 == 51) || (THERMISTORHEATER_1 == 51) || (THERMISTORHEATER_2 == 51) || (THERMISTORBED == 51)
|
640
|
697
|
// 100k EPCOS (WITH 1kohm RESISTOR FOR PULLUP, R9 ON SANGUINOLOLU! NOT FOR 4.7kohm PULLUP! THIS IS NOT NORMAL!)
|