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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. #if ENABLED(Z_PROBE_SLED)
  9. #define SLED_PIN -1
  10. #endif
  11. // Servo support
  12. #define SERVO0_PIN 46 //AUX3-6
  13. #define SERVO1_PIN 47 //AUX3-5
  14. #define SERVO2_PIN 48 //AUX3-4
  15. #define SERVO2_PIN 49 //AUX3-3
  16. #define X_STEP_PIN 58
  17. #define X_DIR_PIN 57
  18. #define X_ENABLE_PIN 59
  19. #define X_MIN_PIN 37
  20. #define X_MAX_PIN 40 // put to -1 to disable
  21. #define Y_STEP_PIN 5
  22. #define Y_DIR_PIN 17
  23. #define Y_ENABLE_PIN 4
  24. #define Y_MIN_PIN 41
  25. #define Y_MAX_PIN 38 // put to -1 to disable
  26. #define Z_STEP_PIN 16
  27. #define Z_DIR_PIN 11
  28. #define Z_ENABLE_PIN 3
  29. #define Z_MIN_PIN 18
  30. #define Z_MAX_PIN 19 // put to -1 to disable
  31. #define E0_STEP_PIN 28
  32. #define E0_DIR_PIN 27
  33. #define E0_ENABLE_PIN 29
  34. #define E1_STEP_PIN 25
  35. #define E1_DIR_PIN 24
  36. #define E1_ENABLE_PIN 26
  37. #define E2_STEP_PIN 22
  38. #define E2_DIR_PIN 60
  39. #define E2_ENABLE_PIN 23
  40. #define SDPOWER -1
  41. #define SDSS 53
  42. #define LED_PIN 13
  43. #define PS_ON_PIN 12
  44. #define KILL_PIN -1
  45. #define HEATER_0_PIN 2
  46. #define HEATER_1_PIN 9
  47. #define HEATER_2_PIN 8
  48. #define HEATER_BED_PIN 10
  49. #define FAN_PIN 6
  50. #define FAN2_PIN 7
  51. #define TEMP_0_PIN (TEMP_SENSOR_0 == -1 ? 11 : 15) // ANALOG NUMBERING
  52. #define TEMP_1_PIN (TEMP_SENSOR_1 == -1 ? 10 : 13) // ANALOG NUMBERING
  53. #define TEMP_2_PIN (TEMP_SENSOR_2 == -1 ? 9 : 12) // ANALOG NUMBERING
  54. #define TEMP_BED_PIN (TEMP_SENSOR_BED == -1 ? 8 : 14) // ANALOG NUMBERING
  55. #define BEEPER_PIN 61
  56. #define LCD_PINS_RS 32
  57. #define LCD_PINS_ENABLE 31
  58. #define LCD_PINS_D4 14
  59. #define LCD_PINS_D5 30
  60. #define LCD_PINS_D6 39
  61. #define LCD_PINS_D7 15
  62. #define SHIFT_CLK 43
  63. #define SHIFT_LD 35
  64. #define SHIFT_OUT 34
  65. #define SHIFT_EN 44
  66. // Buttons are directly attached using keypad
  67. #define BTN_EN1 44
  68. #define BTN_EN2 45
  69. #define BTN_ENC 33 // the click
  70. #define BLEN_C 2
  71. #define BLEN_B 1
  72. #define BLEN_A 0
  73. #define SD_DETECT_PIN -1 // Megatronics doesn't use this