My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_AZTEEG_X3_PRO.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. #ifdef Z_PROBE_ENDSTOP
  35. //#undef Z_MIN_PIN
  36. //#define Z_MIN_PIN 15
  37. #define Z_PROBE_PIN 19
  38. #endif
  39. //
  40. #define E2_STEP_PIN 23
  41. #define E2_DIR_PIN 25
  42. #define E2_ENABLE_PIN 40
  43. #define E3_STEP_PIN 27
  44. #define E3_DIR_PIN 29
  45. #define E3_ENABLE_PIN 41
  46. #define E4_STEP_PIN 43
  47. #define E4_DIR_PIN 37
  48. #define E4_ENABLE_PIN 42
  49. #undef HEATER_1_PIN
  50. #undef HEATER_2_PIN
  51. #undef HEATER_3_PIN
  52. #define HEATER_1_PIN 9
  53. #define HEATER_2_PIN 16
  54. #define HEATER_3_PIN 17
  55. #define HEATER_4_PIN 4
  56. #define HEATER_5_PIN 5
  57. #define HEATER_6_PIN 6
  58. #define HEATER_7_PIN 11
  59. #undef TEMP_2_PIN
  60. #undef TEMP_3_PIN
  61. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  62. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  63. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  64. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  65. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  66. //
  67. //These Servo pins are for when they are defined. Tested for usage with bed leveling
  68. //on a Delta with 1 servo. Running through the Z servo endstop in code.
  69. //Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  70. //
  71. #undef SERVO0_PIN
  72. #undef SERVO1_PIN
  73. #undef SERVO2_PIN
  74. #undef SERVO3_PIN
  75. #ifdef NUM_SERVOS
  76. #define SERVO0_PIN 47
  77. #if NUM_SERVOS > 1
  78. #define SERVO1_PIN -1
  79. #if NUM_SERVOS > 2
  80. #define SERVO2_PIN -1
  81. #if NUM_SERVOS > 3
  82. #define SERVO3_PIN -1
  83. #endif
  84. #endif
  85. #endif
  86. #endif
  87. //LCD Pins//
  88. #if defined(VIKI2) || defined(miniVIKI)
  89. #define BEEPER 33
  90. // Pins for DOGM SPI LCD Support
  91. #define DOGLCD_A0 44
  92. #define DOGLCD_CS 45
  93. #define LCD_SCREEN_ROT_180
  94. //The encoder and click button
  95. #define BTN_EN1 22
  96. #define BTN_EN2 7
  97. #define BTN_ENC 39 //the click switch
  98. #define SDSS 53
  99. #define SDCARDDETECT 49
  100. #define KILL_PIN 31
  101. #endif
  102. #ifdef TEMP_STAT_LEDS
  103. #define STAT_LED_RED 32
  104. #define STAT_LED_BLUE 35
  105. #endif