My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pins_MINIRAMBO.h 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /**
  2. * Mini-Rambo pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define LARGE_FLASH true
  8. #undef X_MS1_PIN
  9. #undef X_MS2_PIN
  10. #undef Y_MS1_PIN
  11. #undef Y_MS2_PIN
  12. #undef Z_MS1_PIN
  13. #undef Z_MS2_PIN
  14. #undef E0_MS1_PIN
  15. #undef E0_MS2_PIN
  16. #undef E1_MS1_PIN
  17. #undef E1_MS2_PIN
  18. #define X_STEP_PIN 37
  19. #define X_DIR_PIN 48
  20. #define X_MIN_PIN 12
  21. #define X_MAX_PIN 30
  22. #define X_ENABLE_PIN 29
  23. #define X_MS1_PIN 40
  24. #define X_MS2_PIN 41
  25. #define Y_STEP_PIN 36
  26. #define Y_DIR_PIN 49
  27. #define Y_MIN_PIN 11
  28. #define Y_MAX_PIN 24
  29. #define Y_ENABLE_PIN 28
  30. #define Y_MS1_PIN 69
  31. #define Y_MS2_PIN 39
  32. #define Z_STEP_PIN 35
  33. #define Z_DIR_PIN 47
  34. #define Z_MIN_PIN 10
  35. #define Z_MAX_PIN 23
  36. #define Z_ENABLE_PIN 27
  37. #define Z_MS1_PIN 68
  38. #define Z_MS2_PIN 67
  39. #define HEATER_BED_PIN 4
  40. #define TEMP_BED_PIN 2
  41. #define HEATER_0_PIN 3
  42. #define TEMP_0_PIN 0
  43. #define HEATER_1_PIN 7
  44. #define TEMP_1_PIN 1
  45. #if ENABLED(BARICUDA)
  46. #define HEATER_2_PIN 6
  47. #else
  48. #define HEATER_2_PIN -1
  49. #endif
  50. #define TEMP_2_PIN -1
  51. #define E0_STEP_PIN 34
  52. #define E0_DIR_PIN 43
  53. #define E0_ENABLE_PIN 26
  54. #define E0_MS1_PIN 65
  55. #define E0_MS2_PIN 66
  56. #define E1_STEP_PIN -1
  57. #define E1_DIR_PIN -1
  58. #define E1_ENABLE_PIN -1
  59. #define E1_MS1_PIN -1
  60. #define E1_MS2_PIN -1
  61. #define MOTOR_CURRENT_PWM_XY_PIN 46
  62. #define MOTOR_CURRENT_PWM_Z_PIN 45
  63. #define MOTOR_CURRENT_PWM_E_PIN 44
  64. //Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
  65. #define MOTOR_CURRENT_PWM_RANGE 2000
  66. #define DEFAULT_PWM_MOTOR_CURRENT {1300, 1300, 1250}
  67. #define SDPOWER -1
  68. #define SDSS 53
  69. #define LED_PIN 13
  70. #define FAN_PIN 8
  71. #define FAN_1_PIN 6
  72. #define PS_ON_PIN -1
  73. #define KILL_PIN -1 //80 with Smart Controller LCD
  74. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  75. #if ENABLED(ULTRA_LCD)
  76. #define KILL_PIN 32
  77. #if ENABLED(NEWPANEL)
  78. //arduino pin which triggers an piezzo beeper
  79. #define BEEPER 84 // Beeper on AUX-4
  80. #define LCD_PINS_RS 82
  81. #define LCD_PINS_ENABLE 18
  82. #define LCD_PINS_D4 19
  83. #define LCD_PINS_D5 70
  84. #define LCD_PINS_D6 85
  85. #define LCD_PINS_D7 71
  86. //buttons are directly attached using AUX-2
  87. #define BTN_EN1 14
  88. #define BTN_EN2 72
  89. #define BTN_ENC 9 //the click
  90. #define SDCARDDETECT 15
  91. #endif
  92. #endif //ULTRA_LCD