My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pins_A4JP.h 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. /************************************************
  2. * Rambo pin assignments MODIFIED FOR A4JP
  3. ************************************************/
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. // Servo support
  8. #define SERVO0_PIN 22 // Motor header MX1
  9. #define SERVO1_PIN 23 // Motor header MX2
  10. #define SERVO2_PIN 24 // Motor header MX3
  11. #define SERVO3_PIN 5 // PWM header pin 5
  12. #if ENABLED(Z_PROBE_SLED)
  13. #define SLED_PIN -1
  14. #endif
  15. #undef X_MS1_PIN
  16. #undef X_MS2_PIN
  17. #undef Y_MS1_PIN
  18. #undef Y_MS2_PIN
  19. #undef Z_MS1_PIN
  20. #undef Z_MS2_PIN
  21. #undef E0_MS1_PIN
  22. #undef E0_MS2_PIN
  23. #undef E1_MS1_PIN
  24. #undef E1_MS2_PIN
  25. #undef DIGIPOTSS_PIN
  26. //Fan_2 2
  27. /*****************
  28. #if ENABLED(ULTRA_LCD)
  29. #define KILL_PIN -1 //was 80 Glen maybe a mistake
  30. #endif // ULTRA_LCD */
  31. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  32. #define BEEPER_PIN 44
  33. // Pins for DOGM SPI LCD Support
  34. #define DOGLCD_A0 70
  35. #define DOGLCD_CS 71
  36. #define LCD_SCREEN_ROT_180
  37. #define SD_DETECT_PIN -1 // Pin 72 if using easy adapter board
  38. #if ENABLED(TEMP_STAT_LEDS)
  39. #define STAT_LED_RED 22
  40. #define STAT_LED_BLUE 32
  41. #endif
  42. #endif // VIKI2/miniVIKI
  43. #if ENABLED(FILAMENT_SENSOR)
  44. //Filip added pin for Filament sensor analog input
  45. #define FILWIDTH_PIN 3
  46. #endif
  47. /************************************************
  48. * Rambo pin assignments old
  49. ************************************************/
  50. #define LARGE_FLASH true
  51. #define X_STEP_PIN 37
  52. #define X_DIR_PIN 48
  53. #define X_MIN_PIN 12
  54. #define X_MAX_PIN 24
  55. #define X_ENABLE_PIN 29
  56. #define X_MS1_PIN 40
  57. #define X_MS2_PIN 41
  58. #define Y_STEP_PIN 36
  59. #define Y_DIR_PIN 49
  60. #define Y_MIN_PIN 11
  61. #define Y_MAX_PIN 23
  62. #define Y_ENABLE_PIN 28
  63. #define Y_MS1_PIN 69
  64. #define Y_MS2_PIN 39
  65. #define Z_STEP_PIN 35
  66. #define Z_DIR_PIN 47
  67. #define Z_MIN_PIN 10
  68. #define Z_MAX_PIN 30
  69. #define Z_ENABLE_PIN 27
  70. #define Z_MS1_PIN 68
  71. #define Z_MS2_PIN 67
  72. #define HEATER_BED_PIN 3
  73. #define TEMP_BED_PIN 7 //2014/02/04 0:T0 / 1:T1 / 2:T2 / 7:T3
  74. #define HEATER_0_PIN 9
  75. #define TEMP_0_PIN 0
  76. #define HEATER_1_PIN 7
  77. #define TEMP_1_PIN -1
  78. #define HEATER_2_PIN -1
  79. #define TEMP_2_PIN -1
  80. #define E0_STEP_PIN 34
  81. #define E0_DIR_PIN 43
  82. #define E0_ENABLE_PIN 26
  83. #define E0_MS1_PIN 65
  84. #define E0_MS2_PIN 66
  85. #define E1_STEP_PIN 33
  86. #define E1_DIR_PIN 42
  87. #define E1_ENABLE_PIN 25
  88. #define E1_MS1_PIN 63
  89. #define E1_MS2_PIN 64
  90. #define DIGIPOTSS_PIN 38
  91. #define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
  92. #define SDPOWER -1
  93. #define SDSS 53
  94. #define LED_PIN 13
  95. #define FAN_PIN 8
  96. #define PS_ON_PIN 4
  97. #define KILL_PIN -1
  98. #define SUICIDE_PIN -1 //PIN that has to be turned on right after start, to keep power flowing.
  99. #define FAN_0_PIN 6 //Glen
  100. #define FAN_1_PIN 2 //Glen
  101. // 2015/12/23
  102. #define LCD_PINS_RS 70 //ext2_5
  103. #define LCD_PINS_ENABLE 71 //ext2_7
  104. #define LCD_PINS_D4 72 ///////Ext2 9 ?
  105. #define LCD_PINS_D5 73 ///////Ext2 11 ?
  106. #define LCD_PINS_D6 74 //ext2_13
  107. #define LCD_PINS_D7 75 ///////Ext2 15 ?
  108. #define BEEPER_PIN -1
  109. #define BTN_HOME 80 //ext_16
  110. #define BTN_CENTER 81 //ext_14
  111. #define BTN_ENC BTN_CENTER
  112. #define BTN_RIGHT 82 //ext_12
  113. #define BTN_LEFT 83 //ext_10
  114. #define BTN_UP 84 //ext2_8
  115. #define BTN_DOWN 85 //ext2_6
  116. #define HOME_PIN BTN_HOME