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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /**
  2. * AZTEEG_X3_PRO (Arduino Mega) pin assignments
  3. */
  4. #include "pins_RAMPS_14.h"
  5. #undef FAN_PIN
  6. #define FAN_PIN 6 //Part Cooling System
  7. #define BEEPER_PIN 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. #if ENABLED(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. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  35. //#undef Z_MIN_PIN
  36. //#define Z_MIN_PIN 15
  37. // Define a pin to use as the signal pin on Arduino for the Z probe endstop.
  38. #define Z_MIN_PROBE_PIN 19
  39. #endif
  40. //
  41. #define E2_STEP_PIN 23
  42. #define E2_DIR_PIN 25
  43. #define E2_ENABLE_PIN 40
  44. #define E3_STEP_PIN 27
  45. #define E3_DIR_PIN 29
  46. #define E3_ENABLE_PIN 41
  47. #define E4_STEP_PIN 43
  48. #define E4_DIR_PIN 37
  49. #define E4_ENABLE_PIN 42
  50. #undef HEATER_1_PIN
  51. #undef HEATER_2_PIN
  52. #undef HEATER_3_PIN
  53. #define HEATER_1_PIN 9
  54. #define HEATER_2_PIN 16
  55. #define HEATER_3_PIN 17
  56. #define HEATER_4_PIN 4
  57. #define HEATER_5_PIN 5
  58. #define HEATER_6_PIN 6
  59. #define HEATER_7_PIN 11
  60. #undef TEMP_2_PIN
  61. #undef TEMP_3_PIN
  62. #define TEMP_2_PIN 12 // ANALOG NUMBERING
  63. #define TEMP_3_PIN 11 // ANALOG NUMBERING
  64. #define TEMP_4_PIN 10 // ANALOG NUMBERING
  65. #define TC1 4 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  66. #define TC2 5 // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
  67. //
  68. //These Servo pins are for when they are defined. Tested for usage with bed leveling
  69. //on a Delta with 1 servo. Running through the Z servo endstop in code.
  70. //Physical wire attachment was done on EXT1 on the GND, 5V, and D47 pins.
  71. //
  72. #define SERVO0_PIN 47
  73. //LCD Pins//
  74. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  75. #define BEEPER_PIN 33
  76. // Pins for DOGM SPI LCD Support
  77. #define DOGLCD_A0 44
  78. #define DOGLCD_CS 45
  79. #define LCD_SCREEN_ROT_180
  80. //The encoder and click button
  81. #define BTN_EN1 22
  82. #define BTN_EN2 7
  83. #define BTN_ENC 39 //the click switch
  84. #define SDSS 53
  85. #define SD_DETECT_PIN 49
  86. #define KILL_PIN 31
  87. #endif
  88. #if ENABLED(TEMP_STAT_LEDS)
  89. #define STAT_LED_RED 32
  90. #define STAT_LED_BLUE 35
  91. #endif