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.

pins_DUE3DOM_MINI.h 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. /**
  23. * DUE3DOM MINI pin assignments
  24. */
  25. #ifndef __SAM3X8E__
  26. #error "Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu."
  27. #endif
  28. #define BOARD_NAME "DUE3DOM MINI"
  29. //
  30. // Servos
  31. //
  32. #define SERVO0_PIN 5
  33. #define SERVO1_PIN 6
  34. #define SERVO2_PIN 8 // 4-pin header FAN0
  35. #define SERVO3_PIN -1
  36. //
  37. // Limit Switches
  38. //
  39. #define X_MIN_PIN 38
  40. #define X_MAX_PIN -1
  41. #define Y_MIN_PIN 34
  42. #define Y_MAX_PIN -1
  43. #define Z_MIN_PIN 30
  44. #define Z_MAX_PIN -1
  45. //
  46. // Steppers
  47. //
  48. #define X_STEP_PIN 17
  49. #define X_DIR_PIN 16
  50. #define X_ENABLE_PIN 22
  51. #define Y_STEP_PIN 2
  52. #define Y_DIR_PIN 3
  53. #define Y_ENABLE_PIN 26
  54. #define Z_STEP_PIN 64
  55. #define Z_DIR_PIN 63
  56. #define Z_ENABLE_PIN 15
  57. #define E0_STEP_PIN 61
  58. #define E0_DIR_PIN 60
  59. #define E0_ENABLE_PIN 62
  60. //
  61. // Temperature Sensors
  62. //
  63. #define TEMP_0_PIN 0 // Analog Input (HOTEND0 thermistor)
  64. #define TEMP_1_PIN 2 // Analog Input (unused)
  65. #define TEMP_2_PIN 5 // Analog Input (OnBoard thermistor beta 3950)
  66. #define TEMP_BED_PIN 1 // Analog Input (BED thermistor)
  67. // SPI for Max6675 or Max31855 Thermocouple
  68. #if DISABLED(SDSUPPORT)
  69. #define MAX6675_SS 53
  70. #else
  71. #define MAX6675_SS 53
  72. #endif
  73. //
  74. // Heaters / Fans
  75. //
  76. #define HEATER_0_PIN 13 // HOTEND0 MOSFET
  77. #define HEATER_BED_PIN 7 // BED MOSFET
  78. #ifndef FAN_PIN
  79. #define FAN_PIN 11 // FAN1 header on board - PRINT FAN
  80. #endif
  81. #define FAN1_PIN 12 // FAN2 header on board - CONTROLLER FAN
  82. #define FAN2_PIN 9 // FAN3 header on board - EXTRUDER0 FAN
  83. //#define FAN3_PIN 8 // FAN0 4-pin header on board
  84. //
  85. // Misc. Functions
  86. //
  87. #define SDSS 4
  88. #define PS_ON_PIN 40
  89. //
  90. // LCD / Controller
  91. //
  92. #if ENABLED(ULTRA_LCD)
  93. #define LCD_PINS_RS 42
  94. #define LCD_PINS_ENABLE 43
  95. #define LCD_PINS_D4 44
  96. #define LCD_PINS_D5 45
  97. #define LCD_PINS_D6 46
  98. #define LCD_PINS_D7 47
  99. #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  100. #define BEEPER_PIN 41
  101. #define BTN_EN1 50
  102. #define BTN_EN2 52
  103. #define BTN_ENC 48
  104. #define SDSS 4
  105. #define SD_DETECT_PIN 14
  106. #elif ENABLED(RADDS_DISPLAY)
  107. #define BEEPER_PIN 41
  108. #define BTN_EN1 50
  109. #define BTN_EN2 52
  110. #define BTN_ENC 48
  111. #define BTN_BACK 71
  112. #undef SDSS
  113. #define SDSS 4
  114. #define SD_DETECT_PIN 14
  115. #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
  116. #define BTN_EN1 50
  117. #define BTN_EN2 52
  118. #define BTN_ENC 48
  119. #define BEEPER_PIN 41
  120. #define LCD_SDSS 4
  121. #define SD_DETECT_PIN 14
  122. #elif ENABLED(SPARK_FULL_GRAPHICS)
  123. #define LCD_PINS_D4 29
  124. #define LCD_PINS_ENABLE 27
  125. #define LCD_PINS_RS 25
  126. #define BTN_EN1 35
  127. #define BTN_EN2 33
  128. #define BTN_ENC 37
  129. #define BEEPER_PIN -1
  130. #elif ENABLED(MINIPANEL)
  131. #define BTN_EN1 52
  132. #define BTN_EN2 50
  133. #define BTN_ENC 48
  134. #define LCD_SDSS 4
  135. #define SD_DETECT_PIN 14
  136. #define BEEPER_PIN 41
  137. #define DOGLCD_A0 46
  138. #define DOGLCD_CS 45
  139. #endif // SPARK_FULL_GRAPHICS
  140. #endif // ULTRA_LCD