My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

pins_AZTEEG_X3_PRO.h 3.1KB

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