My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_DUE3DOM_MINI.h 5.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * DUE3DOM MINI pin assignments
  25. */
  26. #include "env_validate.h"
  27. #define BOARD_INFO_NAME "DUE3DOM MINI"
  28. //
  29. // Servos
  30. //
  31. #define SERVO0_PIN 5
  32. #define SERVO1_PIN 6
  33. #define SERVO2_PIN 8 // 4-pin header FAN0
  34. #define SERVO3_PIN -1
  35. //
  36. // Limit Switches
  37. //
  38. #define X_STOP_PIN 38
  39. #define Y_STOP_PIN 34
  40. #define Z_STOP_PIN 30
  41. //
  42. // Steppers
  43. //
  44. #define X_STEP_PIN 17
  45. #define X_DIR_PIN 16
  46. #define X_ENABLE_PIN 22
  47. #define Y_STEP_PIN 2
  48. #define Y_DIR_PIN 3
  49. #define Y_ENABLE_PIN 26
  50. #define Z_STEP_PIN 64
  51. #define Z_DIR_PIN 63
  52. #define Z_ENABLE_PIN 15
  53. #define E0_STEP_PIN 61
  54. #define E0_DIR_PIN 60
  55. #define E0_ENABLE_PIN 62
  56. //
  57. // Temperature Sensors
  58. //
  59. #define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
  60. #define TEMP_1_PIN 2 // Analog Input (unused)
  61. #define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
  62. #define TEMP_BOARD_PIN 5 // Analog Input (OnBoard thermistor beta 3950)
  63. // SPI for MAX Thermocouple
  64. #if DISABLED(SDSUPPORT)
  65. #define TEMP_0_CS_PIN 53
  66. #else
  67. #define TEMP_0_CS_PIN 53
  68. #endif
  69. //
  70. // Heaters / Fans
  71. //
  72. #define HEATER_0_PIN 13 // HOTEND0 MOSFET
  73. #define HEATER_BED_PIN 7 // BED MOSFET
  74. #ifndef FAN_PIN
  75. #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
  76. #endif
  77. #define FAN1_PIN 12 // FAN2 header on board - CONTROLLER FAN
  78. #define FAN2_PIN 9 // FAN3 header on board - EXTRUDER0 FAN
  79. //#define FAN3_PIN 8 // FAN0 4-pin header on board
  80. //
  81. // Misc. Functions
  82. //
  83. #define SDSS 4
  84. #define PS_ON_PIN 40
  85. //
  86. // LCD / Controller
  87. //
  88. #if HAS_WIRED_LCD
  89. #define LCD_PINS_RS 42
  90. #define LCD_PINS_ENABLE 43
  91. #define LCD_PINS_D4 44
  92. #define LCD_PINS_D5 45
  93. #define LCD_PINS_D6 46
  94. #define LCD_PINS_D7 47
  95. #if IS_RRD_SC
  96. #define BEEPER_PIN 41
  97. #define BTN_EN1 50
  98. #define BTN_EN2 52
  99. #define BTN_ENC 48
  100. #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
  101. #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
  102. #endif
  103. #define SD_DETECT_PIN 14
  104. #elif ENABLED(RADDS_DISPLAY)
  105. #define BEEPER_PIN 41
  106. #define BTN_EN1 50
  107. #define BTN_EN2 52
  108. #define BTN_ENC 48
  109. #define BTN_BACK 71
  110. #define SD_DETECT_PIN 14
  111. #elif HAS_U8GLIB_I2C_OLED
  112. #define BTN_EN1 50
  113. #define BTN_EN2 52
  114. #define BTN_ENC 48
  115. #define BEEPER_PIN 41
  116. #define LCD_SDSS SDSS
  117. #define SD_DETECT_PIN 14
  118. #elif ENABLED(SPARK_FULL_GRAPHICS)
  119. #define LCD_PINS_D4 29
  120. #define LCD_PINS_ENABLE 27
  121. #define LCD_PINS_RS 25
  122. #define BTN_EN1 35
  123. #define BTN_EN2 33
  124. #define BTN_ENC 37
  125. #define BEEPER_PIN -1
  126. #elif ENABLED(MINIPANEL)
  127. #define BTN_EN1 52
  128. #define BTN_EN2 50
  129. #define BTN_ENC 48
  130. #define LCD_SDSS SDSS
  131. #define SD_DETECT_PIN 14
  132. #define BEEPER_PIN 41
  133. #define DOGLCD_A0 46
  134. #define DOGLCD_CS 45
  135. #endif
  136. #endif // HAS_WIRED_LCD