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.4KB

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