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.

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