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.h 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /**
  2. * MegaTronics 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. #define X_STEP_PIN 26
  9. #define X_DIR_PIN 28
  10. #define X_ENABLE_PIN 24
  11. #define X_MIN_PIN 41
  12. #define X_MAX_PIN 37
  13. #define Y_STEP_PIN 60 // A6
  14. #define Y_DIR_PIN 61 // A7
  15. #define Y_ENABLE_PIN 22
  16. #define Y_MIN_PIN 14
  17. #define Y_MAX_PIN 15
  18. #define Z_STEP_PIN 54 // A0
  19. #define Z_DIR_PIN 55 // A1
  20. #define Z_ENABLE_PIN 56 // A2
  21. #define Z_MIN_PIN 18
  22. #define Z_MAX_PIN 19
  23. #define E0_STEP_PIN 31
  24. #define E0_DIR_PIN 32
  25. #define E0_ENABLE_PIN 38
  26. #define E1_STEP_PIN 34
  27. #define E1_DIR_PIN 36
  28. #define E1_ENABLE_PIN 30
  29. #define SDPOWER -1
  30. #define SDSS 53
  31. #define LED_PIN 13
  32. #define FAN_PIN 7 // IO pin. Buffer needed
  33. #define PS_ON_PIN 12
  34. #define KILL_PIN -1
  35. #define HEATER_0_PIN 9
  36. #define HEATER_1_PIN 8
  37. #define HEATER_2_PIN -1
  38. #if TEMP_SENSOR_0 == -1
  39. #define TEMP_0_PIN 8 // ANALOG NUMBERING
  40. #else
  41. #define TEMP_0_PIN 13 // ANALOG NUMBERING
  42. #endif
  43. #define TEMP_1_PIN 15 // ANALOG NUMBERING
  44. #define TEMP_2_PIN -1 // ANALOG NUMBERING
  45. #define HEATER_BED_PIN 10 // BED
  46. #define TEMP_BED_PIN 14 // ANALOG NUMBERING
  47. #define BEEPER 33 // AUX-4
  48. #if defined(ULTRA_LCD) && defined(NEWPANEL)
  49. #define LCD_PINS_RS 16
  50. #define LCD_PINS_ENABLE 17
  51. #define LCD_PINS_D4 23
  52. #define LCD_PINS_D5 25
  53. #define LCD_PINS_D6 27
  54. #define LCD_PINS_D7 29
  55. // Buttons directly attached using AUX-2
  56. #define BTN_EN1 59
  57. #define BTN_EN2 64
  58. #define BTN_ENC 43
  59. #define BLEN_C 2
  60. #define BLEN_B 1
  61. #define BLEN_A 0
  62. #define SDCARDDETECT -1 // RAMPS doesn't use this
  63. #endif // ULTRA_LCD && NEWPANEL