My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_AZTEEG_X3_PRO.h 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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. * AZTEEG_X3_PRO (Arduino Mega) pin assignments
  24. */
  25. #if HOTENDS > 5 || E_STEPPERS > 5
  26. #error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
  27. #endif
  28. #define BOARD_NAME "Azteeg X3 Pro"
  29. #include "pins_RAMPS.h"
  30. //
  31. // Servos
  32. //
  33. // Tested this pin with bed leveling on a Delta with 1 servo.
  34. // Physical wire attachment on EXT1: GND, 5V, D47.
  35. //
  36. #undef SERVO0_PIN
  37. #define SERVO0_PIN 47
  38. //
  39. // Limit Switches
  40. //
  41. // Swap the MIN and MAX endstop pins because the X3 Pro comes with only
  42. // MIN endstop pin headers soldered onto the board.
  43. //
  44. #if ENABLED(DELTA)
  45. #undef X_MIN_PIN
  46. #undef X_MAX_PIN
  47. #undef Y_MIN_PIN
  48. #undef Y_MAX_PIN
  49. #undef Z_MIN_PIN
  50. #undef Z_MAX_PIN
  51. #define X_MIN_PIN 2
  52. #define X_MAX_PIN 3
  53. #define Y_MIN_PIN 15
  54. #define Y_MAX_PIN 14
  55. #define Z_MIN_PIN 19
  56. #define Z_MAX_PIN 18
  57. #endif
  58. //
  59. // Z Probe (when not Z_MIN_PIN)
  60. //
  61. #ifndef Z_MIN_PROBE_PIN
  62. #define Z_MIN_PROBE_PIN 18
  63. #endif
  64. //
  65. // Steppers
  66. //
  67. #define E2_STEP_PIN 23
  68. #define E2_DIR_PIN 25
  69. #define E2_ENABLE_PIN 40
  70. #define E3_STEP_PIN 27
  71. #define E3_DIR_PIN 29
  72. #define E3_ENABLE_PIN 41
  73. #define E4_STEP_PIN 43
  74. #define E4_DIR_PIN 37
  75. #define E4_ENABLE_PIN 42
  76. //
  77. // Temperature Sensors
  78. //
  79. #define TEMP_2_PIN 12 // Analog Input
  80. #define TEMP_3_PIN 11 // Analog Input
  81. #define TEMP_4_PIN 10 // Analog Input
  82. #define TC1 4 // Analog Input (Thermo couple on Azteeg X3Pro)
  83. #define TC2 5 // Analog Input (Thermo couple on Azteeg X3Pro)
  84. //
  85. // Heaters / Fans
  86. //
  87. #define HEATER_2_PIN 16
  88. #define HEATER_3_PIN 17
  89. #define HEATER_4_PIN 4
  90. #define HEATER_5_PIN 5
  91. #define HEATER_6_PIN 6
  92. #define HEATER_7_PIN 11
  93. #undef FAN_PIN
  94. #define FAN_PIN 6 // Part Cooling System
  95. #ifndef CONTROLLER_FAN_PIN
  96. #define CONTROLLER_FAN_PIN 4 // Pin used for the fan to cool motherboard (-1 to disable)
  97. #endif
  98. // Fans/Water Pump to cool the hotend cool side.
  99. #define ORIG_E0_AUTO_FAN_PIN 5
  100. #define ORIG_E1_AUTO_FAN_PIN 5
  101. #define ORIG_E2_AUTO_FAN_PIN 5
  102. #define ORIG_E3_AUTO_FAN_PIN 5
  103. //
  104. // LCD / Controller
  105. //
  106. #undef BEEPER_PIN
  107. #define BEEPER_PIN 33
  108. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  109. #undef SD_DETECT_PIN
  110. #define SD_DETECT_PIN 49 // For easy adapter board
  111. #else
  112. #define STAT_LED_RED_PIN 32
  113. #define STAT_LED_BLUE_PIN 35
  114. #endif