My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_ULTIMAKER.h 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 SERVO0_PIN 13 // untested
  9. #define X_STEP_PIN 25
  10. #define X_DIR_PIN 23
  11. #define X_MIN_PIN 22
  12. #define X_MAX_PIN 24
  13. #define X_ENABLE_PIN 27
  14. #define Y_STEP_PIN 31
  15. #define Y_DIR_PIN 33
  16. #define Y_MIN_PIN 26
  17. #define Y_MAX_PIN 28
  18. #define Y_ENABLE_PIN 29
  19. #define Z_STEP_PIN 37
  20. #define Z_DIR_PIN 39
  21. #define Z_MIN_PIN 30
  22. #define Z_MAX_PIN 32
  23. #define Z_ENABLE_PIN 35
  24. #define HEATER_BED_PIN 4
  25. #define TEMP_BED_PIN 10
  26. #define HEATER_0_PIN 2
  27. #define TEMP_0_PIN 8
  28. #define HEATER_1_PIN 3
  29. #define TEMP_1_PIN 9
  30. #define HEATER_2_PIN -1
  31. #define TEMP_2_PIN -1
  32. #define E0_STEP_PIN 43
  33. #define E0_DIR_PIN 45
  34. #define E0_ENABLE_PIN 41
  35. #define E1_STEP_PIN 49
  36. #define E1_DIR_PIN 47
  37. #define E1_ENABLE_PIN 48
  38. #define SDPOWER -1
  39. #define SDSS 53
  40. #define LED_PIN 13
  41. #define FAN_PIN 7
  42. #define PS_ON_PIN 12
  43. #define KILL_PIN -1
  44. #define SUICIDE_PIN 54 //PIN that has to be turned on right after start, to keep power flowing.
  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 SD_DETECT_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 SD_DETECT_PIN -1
  72. #endif // !NEWPANEL
  73. #endif // ULTRA_LCD