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_AZTEEG_X3_PRO.h 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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. #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. #ifndef Z_MIN_PROBE_PIN
  57. #define Z_MIN_PROBE_PIN 19
  58. #endif
  59. #define E2_STEP_PIN 23
  60. #define E2_DIR_PIN 25
  61. #define E2_ENABLE_PIN 40
  62. #define E3_STEP_PIN 27
  63. #define E3_DIR_PIN 29
  64. #define E3_ENABLE_PIN 41
  65. #define E4_STEP_PIN 43
  66. #define E4_DIR_PIN 37
  67. #define E4_ENABLE_PIN 42
  68. #undef HEATER_1_PIN
  69. #undef HEATER_2_PIN
  70. #undef HEATER_3_PIN
  71. #define HEATER_1_PIN 9
  72. #define HEATER_2_PIN 16
  73. #define HEATER_3_PIN 17
  74. #define HEATER_4_PIN 4
  75. #define HEATER_5_PIN 5
  76. #define HEATER_6_PIN 6
  77. #define HEATER_7_PIN 11
  78. #undef TEMP_2_PIN
  79. #undef TEMP_3_PIN
  80. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  81. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  82. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  83. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  84. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  85. //
  86. // These Servo pins are for when they are defined. Tested for usage with bed leveling
  87. // on a Delta with 1 servo. Running through the Z servo endstop in code.
  88. // Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  89. //
  90. #undef SERVO0_PIN
  91. #define SERVO0_PIN 47
  92. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  93. #undef SD_DETECT_PIN
  94. #define SD_DETECT_PIN 49 // For easy adapter board
  95. #elif ENABLED(TEMP_STAT_LEDS)
  96. #define STAT_LED_RED 32
  97. #define STAT_LED_BLUE 35
  98. #endif