My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

thermistortable_20.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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 (THERMISTORBED == 20)
  42. #define HEATER_BED_RAW_HI_TEMP 16383
  43. #define HEATER_BED_RAW_LO_TEMP 0
  44. #endif
  45. const short temptable_20[][2] PROGMEM = {
  46. { 0 * OVERSAMPLENR, 0 },
  47. { 227 * OVERSAMPLENR, 1 },
  48. { 236 * OVERSAMPLENR, 10 },
  49. { 245 * OVERSAMPLENR, 20 },
  50. { 253 * OVERSAMPLENR, 30 },
  51. { 262 * OVERSAMPLENR, 40 },
  52. { 270 * OVERSAMPLENR, 50 },
  53. { 279 * OVERSAMPLENR, 60 },
  54. { 287 * OVERSAMPLENR, 70 },
  55. { 295 * OVERSAMPLENR, 80 },
  56. { 304 * OVERSAMPLENR, 90 },
  57. { 312 * OVERSAMPLENR, 100 },
  58. { 320 * OVERSAMPLENR, 110 },
  59. { 329 * OVERSAMPLENR, 120 },
  60. { 337 * OVERSAMPLENR, 130 },
  61. { 345 * OVERSAMPLENR, 140 },
  62. { 353 * OVERSAMPLENR, 150 },
  63. { 361 * OVERSAMPLENR, 160 },
  64. { 369 * OVERSAMPLENR, 170 },
  65. { 377 * OVERSAMPLENR, 180 },
  66. { 385 * OVERSAMPLENR, 190 },
  67. { 393 * OVERSAMPLENR, 200 },
  68. { 401 * OVERSAMPLENR, 210 },
  69. { 409 * OVERSAMPLENR, 220 },
  70. { 417 * OVERSAMPLENR, 230 },
  71. { 424 * OVERSAMPLENR, 240 },
  72. { 432 * OVERSAMPLENR, 250 },
  73. { 440 * OVERSAMPLENR, 260 },
  74. { 447 * OVERSAMPLENR, 270 },
  75. { 455 * OVERSAMPLENR, 280 },
  76. { 463 * OVERSAMPLENR, 290 },
  77. { 470 * OVERSAMPLENR, 300 },
  78. { 478 * OVERSAMPLENR, 310 },
  79. { 485 * OVERSAMPLENR, 320 },
  80. { 493 * OVERSAMPLENR, 330 },
  81. { 500 * OVERSAMPLENR, 340 },
  82. { 507 * OVERSAMPLENR, 350 },
  83. { 515 * OVERSAMPLENR, 360 },
  84. { 522 * OVERSAMPLENR, 370 },
  85. { 529 * OVERSAMPLENR, 380 },
  86. { 537 * OVERSAMPLENR, 390 },
  87. { 544 * OVERSAMPLENR, 400 },
  88. { 614 * OVERSAMPLENR, 500 },
  89. { 681 * OVERSAMPLENR, 600 },
  90. { 744 * OVERSAMPLENR, 700 },
  91. { 805 * OVERSAMPLENR, 800 },
  92. { 862 * OVERSAMPLENR, 900 },
  93. { 917 * OVERSAMPLENR, 1000 },
  94. { 968 * OVERSAMPLENR, 1100 }
  95. };