My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

pins_RAMBO.h 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. /**
  2. * Rambo pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define LARGE_FLASH true
  8. // Servo support
  9. #define SERVO0_PIN 22 // Motor header MX1
  10. #define SERVO1_PIN 23 // Motor header MX2
  11. #define SERVO2_PIN 24 // Motor header MX3
  12. #define SERVO3_PIN 5 // PWM header pin 5
  13. #if ENABLED(Z_PROBE_SLED)
  14. #define SLED_PIN -1
  15. #endif
  16. #undef X_MS1_PIN
  17. #undef X_MS2_PIN
  18. #undef Y_MS1_PIN
  19. #undef Y_MS2_PIN
  20. #undef Z_MS1_PIN
  21. #undef Z_MS2_PIN
  22. #undef E0_MS1_PIN
  23. #undef E0_MS2_PIN
  24. #undef E1_MS1_PIN
  25. #undef E1_MS2_PIN
  26. #define X_STEP_PIN 37
  27. #define X_DIR_PIN 48
  28. #define X_MIN_PIN 12
  29. #define X_MAX_PIN 24
  30. #define X_ENABLE_PIN 29
  31. #define X_MS1_PIN 40
  32. #define X_MS2_PIN 41
  33. #define Y_STEP_PIN 36
  34. #define Y_DIR_PIN 49
  35. #define Y_MIN_PIN 11
  36. #define Y_MAX_PIN 23
  37. #define Y_ENABLE_PIN 28
  38. #define Y_MS1_PIN 69
  39. #define Y_MS2_PIN 39
  40. #define Z_STEP_PIN 35
  41. #define Z_DIR_PIN 47
  42. #define Z_MIN_PIN 10
  43. #define Z_MAX_PIN 30
  44. #define Z_ENABLE_PIN 27
  45. #define Z_MS1_PIN 68
  46. #define Z_MS2_PIN 67
  47. #define HEATER_BED_PIN 3
  48. #define TEMP_BED_PIN 2
  49. #define HEATER_0_PIN 9
  50. #define TEMP_0_PIN 0
  51. #define HEATER_1_PIN 7
  52. #define TEMP_1_PIN 1
  53. #if ENABLED(BARICUDA)
  54. #define HEATER_2_PIN 6
  55. #else
  56. #define HEATER_2_PIN -1
  57. #endif
  58. #define TEMP_2_PIN -1
  59. #define E0_STEP_PIN 34
  60. #define E0_DIR_PIN 43
  61. #define E0_ENABLE_PIN 26
  62. #define E0_MS1_PIN 65
  63. #define E0_MS2_PIN 66
  64. #define E1_STEP_PIN 33
  65. #define E1_DIR_PIN 42
  66. #define E1_ENABLE_PIN 25
  67. #define E1_MS1_PIN 63
  68. #define E1_MS2_PIN 64
  69. #define DIGIPOTSS_PIN 38
  70. #define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
  71. #define SDPOWER -1
  72. #define SDSS 53
  73. #define LED_PIN 13
  74. #define FAN_PIN 8
  75. /**********************************************************
  76. Fan Pins
  77. Fan_0 8
  78. Fan_1 6
  79. Fan_2 2
  80. ***********************************************************/
  81. #define PS_ON_PIN 4
  82. #define KILL_PIN -1 //80 with Smart Controller LCD
  83. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  84. #if ENABLED(ULTRA_LCD)
  85. #define KILL_PIN 80
  86. #if ENABLED(NEWPANEL)
  87. #define BEEPER_PIN 79 // Beeper on AUX-4
  88. #define LCD_PINS_RS 70
  89. #define LCD_PINS_ENABLE 71
  90. #define LCD_PINS_D4 72
  91. #define LCD_PINS_D5 73
  92. #define LCD_PINS_D6 74
  93. #define LCD_PINS_D7 75
  94. //buttons are directly attached using AUX-2
  95. #define BTN_EN1 76
  96. #define BTN_EN2 77
  97. #define BTN_ENC 78 //the click
  98. #define BLEN_C 2
  99. #define BLEN_B 1
  100. #define BLEN_A 0
  101. #define SD_DETECT_PIN 81 // Ramps doesn't use this
  102. #else //!NEWPANEL - old style panel with shift register
  103. #define BEEPER_PIN 33 // No Beeper added
  104. //buttons are attached to a shift register
  105. // Not wired yet
  106. //#define SHIFT_CLK 38
  107. //#define SHIFT_LD 42
  108. //#define SHIFT_OUT 40
  109. //#define SHIFT_EN 17
  110. #define LCD_PINS_RS 75
  111. #define LCD_PINS_ENABLE 17
  112. #define LCD_PINS_D4 23
  113. #define LCD_PINS_D5 25
  114. #define LCD_PINS_D6 27
  115. #define LCD_PINS_D7 29
  116. //bits in the shift register that carry the buttons for:
  117. // left up center down right red
  118. #define BL_LE 7
  119. #define BL_UP 6
  120. #define BL_MI 5
  121. #define BL_DW 4
  122. #define BL_RI 3
  123. #define BL_ST 2
  124. #define BLEN_B 1
  125. #define BLEN_A 0
  126. #endif // !NEWPANEL
  127. #endif // ULTRA_LCD
  128. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  129. #define BEEPER_PIN 44
  130. // Pins for DOGM SPI LCD Support
  131. #define DOGLCD_A0 70
  132. #define DOGLCD_CS 71
  133. #define LCD_SCREEN_ROT_180
  134. //The encoder and click button
  135. #define BTN_EN1 85
  136. #define BTN_EN2 84
  137. #define BTN_ENC 83 //the click switch
  138. #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
  139. #if ENABLED(TEMP_STAT_LEDS)
  140. #define STAT_LED_RED 22
  141. #define STAT_LED_BLUE 32
  142. #endif
  143. #endif // VIKI2/miniVIKI
  144. #if ENABLED(FILAMENT_SENSOR)
  145. //Filip added pin for Filament sensor analog input
  146. #define FILWIDTH_PIN 3
  147. #endif