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_RUMBA.h 3.6KB

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