My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_AZTEEG_X3_PRO.h 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. #include "pins_RAMPS_14.h"
  26. #undef FAN_PIN
  27. #define FAN_PIN 6 //Part Cooling System
  28. #undef BEEPER_PIN
  29. #define BEEPER_PIN 33
  30. #define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
  31. //Fans/Water Pump to cool the hotend cool side.
  32. #define EXTRUDER_0_AUTO_FAN_PIN 5
  33. #define EXTRUDER_1_AUTO_FAN_PIN 5
  34. #define EXTRUDER_2_AUTO_FAN_PIN 5
  35. #define EXTRUDER_3_AUTO_FAN_PIN 5
  36. //
  37. //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
  38. //MIN endstops soldered onto the board. Delta code wants the homing endstops to be
  39. //the MAX so I swapped them here.
  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. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  56. //#undef Z_MIN_PIN
  57. //#define Z_MIN_PIN 15
  58. // Define a pin to use as the signal pin on Arduino for the Z probe endstop.
  59. #define Z_MIN_PROBE_PIN 19
  60. #endif
  61. //
  62. #define E2_STEP_PIN 23
  63. #define E2_DIR_PIN 25
  64. #define E2_ENABLE_PIN 40
  65. #define E3_STEP_PIN 27
  66. #define E3_DIR_PIN 29
  67. #define E3_ENABLE_PIN 41
  68. #define E4_STEP_PIN 43
  69. #define E4_DIR_PIN 37
  70. #define E4_ENABLE_PIN 42
  71. #undef HEATER_1_PIN
  72. #undef HEATER_2_PIN
  73. #undef HEATER_3_PIN
  74. #define HEATER_1_PIN 9
  75. #define HEATER_2_PIN 16
  76. #define HEATER_3_PIN 17
  77. #define HEATER_4_PIN 4
  78. #define HEATER_5_PIN 5
  79. #define HEATER_6_PIN 6
  80. #define HEATER_7_PIN 11
  81. #undef TEMP_2_PIN
  82. #undef TEMP_3_PIN
  83. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  84. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  85. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  86. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  87. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  88. //
  89. // These Servo pins are for when they are defined. Tested for usage with bed leveling
  90. // on a Delta with 1 servo. Running through the Z servo endstop in code.
  91. // Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  92. //
  93. #undef SERVO0_PIN
  94. #define SERVO0_PIN 47
  95. //LCD Pins//
  96. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  97. #define BEEPER_PIN 33
  98. // Pins for DOGM SPI LCD Support
  99. #define DOGLCD_A0 44
  100. #define DOGLCD_CS 45
  101. #define LCD_SCREEN_ROT_180
  102. //The encoder and click button
  103. #define BTN_EN1 22
  104. #define BTN_EN2 7
  105. #define BTN_ENC 39 //the click switch
  106. #define SDSS 53
  107. #define SD_DETECT_PIN 49
  108. #define KILL_PIN 31
  109. #endif
  110. #if ENABLED(TEMP_STAT_LEDS)
  111. #define STAT_LED_RED 32
  112. #define STAT_LED_BLUE 35
  113. #endif