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 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /**
  2. * AZTEEG_X3_PRO (Arduino Mega) pin assignments
  3. */
  4. #include "pins_RAMPS_13.h"
  5. #undef FAN_PIN
  6. #define FAN_PIN 6 //Part Cooling System
  7. #define BEEPER 33
  8. #define CONTROLLERFAN_PIN 4 //Pin used for the fan to cool motherboard (-1 to disable)
  9. //Fans/Water Pump to cool the hotend cool side.
  10. #define EXTRUDER_0_AUTO_FAN_PIN 5
  11. #define EXTRUDER_1_AUTO_FAN_PIN 5
  12. #define EXTRUDER_2_AUTO_FAN_PIN 5
  13. #define EXTRUDER_3_AUTO_FAN_PIN 5
  14. //
  15. //This section is to swap the MIN and MAX pins because the X3 Pro comes with only
  16. //MIN endstops soldered onto the board. Delta code wants the homing endstops to be
  17. //the MAX so I swapped them here.
  18. //
  19. #ifdef DELTA
  20. #undef X_MIN_PIN
  21. #undef X_MAX_PIN
  22. #undef Y_MIN_PIN
  23. #undef Y_MAX_PIN
  24. #undef Z_MIN_PIN
  25. #undef Z_MAX_PIN
  26. #define X_MIN_PIN 2
  27. #define X_MAX_PIN 3
  28. #define Y_MIN_PIN 15
  29. #define Y_MAX_PIN 14
  30. #define Z_MIN_PIN 19
  31. #define Z_MAX_PIN 18
  32. #endif
  33. //
  34. #define E2_STEP_PIN 23
  35. #define E2_DIR_PIN 25
  36. #define E2_ENABLE_PIN 40
  37. #define E3_STEP_PIN 27
  38. #define E3_DIR_PIN 29
  39. #define E3_ENABLE_PIN 41
  40. #define E4_STEP_PIN 43
  41. #define E4_DIR_PIN 37
  42. #define E4_ENABLE_PIN 42
  43. #undef HEATER_1_PIN
  44. #undef HEATER_2_PIN
  45. #undef HEATER_3_PIN
  46. #define HEATER_1_PIN 9
  47. #define HEATER_2_PIN 16
  48. #define HEATER_3_PIN 17
  49. #define HEATER_4_PIN 4
  50. #define HEATER_5_PIN 5
  51. #define HEATER_6_PIN 6
  52. #define HEATER_7_PIN 11
  53. #undef TEMP_2_PIN
  54. #undef TEMP_3_PIN
  55. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  56. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  57. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  58. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  59. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  60. //
  61. //These Servo pins are for when they are defined. Tested for usage with bed leveling
  62. //on a Delta with 1 servo. Running through the Z servo endstop in code.
  63. //Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  64. //
  65. #undef SERVO0_PIN
  66. #undef SERVO1_PIN
  67. #undef SERVO2_PIN
  68. #undef SERVO3_PIN
  69. #ifdef NUM_SERVOS
  70. #define SERVO0_PIN -1
  71. #if NUM_SERVOS > 1
  72. #define SERVO1_PIN -1
  73. #if NUM_SERVOS > 2
  74. #define SERVO2_PIN 47
  75. #if NUM_SERVOS > 3
  76. #define SERVO3_PIN -1
  77. #endif
  78. #endif
  79. #endif
  80. #endif
  81. //LCD Pins//
  82. #if defined(VIKI2) || defined(miniVIKI)
  83. #define BEEPER 33
  84. // Pins for DOGM SPI LCD Support
  85. #define DOGLCD_A0 44
  86. #define DOGLCD_CS 45
  87. #define LCD_SCREEN_ROT_180
  88. //The encoder and click button
  89. #define BTN_EN1 22
  90. #define BTN_EN2 7
  91. #define BTN_ENC 39 //the click switch
  92. #define SDSS 53
  93. #define SDCARDDETECT 49
  94. #define KILL_PIN 31
  95. #define STAT_LED_RED 32
  96. #define STAT_LED_BLUE 35
  97. #endif