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

pins_AZTEEG_X3_PRO.h 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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_14.h"
  27. #undef FAN_PIN
  28. #define FAN_PIN 6 //Part Cooling System
  29. #undef BEEPER_PIN
  30. #define BEEPER_PIN 33
  31. #define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
  32. //Fans/Water Pump to cool the hotend cool side.
  33. #define EXTRUDER_0_AUTO_FAN_PIN 5
  34. #define EXTRUDER_1_AUTO_FAN_PIN 5
  35. #define EXTRUDER_2_AUTO_FAN_PIN 5
  36. #define EXTRUDER_3_AUTO_FAN_PIN 5
  37. //
  38. //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
  39. //MIN endstops soldered onto the board. Delta code wants the homing endstops to be
  40. //the MAX so I swapped them here.
  41. //
  42. #if ENABLED(DELTA)
  43. #undef X_MIN_PIN
  44. #undef X_MAX_PIN
  45. #undef Y_MIN_PIN
  46. #undef Y_MAX_PIN
  47. #undef Z_MIN_PIN
  48. #undef Z_MAX_PIN
  49. #define X_MIN_PIN 2
  50. #define X_MAX_PIN 3
  51. #define Y_MIN_PIN 15
  52. #define Y_MAX_PIN 14
  53. #define Z_MIN_PIN 19
  54. #define Z_MAX_PIN 18
  55. #endif
  56. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  57. //#undef Z_MIN_PIN
  58. //#define Z_MIN_PIN 15
  59. // Define a pin to use as the signal pin on Arduino for the Z probe endstop.
  60. #define Z_MIN_PROBE_PIN 19
  61. #endif
  62. //
  63. #define E2_STEP_PIN 23
  64. #define E2_DIR_PIN 25
  65. #define E2_ENABLE_PIN 40
  66. #define E3_STEP_PIN 27
  67. #define E3_DIR_PIN 29
  68. #define E3_ENABLE_PIN 41
  69. #define E4_STEP_PIN 43
  70. #define E4_DIR_PIN 37
  71. #define E4_ENABLE_PIN 42
  72. #undef HEATER_1_PIN
  73. #undef HEATER_2_PIN
  74. #undef HEATER_3_PIN
  75. #define HEATER_1_PIN 9
  76. #define HEATER_2_PIN 16
  77. #define HEATER_3_PIN 17
  78. #define HEATER_4_PIN 4
  79. #define HEATER_5_PIN 5
  80. #define HEATER_6_PIN 6
  81. #define HEATER_7_PIN 11
  82. #undef TEMP_2_PIN
  83. #undef TEMP_3_PIN
  84. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  85. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  86. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  87. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  88. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  89. //
  90. // These Servo pins are for when they are defined. Tested for usage with bed leveling
  91. // on a Delta with 1 servo. Running through the Z servo endstop in code.
  92. // Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  93. //
  94. #undef SERVO0_PIN
  95. #define SERVO0_PIN 47
  96. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  97. #undef SD_DETECT_PIN
  98. #define SD_DETECT_PIN 49 // For easy adapter board
  99. #elif ENABLED(TEMP_STAT_LEDS)
  100. #define STAT_LED_RED 32
  101. #define STAT_LED_BLUE 35
  102. #endif