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.

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