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_RADDS.h 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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. * RADDS
  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 "RADDS"
  29. //
  30. // Servos
  31. //
  32. #define SERVO0_PIN 5
  33. #define SERVO1_PIN 6
  34. #define SERVO2_PIN 39
  35. #define SERVO3_PIN 40
  36. //
  37. // Limit Switches
  38. //
  39. #define X_MIN_PIN 28
  40. #define X_MAX_PIN 34
  41. #define Y_MIN_PIN 30
  42. #define Y_MAX_PIN 36
  43. #define Z_MIN_PIN 32
  44. #define Z_MAX_PIN 38
  45. //
  46. // Steppers
  47. //
  48. #define X_STEP_PIN 24
  49. #define X_DIR_PIN 23
  50. #define X_ENABLE_PIN 26
  51. #define X_CS_PIN 25
  52. #define Y_STEP_PIN 17
  53. #define Y_DIR_PIN 16
  54. #define Y_ENABLE_PIN 22
  55. #define Y_CS_PIN 27
  56. #define Z_STEP_PIN 2
  57. #define Z_DIR_PIN 3
  58. #define Z_ENABLE_PIN 15
  59. #define Z_CS_PIN 29
  60. #define E0_STEP_PIN 61
  61. #define E0_DIR_PIN 60
  62. #define E0_ENABLE_PIN 62
  63. #define E0_CS_PIN 31
  64. #define E1_STEP_PIN 64
  65. #define E1_DIR_PIN 63
  66. #define E1_ENABLE_PIN 65
  67. #define E1_CS_PIN 33
  68. #define E2_STEP_PIN 51
  69. #define E2_DIR_PIN 53
  70. #define E2_ENABLE_PIN 49
  71. #define E2_CS_PIN 35
  72. // For Extension Board V2
  73. // http://doku.radds.org/dokumentation/extension-board
  74. //#define E3_STEP_PIN 35
  75. //#define E3_DIR_PIN 33
  76. //#define E3_ENABLE_PIN 37
  77. //#define E3_CS_PIN 6
  78. //#define Z2_STEP_PIN 29
  79. //#define Z2_DIR_PIN 27
  80. //#define Z2_ENABLE_PIN 31
  81. //#define Z2_CS_PIN 39
  82. // Microstepping pins - Mapping not from fastio.h (?)
  83. //#define E3_MS1_PIN 67
  84. //#define E3_MS2_PIN 68
  85. //#define E3_MS3_PIN 69
  86. //#define Z2_MS1_PIN 67 // shared with E3_MS1_PIN
  87. //#define Z2_MS2_PIN 68 // shared with E3_MS2_PIN
  88. //#define Z2_MS3_PIN 69 // shared with E3_MS3_PIN
  89. //
  90. // Temperature Sensors
  91. //
  92. #define TEMP_0_PIN 0 // Analog Input
  93. #define TEMP_1_PIN 1 // Analog Input
  94. #define TEMP_2_PIN 2 // Analog Input
  95. #define TEMP_3_PIN 3 // Analog Input
  96. #define TEMP_BED_PIN 4 // Analog Input
  97. // SPI for Max6675 or Max31855 Thermocouple
  98. #if DISABLED(SDSUPPORT)
  99. #define MAX6675_SS 53
  100. #else
  101. #define MAX6675_SS 49
  102. #endif
  103. //
  104. // Heaters / Fans
  105. //
  106. #define HEATER_0_PIN 13
  107. #define HEATER_1_PIN 12
  108. #define HEATER_2_PIN 11
  109. #define HEATER_BED_PIN 7 // BED
  110. #define FAN_PIN 9
  111. #define FAN1_PIN 8
  112. //
  113. // Misc. Functions
  114. //
  115. #define SDSS 4
  116. #define PS_ON_PIN 40
  117. #define I2C_EEPROM
  118. //
  119. // LCD / Controller
  120. //
  121. #if ENABLED(ULTRA_LCD)
  122. // RADDS LCD panel
  123. #if ENABLED(RADDS_DISPLAY)
  124. #define LCD_PINS_RS 42
  125. #define LCD_PINS_ENABLE 43
  126. #define LCD_PINS_D4 44
  127. #define LCD_PINS_D5 45
  128. #define LCD_PINS_D6 46
  129. #define LCD_PINS_D7 47
  130. #define BEEPER_PIN 41
  131. #define BTN_EN1 50
  132. #define BTN_EN2 52
  133. #define BTN_ENC 48
  134. #define BTN_BACK 71
  135. #undef SDSS
  136. #define SDSS 10
  137. #define SD_DETECT_PIN 14
  138. #elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
  139. #define LCD_PINS_RS 46
  140. #define LCD_PINS_ENABLE 47
  141. #define LCD_PINS_D4 44
  142. #define BEEPER_PIN 41
  143. #define BTN_EN1 50
  144. #define BTN_EN2 52
  145. #define BTN_ENC 48
  146. #elif ENABLED(SSD1306_OLED_I2C_CONTROLLER)
  147. #define BTN_EN1 50
  148. #define BTN_EN2 52
  149. #define BTN_ENC 48
  150. #define BEEPER_PIN 41
  151. #define LCD_SDSS 10
  152. #define SD_DETECT_PIN 14
  153. #elif ENABLED(SPARK_FULL_GRAPHICS)
  154. #define LCD_PINS_D4 29
  155. #define LCD_PINS_ENABLE 27
  156. #define LCD_PINS_RS 25
  157. #define BTN_EN1 35
  158. #define BTN_EN2 33
  159. #define BTN_ENC 37
  160. #endif // SPARK_FULL_GRAPHICS
  161. #endif // ULTRA_LCD