My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_RUMBA.h 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /**
  2. * RUMBA 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. #if EXTRUDERS > 3
  8. #error RUMBA supports up to 3 extruders. Comment this line to keep going.
  9. #endif
  10. #define X_STEP_PIN 17
  11. #define X_DIR_PIN 16
  12. #define X_ENABLE_PIN 48
  13. #define X_MIN_PIN 37
  14. #define X_MAX_PIN 36
  15. #define Y_STEP_PIN 54
  16. #define Y_DIR_PIN 47
  17. #define Y_ENABLE_PIN 55
  18. #define Y_MIN_PIN 35
  19. #define Y_MAX_PIN 34
  20. #define Z_STEP_PIN 57
  21. #define Z_DIR_PIN 56
  22. #define Z_ENABLE_PIN 62
  23. #define Z_MIN_PIN 33
  24. #define Z_MAX_PIN 32
  25. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  26. // Define a pin to use as the signal pin on Arduino for the Z probe endstop.
  27. #define Z_MIN_PROBE_PIN 33
  28. #endif
  29. #define E0_STEP_PIN 23
  30. #define E0_DIR_PIN 22
  31. #define E0_ENABLE_PIN 24
  32. #define E1_STEP_PIN 26
  33. #define E1_DIR_PIN 25
  34. #define E1_ENABLE_PIN 27
  35. #define E2_STEP_PIN 29
  36. #define E2_DIR_PIN 28
  37. #define E2_ENABLE_PIN 39
  38. #define LED_PIN 13
  39. #define FAN_PIN 7
  40. #define FAN1_PIN 8
  41. #define PS_ON_PIN 45
  42. #define KILL_PIN 46
  43. #if TEMP_SENSOR_0 == 0
  44. #define TEMP_0_PIN -1
  45. #define HEATER_0_PIN -1
  46. #else
  47. #define HEATER_0_PIN 2 // EXTRUDER 1
  48. #if TEMP_SENSOR_0 == -1
  49. #define TEMP_0_PIN 6 // ANALOG NUMBERING - connector *K1* on RUMBA thermocouple ADD ON is used
  50. #else
  51. #define TEMP_0_PIN 15 // ANALOG NUMBERING - default connector for thermistor *T0* on rumba board is used
  52. #endif
  53. #endif
  54. #if TEMP_SENSOR_1 == 0
  55. #define TEMP_1_PIN -1
  56. #define HEATER_1_PIN -1
  57. #else
  58. #define HEATER_1_PIN 3 // EXTRUDER 2
  59. #if TEMP_SENSOR_1 == -1
  60. #define TEMP_1_PIN 5 // ANALOG NUMBERING - connector *K2* on RUMBA thermocouple ADD ON is used
  61. #else
  62. #define TEMP_1_PIN 14 // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
  63. #endif
  64. #endif
  65. #if TEMP_SENSOR_2 == 0
  66. #define TEMP_2_PIN -1
  67. #define HEATER_2_PIN -1
  68. #else
  69. #define HEATER_2_PIN 6 // EXTRUDER 3
  70. #if TEMP_SENSOR_2 == -1
  71. #define TEMP_2_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple
  72. #else
  73. #define TEMP_2_PIN 13 // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
  74. #endif
  75. #endif
  76. //optional for extruder 4 or chamber: #define TEMP_X_PIN 12 // ANALOG NUMBERING - default connector for thermistor *T3* on rumba board is used
  77. //optional FAN1 can be used as 4th heater output: #define HEATER_3_PIN 8 // EXTRUDER 4
  78. #if TEMP_SENSOR_BED == 0
  79. #define TEMP_BED_PIN -1
  80. #define HEATER_BED_PIN -1
  81. #else
  82. #define HEATER_BED_PIN 9 // BED
  83. #if TEMP_SENSOR_BED == -1
  84. #define TEMP_BED_PIN 7 // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_2 is defined as thermocouple
  85. #else
  86. #define TEMP_BED_PIN 11 // ANALOG NUMBERING - default connector for thermistor *THB* on rumba board is used
  87. #endif
  88. #endif
  89. #define SDPOWER -1
  90. #define SDSS 53
  91. #define SD_DETECT_PIN 49
  92. #define BEEPER_PIN 44
  93. #define LCD_PINS_RS 19
  94. #define LCD_PINS_ENABLE 42
  95. #define LCD_PINS_D4 18
  96. #define LCD_PINS_D5 38
  97. #define LCD_PINS_D6 41
  98. #define LCD_PINS_D7 40
  99. #define BTN_EN1 11
  100. #define BTN_EN2 12
  101. #define BTN_ENC 43
  102. #define SERVO0_PIN 5