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

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. * Ultimaker pin assignments
  3. */
  4. #if !defined(__AVR_ATmega1280__) && !defined(__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 25
  9. #define X_DIR_PIN 23
  10. #define X_MIN_PIN 22
  11. #define X_MAX_PIN 24
  12. #define X_ENABLE_PIN 27
  13. #define Y_STEP_PIN 31
  14. #define Y_DIR_PIN 33
  15. #define Y_MIN_PIN 26
  16. #define Y_MAX_PIN 28
  17. #define Y_ENABLE_PIN 29
  18. #define Z_STEP_PIN 37
  19. #define Z_DIR_PIN 39
  20. #define Z_MIN_PIN 30
  21. #define Z_MAX_PIN 32
  22. #define Z_ENABLE_PIN 35
  23. #define HEATER_BED_PIN 4
  24. #define TEMP_BED_PIN 10
  25. #define HEATER_0_PIN 2
  26. #define TEMP_0_PIN 8
  27. #define HEATER_1_PIN 3
  28. #define TEMP_1_PIN 9
  29. #define HEATER_2_PIN -1
  30. #define TEMP_2_PIN -1
  31. #define E0_STEP_PIN 43
  32. #define E0_DIR_PIN 45
  33. #define E0_ENABLE_PIN 41
  34. #define E1_STEP_PIN 49
  35. #define E1_DIR_PIN 47
  36. #define E1_ENABLE_PIN 48
  37. #define SDPOWER -1
  38. #define SDSS 53
  39. #define LED_PIN 13
  40. #define FAN_PIN 7
  41. #define PS_ON_PIN 12
  42. #define KILL_PIN -1
  43. #define SUICIDE_PIN 54 //PIN that has to be turned on right after start, to keep power flowing.
  44. #define SERVO0_PIN 13 // untested
  45. #if ENABLED(ULTRA_LCD)
  46. #define BEEPER_PIN 18
  47. #if ENABLED(NEWPANEL)
  48. #define LCD_PINS_RS 20
  49. #define LCD_PINS_ENABLE 17
  50. #define LCD_PINS_D4 16
  51. #define LCD_PINS_D5 21
  52. #define LCD_PINS_D6 5
  53. #define LCD_PINS_D7 6
  54. //buttons are directly attached
  55. #define BTN_EN1 40
  56. #define BTN_EN2 42
  57. #define BTN_ENC 19
  58. #define SDCARDDETECT_PIN 38
  59. #else //!NEWPANEL - Old style panel with shift register
  60. //buttons are attached to a shift register
  61. #define SHIFT_CLK 38
  62. #define SHIFT_LD 42
  63. #define SHIFT_OUT 40
  64. #define SHIFT_EN 17
  65. #define LCD_PINS_RS 16
  66. #define LCD_PINS_ENABLE 5
  67. #define LCD_PINS_D4 6
  68. #define LCD_PINS_D5 21
  69. #define LCD_PINS_D6 20
  70. #define LCD_PINS_D7 19
  71. #define SDCARDDETECT_PIN -1
  72. #endif // !NEWPANEL
  73. #endif // ULTRA_LCD