My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

thermistortables.h 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. #ifndef THERMISTORTABLES_H_
  2. #define THERMISTORTABLES_H_
  3. #if (THERMISTORHEATER == 1) || (THERMISTORBED == 1) //100k bed thermistor
  4. #define NUMTEMPS_1 61
  5. const short temptable_1[NUMTEMPS_1][2] = {
  6. { (23*16) , 300 },
  7. { (25*16) , 295 },
  8. { (27*16) , 290 },
  9. { (28*16) , 285 },
  10. { (31*16) , 280 },
  11. { (33*16) , 275 },
  12. { (35*16) , 270 },
  13. { (38*16) , 265 },
  14. { (41*16) , 260 },
  15. { (44*16) , 255 },
  16. { (48*16) , 250 },
  17. { (52*16) , 245 },
  18. { (56*16) , 240 },
  19. { (61*16) , 235 },
  20. { (66*16) , 230 },
  21. { (71*16) , 225 },
  22. { (78*16) , 220 },
  23. { (84*16) , 215 },
  24. { (92*16) , 210 },
  25. { (100*16), 205 },
  26. { (109*16), 200 },
  27. { (120*16), 195 },
  28. { (131*16), 190 },
  29. { (143*16), 185 },
  30. { (156*16), 180 },
  31. { (171*16), 175 },
  32. { (187*16), 170 },
  33. { (205*16), 165 },
  34. { (224*16), 160 },
  35. { (245*16), 155 },
  36. { (268*16), 150 },
  37. { (293*16), 145 },
  38. { (320*16), 140 },
  39. { (348*16), 135 },
  40. { (379*16), 130 },
  41. { (411*16), 125 },
  42. { (445*16), 120 },
  43. { (480*16), 115 },
  44. { (516*16), 110 },
  45. { (553*16), 105 },
  46. { (591*16), 100 },
  47. { (628*16), 95 },
  48. { (665*16), 90 },
  49. { (702*16), 85 },
  50. { (737*16), 80 },
  51. { (770*16), 75 },
  52. { (801*16), 70 },
  53. { (830*16), 65 },
  54. { (857*16), 60 },
  55. { (881*16), 55 },
  56. { (903*16), 50 },
  57. { (922*16), 45 },
  58. { (939*16), 40 },
  59. { (954*16), 35 },
  60. { (966*16), 30 },
  61. { (977*16), 25 },
  62. { (985*16), 20 },
  63. { (993*16), 15 },
  64. { (999*16), 10 },
  65. { (1004*16), 5 },
  66. { (1008*16), 0 } //safety
  67. };
  68. #endif
  69. #if (THERMISTORHEATER == 2) || (THERMISTORBED == 2) //200k bed thermistor
  70. #define NUMTEMPS_2 21
  71. const short temptable_2[NUMTEMPS_2][2] = {
  72. {(1*16), 848},
  73. {(54*16), 275},
  74. {(107*16), 228},
  75. {(160*16), 202},
  76. {(213*16), 185},
  77. {(266*16), 171},
  78. {(319*16), 160},
  79. {(372*16), 150},
  80. {(425*16), 141},
  81. {(478*16), 133},
  82. {(531*16), 125},
  83. {(584*16), 118},
  84. {(637*16), 110},
  85. {(690*16), 103},
  86. {(743*16), 95},
  87. {(796*16), 86},
  88. {(849*16), 77},
  89. {(902*16), 65},
  90. {(955*16), 49},
  91. {(1008*16), 17},
  92. {(1020*16), 0} //safety
  93. };
  94. #endif
  95. #if (THERMISTORHEATER == 3) || (THERMISTORBED == 3) //mendel-parts
  96. #define NUMTEMPS_3 28
  97. const short temptable_3[NUMTEMPS_3][2] = {
  98. {(1*16),864},
  99. {(21*16),300},
  100. {(25*16),290},
  101. {(29*16),280},
  102. {(33*16),270},
  103. {(39*16),260},
  104. {(46*16),250},
  105. {(54*16),240},
  106. {(64*16),230},
  107. {(75*16),220},
  108. {(90*16),210},
  109. {(107*16),200},
  110. {(128*16),190},
  111. {(154*16),180},
  112. {(184*16),170},
  113. {(221*16),160},
  114. {(265*16),150},
  115. {(316*16),140},
  116. {(375*16),130},
  117. {(441*16),120},
  118. {(513*16),110},
  119. {(588*16),100},
  120. {(734*16),80},
  121. {(856*16),60},
  122. {(938*16),40},
  123. {(986*16),20},
  124. {(1008*16),0},
  125. {(1018*16),-20}
  126. };
  127. #endif
  128. #if THERMISTORHEATER == 1
  129. #define NUMTEMPS NUMTEMPS_1
  130. #define temptable temptable_1
  131. #elif THERMISTORHEATER == 2
  132. #define NUMTEMPS NUMTEMPS_2
  133. #define temptable temptable_2
  134. #elif THERMISTORHEATER == 3
  135. #define NUMTEMPS NUMTEMPS_3
  136. #define temptable temptable_3
  137. #else
  138. #error No heater thermistor table specified
  139. #endif
  140. #endif //THERMISTORTABLES_H_