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.

thermistortable_20.h 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. // PT100 with INA826 amp on Ultimaker v2.0 electronics
  23. // The PT100 in the Ultimaker v2.0 electronics has a high sample value for a high temperature.
  24. // This does not match the normal thermistor behaviour so we need to set the following defines
  25. #if THERMISTORHEATER_0 == 20
  26. #define HEATER_0_RAW_HI_TEMP 16383
  27. #define HEATER_0_RAW_LO_TEMP 0
  28. #endif
  29. #if THERMISTORHEATER_1 == 20
  30. #define HEATER_1_RAW_HI_TEMP 16383
  31. #define HEATER_1_RAW_LO_TEMP 0
  32. #endif
  33. #if THERMISTORHEATER_2 == 20
  34. #define HEATER_2_RAW_HI_TEMP 16383
  35. #define HEATER_2_RAW_LO_TEMP 0
  36. #endif
  37. #if THERMISTORHEATER_3 == 20
  38. #define HEATER_3_RAW_HI_TEMP 16383
  39. #define HEATER_3_RAW_LO_TEMP 0
  40. #endif
  41. #if THERMISTORHEATER_4 == 20
  42. #define HEATER_4_RAW_HI_TEMP 16383
  43. #define HEATER_4_RAW_LO_TEMP 0
  44. #endif
  45. #if THERMISTORBED == 20
  46. #define HEATER_BED_RAW_HI_TEMP 16383
  47. #define HEATER_BED_RAW_LO_TEMP 0
  48. #endif
  49. const short temptable_20[][2] PROGMEM = {
  50. { OV( 0), 0 },
  51. { OV(227), 1 },
  52. { OV(236), 10 },
  53. { OV(245), 20 },
  54. { OV(253), 30 },
  55. { OV(262), 40 },
  56. { OV(270), 50 },
  57. { OV(279), 60 },
  58. { OV(287), 70 },
  59. { OV(295), 80 },
  60. { OV(304), 90 },
  61. { OV(312), 100 },
  62. { OV(320), 110 },
  63. { OV(329), 120 },
  64. { OV(337), 130 },
  65. { OV(345), 140 },
  66. { OV(353), 150 },
  67. { OV(361), 160 },
  68. { OV(369), 170 },
  69. { OV(377), 180 },
  70. { OV(385), 190 },
  71. { OV(393), 200 },
  72. { OV(401), 210 },
  73. { OV(409), 220 },
  74. { OV(417), 230 },
  75. { OV(424), 240 },
  76. { OV(432), 250 },
  77. { OV(440), 260 },
  78. { OV(447), 270 },
  79. { OV(455), 280 },
  80. { OV(463), 290 },
  81. { OV(470), 300 },
  82. { OV(478), 310 },
  83. { OV(485), 320 },
  84. { OV(493), 330 },
  85. { OV(500), 340 },
  86. { OV(507), 350 },
  87. { OV(515), 360 },
  88. { OV(522), 370 },
  89. { OV(529), 380 },
  90. { OV(537), 390 },
  91. { OV(544), 400 },
  92. { OV(614), 500 },
  93. { OV(681), 600 },
  94. { OV(744), 700 },
  95. { OV(805), 800 },
  96. { OV(862), 900 },
  97. { OV(917), 1000 },
  98. { OV(968), 1100 }
  99. };