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_EINSY_RAMBO.h 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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. * Einsy-Rambo pin assignments
  24. */
  25. #ifndef __AVR_ATmega2560__
  26. #error "Oops! Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu."
  27. #endif
  28. #define BOARD_NAME "Einsy Rambo"
  29. #define LARGE_FLASH true
  30. //
  31. // TMC2130 Configuration_adv defaults for EinsyRambo
  32. //
  33. #if DISABLED(HAVE_TMC2130)
  34. #error "You must enable TMC2130 support in Configuration_adv.h for EinsyRambo."
  35. #elif DISABLED(X_IS_TMC2130) || DISABLED(Y_IS_TMC2130) || DISABLED(Z_IS_TMC2130) || DISABLED(E0_IS_TMC2130)
  36. #error "You must enable ([XYZ]|E0)_IS_TMC2130 in Configuration_adv.h for EinsyRambo."
  37. #endif
  38. // TMC2130 Diag Pins (currently just for reference)
  39. #define X_DIAG_PIN 64
  40. #define Y_DIAG_PIN 69
  41. #define Z_DIAG_PIN 68
  42. #define E0_DIAG_PIN 65
  43. //
  44. // Limit Switches
  45. //
  46. // Only use Diag Pins when SENSORLESS_HOMING is enabled for the TMC2130 drivers.
  47. // Otherwise use a physical endstop based configuration.
  48. //
  49. // SERVO0_PIN and Z_MIN_PIN configuration for BLTOUCH sensor when combined with SENSORLESS_HOMING.
  50. //
  51. #define X_MAX_PIN -1
  52. #define Y_MAX_PIN -1
  53. #define Z_MAX_PIN -1
  54. #if DISABLED(SENSORLESS_HOMING)
  55. #define X_MIN_PIN 12
  56. #define Y_MIN_PIN 11
  57. #define Z_MIN_PIN 10
  58. #else
  59. #define X_MIN_PIN X_DIAG_PIN
  60. #define Y_MIN_PIN Y_DIAG_PIN
  61. #if ENABLED(BLTOUCH)
  62. #define Z_MIN_PIN 11 // Y-MIN
  63. #define SERVO0_PIN 10 // Z-MIN
  64. #else
  65. #define Z_MIN_PIN 10
  66. #endif
  67. #endif
  68. //
  69. // Z Probe (when not Z_MIN_PIN)
  70. //
  71. #ifndef Z_MIN_PROBE_PIN
  72. #define Z_MIN_PROBE_PIN 10
  73. #endif
  74. //
  75. // Steppers
  76. //
  77. #define X_STEP_PIN 37
  78. #define X_DIR_PIN 49
  79. #define X_ENABLE_PIN 29
  80. #define X_CS_PIN 41
  81. #define Y_STEP_PIN 36
  82. #define Y_DIR_PIN 48
  83. #define Y_ENABLE_PIN 28
  84. #define Y_CS_PIN 39
  85. #define Z_STEP_PIN 35
  86. #define Z_DIR_PIN 47
  87. #define Z_ENABLE_PIN 27
  88. #define Z_CS_PIN 67
  89. #define E0_STEP_PIN 34
  90. #define E0_DIR_PIN 43
  91. #define E0_ENABLE_PIN 26
  92. #define E0_CS_PIN 66
  93. #define E1_STEP_PIN -1
  94. #define E1_DIR_PIN -1
  95. #define E1_ENABLE_PIN -1
  96. // Microstepping pins - uses SPI instead
  97. #define X_MS1_PIN -1
  98. #define X_MS2_PIN -1
  99. #define Y_MS1_PIN -1
  100. #define Y_MS2_PIN -1
  101. #define Z_MS1_PIN -1
  102. #define Z_MS2_PIN -1
  103. #define E0_MS1_PIN -1
  104. #define E0_MS2_PIN -1
  105. //
  106. // Temperature Sensors
  107. //
  108. #define TEMP_0_PIN 0 // Analog Input
  109. #define TEMP_1_PIN 1 // Analog Input
  110. #define TEMP_BED_PIN 2 // Analog Input
  111. //
  112. // Heaters / Fans
  113. //
  114. #define HEATER_0_PIN 3
  115. #define HEATER_1_PIN -1
  116. #define HEATER_2_PIN -1
  117. #define HEATER_BED_PIN 4
  118. #define FAN_PIN 8
  119. #define FAN1_PIN 6
  120. //
  121. // Misc. Functions
  122. //
  123. #define SDSS 77
  124. #define LED_PIN 13
  125. #define CASE_LIGHT_PIN 9
  126. //
  127. // M3/M4/M5 - Spindle/Laser Control
  128. //
  129. // use P1 connector for spindle pins
  130. #define SPINDLE_LASER_PWM_PIN 9 // MUST BE HARDWARE PWM
  131. #define SPINDLE_LASER_ENABLE_PIN 18 // Pin should have a pullup!
  132. #define SPINDLE_DIR_PIN 19
  133. //
  134. // Průša i3 MK2 Multiplexer Support
  135. //
  136. #define E_MUX0_PIN 17
  137. #define E_MUX1_PIN 16
  138. #define E_MUX2_PIN 78 // 84 in MK2 Firmware, with BEEPER as 78
  139. //
  140. // LCD / Controller
  141. //
  142. #if ENABLED(ULTRA_LCD)
  143. #define KILL_PIN 32
  144. #if ENABLED(NEWPANEL)
  145. #if ENABLED(CR10_STOCKDISPLAY)
  146. #define LCD_PINS_RS 85
  147. #define LCD_PINS_ENABLE 71
  148. #define LCD_PINS_D4 70
  149. #define BTN_EN1 61
  150. #define BTN_EN2 59
  151. #else
  152. #define LCD_PINS_RS 82
  153. #define LCD_PINS_ENABLE 61
  154. #define LCD_PINS_D4 59
  155. #define LCD_PINS_D5 70
  156. #define LCD_PINS_D6 85
  157. #define LCD_PINS_D7 71
  158. #define BTN_EN1 14
  159. #define BTN_EN2 72
  160. #endif
  161. #define BTN_ENC 9 // AUX-2
  162. #define BEEPER_PIN 84 // AUX-4
  163. #define SD_DETECT_PIN 15
  164. #endif // NEWPANEL
  165. #endif // ULTRA_LCD