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_MEGATRONICS_3.h 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /**
  2. * MegaTronics v3.0 pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define LARGE_FLASH true
  8. #ifdef Z_PROBE_SLED
  9. #define SLED_PIN -1
  10. #endif
  11. // Servo support
  12. #ifdef NUM_SERVOS
  13. #define SERVO0_PIN 46 //AUX3-6
  14. #if NUM_SERVOS > 1
  15. #define SERVO1_PIN 47 //AUX3-5
  16. #if NUM_SERVOS > 2
  17. #define SERVO2_PIN 48 //AUX3-4
  18. #if NUM_SERVOS > 3
  19. #define SERVO2_PIN 49 //AUX3-3
  20. #endif
  21. #endif
  22. #endif
  23. #endif
  24. #define X_STEP_PIN 58
  25. #define X_DIR_PIN 57
  26. #define X_ENABLE_PIN 59
  27. #define X_MIN_PIN 37
  28. #define X_MAX_PIN 40 // put to -1 to disable
  29. #define Y_STEP_PIN 5
  30. #define Y_DIR_PIN 17
  31. #define Y_ENABLE_PIN 4
  32. #define Y_MIN_PIN 41
  33. #define Y_MAX_PIN 38 // put to -1 to disable
  34. #define Z_STEP_PIN 16
  35. #define Z_DIR_PIN 11
  36. #define Z_ENABLE_PIN 3
  37. #define Z_MIN_PIN 18
  38. #define Z_MAX_PIN 19 // put to -1 to disable
  39. #define E0_STEP_PIN 28
  40. #define E0_DIR_PIN 27
  41. #define E0_ENABLE_PIN 29
  42. #define E1_STEP_PIN 25
  43. #define E1_DIR_PIN 24
  44. #define E1_ENABLE_PIN 26
  45. #define E2_STEP_PIN 22
  46. #define E2_DIR_PIN 60
  47. #define E2_ENABLE_PIN 23
  48. #define SDPOWER -1
  49. #define SDSS 53
  50. #define LED_PIN 13
  51. #define PS_ON_PIN 12
  52. #define KILL_PIN -1
  53. #define HEATER_0_PIN 2
  54. #define HEATER_1_PIN 9
  55. #define HEATER_2_PIN 8
  56. #define HEATER_BED_PIN 10
  57. #define FAN_PIN 6
  58. #define FAN2_PIN 7
  59. #define TEMP_0_PIN (TEMP_SENSOR_0 == -1 ? 11 : 15) // ANALOG NUMBERING
  60. #define TEMP_1_PIN (TEMP_SENSOR_1 == -1 ? 10 : 13) // ANALOG NUMBERING
  61. #define TEMP_2_PIN (TEMP_SENSOR_2 == -1 ? 9 : 12) // ANALOG NUMBERING
  62. #define TEMP_BED_PIN (TEMP_SENSOR_BED == -1 ? 8 : 14) // ANALOG NUMBERING
  63. #define BEEPER 61
  64. #define LCD_PINS_RS 32
  65. #define LCD_PINS_ENABLE 31
  66. #define LCD_PINS_D4 14
  67. #define LCD_PINS_D5 30
  68. #define LCD_PINS_D6 39
  69. #define LCD_PINS_D7 15
  70. #define SHIFT_CLK 43
  71. #define SHIFT_LD 35
  72. #define SHIFT_OUT 34
  73. #define SHIFT_EN 44
  74. // Buttons are directly attached using keypad
  75. #define BTN_EN1 44
  76. #define BTN_EN2 45
  77. #define BTN_ENC 33 // the click
  78. #define BLEN_C 2
  79. #define BLEN_B 1
  80. #define BLEN_A 0
  81. #define SDCARDDETECT -1 // Megatronics does not use this port