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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. #ifdef ULTRA_LCD
  46. #ifdef NEWPANEL
  47. //arduino pin witch triggers an piezzo beeper
  48. #define BEEPER 18
  49. #define LCD_PINS_RS 20
  50. #define LCD_PINS_ENABLE 17
  51. #define LCD_PINS_D4 16
  52. #define LCD_PINS_D5 21
  53. #define LCD_PINS_D6 5
  54. #define LCD_PINS_D7 6
  55. //buttons are directly attached
  56. #define BTN_EN1 40
  57. #define BTN_EN2 42
  58. #define BTN_ENC 19 //the click
  59. #define SDCARDDETECT 38
  60. #else //!NEWPANEL - Old style panel with shift register
  61. //arduino pin witch triggers an piezzo beeper
  62. #define BEEPER 18
  63. //buttons are attached to a shift register
  64. #define SHIFT_CLK 38
  65. #define SHIFT_LD 42
  66. #define SHIFT_OUT 40
  67. #define SHIFT_EN 17
  68. #define LCD_PINS_RS 16
  69. #define LCD_PINS_ENABLE 5
  70. #define LCD_PINS_D4 6
  71. #define LCD_PINS_D5 21
  72. #define LCD_PINS_D6 20
  73. #define LCD_PINS_D7 19
  74. #define SDCARDDETECT -1
  75. #endif // !NEWPANEL
  76. #endif // ULTRA_LCD