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

pins_MEGACONTROLLER.h 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /**
  2. * Mega controller 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 > 2
  8. #error Mega Controller supports up to 2 extruders. Comment this line to keep going.
  9. #endif
  10. #define SERVO0_PIN 30
  11. #define SERVO1_PIN 31
  12. #define SERVO2_PIN 32
  13. #define SERVO3_PIN 33
  14. #define X_STEP_PIN 62//A8
  15. #define X_DIR_PIN 63//A9
  16. #define X_ENABLE_PIN 61//A7
  17. #define X_MIN_PIN 43
  18. #define X_MAX_PIN 42 //Max endstops default to disabled "-1", set to commented value to enable.
  19. #define Y_STEP_PIN 65 // A11
  20. #define Y_DIR_PIN 66 // A12
  21. #define Y_ENABLE_PIN 64//A10
  22. #define Y_MIN_PIN 38
  23. #define Y_MAX_PIN 41
  24. #define Z_STEP_PIN 68 // A14
  25. #define Z_DIR_PIN 69 // A15
  26. #define Z_ENABLE_PIN 67 // A13
  27. #define Z_MIN_PIN 40
  28. #define Z_MAX_PIN 37
  29. #define E0_STEP_PIN 23
  30. #define E0_DIR_PIN 24
  31. #define E0_ENABLE_PIN 22
  32. #define E1_STEP_PIN 26
  33. #define E1_DIR_PIN 27
  34. #define E1_ENABLE_PIN 25
  35. #define SDPOWER -1
  36. #define SDSS 53
  37. #define LED_PIN 13
  38. #define FAN_PIN 39
  39. #define FAN1_PIN 35
  40. #define FAN2_PIN 36
  41. #define FAN_SOFT_PWM
  42. #define CONTROLLERFAN_PIN FAN2_PIN
  43. #define PS_ON_PIN -1
  44. #define KILL_PIN -1
  45. #define HEATER_0_PIN 29 // EXTRUDER 1
  46. #define HEATER_1_PIN 34 // EXTRUDER 2
  47. #define HEATER_2_PIN -1
  48. #if TEMP_SENSOR_0 == -1
  49. #define TEMP_0_PIN 4 // ANALOG NUMBERING
  50. #else
  51. #define TEMP_0_PIN 0 // ANALOG NUMBERING
  52. #endif
  53. #if TEMP_SENSOR_1 == -1
  54. #define TEMP_1_PIN 5 // ANALOG NUMBERING
  55. #else
  56. #define TEMP_1_PIN 2 // ANALOG NUMBERING
  57. #endif
  58. #define TEMP_2_PIN 3 // ANALOG NUMBERING
  59. #define HEATER_BED_PIN 28 // BED
  60. #if TEMP_SENSOR_BED == -1
  61. #define TEMP_BED_PIN 6 // ANALOG NUMBERING
  62. #else
  63. #define TEMP_BED_PIN 1 // ANALOG NUMBERING
  64. #endif
  65. #if ENABLED(MINIPANEL)
  66. #define BEEPER_PIN 46
  67. // Pins for DOGM SPI LCD Support
  68. #define DOGLCD_A0 47
  69. #define DOGLCD_CS 45
  70. #define LCD_PIN_BL 44 // backlight LED on PA3
  71. #define KILL_PIN 12
  72. // GLCD features
  73. //#define LCD_CONTRAST 190
  74. // Uncomment screen orientation
  75. //#define LCD_SCREEN_ROT_90
  76. //#define LCD_SCREEN_ROT_180
  77. //#define LCD_SCREEN_ROT_270
  78. //The encoder and click button
  79. #define BTN_EN1 48
  80. #define BTN_EN2 11
  81. #define BTN_ENC 10 //the click switch
  82. //not connected to a pin
  83. #define SD_DETECT_PIN 49
  84. #endif //Minipanel