My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_EINSY_RAMBO.h 5.7KB

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