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_ARCHIM2.h 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. * ARCHIM2 pin assignment (pins_ARCHIM2.h)
  24. *
  25. * The Archim2 board requires Arduino Archim addons installed.
  26. * Add the following URL to Arduino IDE's Additional Board Manager URLs:
  27. * https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json
  28. * In the Arduino IDE Board Manager search for Archim and install the package.
  29. * Change your target board to "Archim".
  30. *
  31. * Further information is provided by UltiMachine
  32. * https://github.com/ultimachine/Archim/wiki/Archim-v2.0
  33. * https://github.com/ultimachine/Archim/wiki
  34. *
  35. */
  36. #ifndef __SAM3X8E__
  37. #error "Oops! Make sure you have 'Archim' selected from the 'Tools -> Boards' menu."
  38. #endif
  39. //
  40. // Items marked * have been altered from Archim v1.0
  41. //
  42. //
  43. // Limit Switches
  44. //
  45. #define X_MIN_PIN 14 // PD4 MIN ES1
  46. #define X_MAX_PIN 32 // PD10 MAX ES1
  47. #define Y_MIN_PIN 29 // PD6 MIN ES2
  48. #define Y_MAX_PIN 15 // PD5 MAX ES2
  49. #define Z_MIN_PIN 31 // PA7 MIN ES3
  50. #define Z_MAX_PIN 30 // PD9 MAX ES3
  51. //
  52. // Z Probe (when not Z_MIN_PIN)
  53. //
  54. #ifndef Z_MIN_PROBE_PIN
  55. #define Z_MIN_PROBE_PIN 32
  56. #endif
  57. //
  58. // Steppers
  59. //
  60. #define X_STEP_PIN 38 // PC6 X-STEP *
  61. #define X_DIR_PIN 37 // PC5 X-DIR *
  62. #define X_ENABLE_PIN 41 // PC9 EN1
  63. #define X_CS_PIN 39 // PC7 X_nCS
  64. #define X_DIAG_PIN 59 // PA4 X_DIAG
  65. #define Y_STEP_PIN 51 // PC12 Y-STEP *
  66. #define Y_DIR_PIN 92 // PC11 Y-DIR -AddOns *
  67. #define Y_ENABLE_PIN 49 // PC14 Y-EN *
  68. #define Y_CS_PIN 50 // PC13 Y_nCS
  69. #define Y_DIAG_PIN 48 // PC15 Y_DIAG
  70. #define Z_STEP_PIN 46 // PC17 Z-STEP *
  71. #define Z_DIR_PIN 47 // PC16 Z-DIR *
  72. #define Z_ENABLE_PIN 44 // PC19 Z-END *
  73. #define Z_CS_PIN 45 // PC18 Z_nCS
  74. #define Z_DIAG_PIN 36 // PC4 Z_DIAG
  75. #define E0_STEP_PIN 107 // PB10 E1-STEP -AddOns *
  76. #define E0_DIR_PIN 96 // PC10 E1-DIR -AddOns *
  77. #define E0_ENABLE_PIN 105 // PB22 E1-EN -AddOns *
  78. #define E0_CS_PIN 104 // PC20 E1_nCS -AddOns *
  79. #define E0_DIAG_PIN 78 // PB23 E1_DIAG
  80. #define E1_STEP_PIN 22 // PB26 E2_STEP *
  81. #define E1_DIR_PIN 97 // PB24 E2_DIR -AddOns *
  82. #define E1_ENABLE_PIN 18 // PA11 E2-EN
  83. #define E1_CS_PIN 19 // PA10 E2_nCS
  84. #define E1_DIAG_PIN 25 // PD0 E2_DIAG
  85. //
  86. // Temperature Sensors
  87. //
  88. #define TEMP_0_PIN 10 // D10 PB19 THERM AN1 *
  89. #define TEMP_1_PIN 9 // D9 PB18 THERM AN2 *
  90. #define TEMP_2_PIN 8 // D8 PB17 THERM AN4 *
  91. #define TEMP_BED_PIN 11 // D11 PB20 THERM AN3 *
  92. //
  93. // Heaters / Fans
  94. //
  95. #define FAN_PIN 4 // D4 PC26 FET_PWM1
  96. #define FAN1_PIN 5 // D5 PC25 FET_PWM2
  97. #define HEATER_0_PIN 6 // D6 PC24 FET_PWM3
  98. #define HEATER_1_PIN 7 // D7 PC23 FET_PWM4
  99. #define HEATER_2_PIN 8 // D8 PC22 FET_PWM5
  100. #define HEATER_BED_PIN 9 // D9 PC21 BED_PWM
  101. //////////////////////////
  102. // LCDs and Controllers //
  103. //////////////////////////
  104. #if ENABLED(ULTRA_LCD)
  105. #if ENABLED(NEWPANEL)
  106. #define BEEPER_PIN 23 // D24 PA15_CTS1
  107. #define LCD_PINS_RS 17 // D17 PA12_RXD1
  108. #define LCD_PINS_ENABLE 24 // D23 PA14_RTS1
  109. #define LCD_PINS_D4 69 // D69 PA0_CANTX0
  110. #define LCD_PINS_D5 54 // D54 PA16_SCK1
  111. #define LCD_PINS_D6 68 // D68 PA1_CANRX0
  112. #define LCD_PINS_D7 34 // D34 PC2_PWML0
  113. #define SD_DETECT_PIN 2 // D2 PB25_TIOA0
  114. #define SDSS 87 // D87 PA29 CS
  115. // Buttons on AUX-2
  116. #define BTN_EN1 60 // D60 PA3_TIOB1
  117. #define BTN_EN2 13 // D13 PB27_TIOB0
  118. #define BTN_ENC 16 // D16 PA13_TXD1 // the click
  119. #endif // NEWPANEL
  120. #endif // ULTRA_LCD