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_ZRIB_V52.h 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. * ZRIB V5.2 Based on MKS BASE v1.4 with A4982 stepper drivers and digital micro-stepping
  25. */
  26. #if HOTENDS > 2 || E_STEPPERS > 2
  27. #error "ZRIB V5.2 supports up to 2 hotends / E steppers."
  28. #endif
  29. #define BOARD_INFO_NAME "ZRIB V5.2"
  30. #define MKS_BASE_VERSION 14
  31. //
  32. // Heaters / Fans
  33. //
  34. #define HEATER_1_PIN 7
  35. #define FAN_PIN 9 // PH6 ** Pin18 ** PWM9
  36. #define FAN1_PIN 6
  37. //
  38. // Extra Extruder / Stepper for V5.2
  39. //
  40. #define E2_STEP_PIN 4
  41. #define E2_DIR_PIN 5
  42. #define E2_ENABLE_PIN 22
  43. //
  44. // Servos / XS3 Connector
  45. //
  46. #ifndef SERVO0_PIN
  47. #define SERVO0_PIN 65 // PWM
  48. #endif
  49. #ifndef SERVO1_PIN
  50. #define SERVO1_PIN 66 // PWM
  51. #endif
  52. #include "pins_MKS_BASE_common.h" // ... RAMPS
  53. /**
  54. * Available connectors on MKS BASE v1.4 (Basically same as ZRIB V5.2)
  55. *
  56. * =======
  57. * | GND |
  58. * |-----| E0
  59. * | 10 | (10) PB4 ** Pin23 ** PWM10
  60. * |-----|
  61. * | GND |
  62. * |-----| E1
  63. * | 7 | ( 7) PH4 ** Pin16 ** PWM7
  64. * |-----|
  65. * | GND |
  66. * |-----| FAN
  67. * | 9 | ( 9) PH6 ** Pin18 ** PWM9
  68. * =======
  69. *
  70. * =======
  71. * | GND |
  72. * |-----| Heated Bed
  73. * | 8 | ( 8) PH5 ** Pin17 ** PWM8
  74. * =======
  75. *
  76. * ==========
  77. * | 12-24V |
  78. * |--------| Power
  79. * | GND |
  80. * ==========
  81. *
  82. * Servos / XS3 Connector
  83. * =================
  84. * | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
  85. * |----|-----|----|
  86. * | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12
  87. * =================
  88. *
  89. * ICSP
  90. * =================
  91. * | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI
  92. * |----|----|-----|
  93. * | 50 | 52 | RST | (50) PB3 ** Pin22 ** SPI_MISO
  94. * ================= (52) PB1 ** Pin20 ** SPI_SCK
  95. *
  96. * XS6/AUX-1 Connector
  97. * ======================
  98. * | 5V | GND | NC | 20 | (20) PD1 ** Pin44 ** I2C_SDA
  99. * |----|-----|----|----|
  100. * | 50 | 51 | 52 | 21 | (50) PB3 ** Pin22 ** SPI_MISO
  101. * ====================== (51) PB2 ** Pin21 ** SPI_MOSI
  102. * (52) PB1 ** Pin20 ** SPI_SCK
  103. * (21) PD0 ** Pin43 ** I2C_SCL
  104. *
  105. * Temperature
  106. * ==================================
  107. * | GND | 69 | GND | 68 | GND | 67 |
  108. * ==================================
  109. * (69) PK7 ** Pin82 ** A15
  110. * (68) PK6 ** Pin83 ** A14
  111. * (67) PK5 ** Pin84 ** A13
  112. *
  113. * Limit Switches
  114. * ============
  115. * | 2 | GND | X+ ( 2) PE4 ** Pin6 ** PWM2
  116. * |----|-----|
  117. * | 3 | GND | X- ( 3) PE5 ** Pin7 ** PWM3
  118. * |----|-----|
  119. * | 15 | GND | Y+ (15) PJ0 ** Pin63 ** USART3_RX
  120. * |----|-----|
  121. * | 14 | GND | Y- (14) PJ1 ** Pin64 ** USART3_TX
  122. * |----|-----|
  123. * | 19 | GND | Z+ (19) PD2 ** Pin45 ** USART1_RX
  124. * |----|-----|
  125. * | 18 | GND | Z- (18) PD3 ** Pin46 ** USART1_TX
  126. * ============
  127. *
  128. * EXP1
  129. * ============
  130. * | 37 | 35 | (37) PC0 ** Pin53 ** D37
  131. * |-----|----| (35) PC2 ** Pin55 ** D35
  132. * | 17 | 16 | (17) PH0 ** Pin12 ** USART2_RX
  133. * |-----|----| (16) PH1 ** Pin13 ** USART2_TX
  134. * | 23 | 25 | (23) PA1 ** Pin77 ** D23
  135. * |-----|----| (25) PA3 ** Pin75 ** D25
  136. * | 27 | 29 | (27) PA5 ** Pin73 ** D27
  137. * |-----|----| (29) PA7 ** Pin71 ** D29
  138. * | GND | 5V |
  139. * ============
  140. *
  141. * EXP2
  142. * ============
  143. * | 50 | 52 | (50) PB3 ** Pin22 ** SPI_MISO
  144. * |-----|----| (52) PB1 ** Pin20 ** SPI_SCK
  145. * | 31 | 53 | (31) PC6 ** Pin59 ** D31
  146. * |-----|----| (53) PB0 ** Pin19 ** SPI_SS
  147. * | 33 | 51 | (33) PC4 ** Pin57 ** D33
  148. * |-----|----| (51) PB2 ** Pin21 ** SPI_MOSI
  149. * | 49 | 41 | (49) PL0 ** Pin35 ** D49
  150. * |-----|----| (41) PG0 ** Pin51 ** D41
  151. * | GND | NC |
  152. * ============
  153. */