My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

thermistortable_20.h 3.3KB

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