My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

pins_CNCONTROLS_11.h 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /**
  2. * CartesioV11 pin assignments
  3. */
  4. #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
  5. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define BOARD_NAME "CN Controls V11"
  8. //
  9. // Limit Switches
  10. //
  11. #define X_STOP_PIN 43
  12. #define Y_STOP_PIN 45
  13. #define Z_STOP_PIN 42
  14. //
  15. // Steppers
  16. //
  17. #define X_STEP_PIN 34
  18. #define X_DIR_PIN 36
  19. #define X_ENABLE_PIN 35
  20. #define Y_STEP_PIN 37
  21. #define Y_DIR_PIN 39
  22. #define Y_ENABLE_PIN 38
  23. #define Z_STEP_PIN 40
  24. #define Z_DIR_PIN 48
  25. #define Z_ENABLE_PIN 41
  26. #define E0_STEP_PIN 29
  27. #define E0_DIR_PIN 28
  28. #define E0_ENABLE_PIN 3
  29. #define E1_STEP_PIN 61
  30. #define E1_DIR_PIN 62
  31. #define E1_ENABLE_PIN 60
  32. #define E2_STEP_PIN 15
  33. #define E2_DIR_PIN 14
  34. #define E2_ENABLE_PIN 16
  35. #define E3_STEP_PIN 44
  36. #define E3_DIR_PIN 49
  37. #define E3_ENABLE_PIN 47
  38. //
  39. // Temperature Sensors
  40. //
  41. #define TEMP_0_PIN 0 // Analog Input
  42. #define TEMP_1_PIN 3 // Analog Input. 3 for tool2 -> 2 for chambertemp
  43. #define TEMP_2_PIN 2 // Analog Input. 9 for tool3 -> 2 for chambertemp
  44. #define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 2 for chambertemp
  45. #define TEMP_BED_PIN 1 // Analog Input
  46. //#define TEMP_CHAMBER_PIN 2 // Analog Input
  47. //
  48. // Heaters / Fans
  49. //
  50. #define HEATER_0_PIN 5
  51. #define HEATER_1_PIN 58
  52. #define HEATER_2_PIN 64
  53. #define HEATER_3_PIN 46
  54. #define HEATER_BED_PIN 2
  55. //#define FAN_PIN 7 // common PWM pin for all tools
  56. #define ORIG_E0_AUTO_FAN_PIN 7
  57. #define ORIG_E1_AUTO_FAN_PIN 7
  58. #define ORIG_E2_AUTO_FAN_PIN 7
  59. #define ORIG_E3_AUTO_FAN_PIN 7
  60. //
  61. // Misc. Functions
  62. //
  63. #define SDSS 53
  64. #define SD_DETECT_PIN 13
  65. // Tools
  66. //#define TOOL_0_PIN 4
  67. //#define TOOL_1_PIN 59
  68. //#define TOOL_2_PIN 8
  69. //#define TOOL_3_PIN 30
  70. //#define TOOL_PWM_PIN 7 // common PWM pin for all tools
  71. // Common I/O
  72. //#define FIL_RUNOUT_PIN -1
  73. //#define PWM_1_PIN 11
  74. //#define PWM_2_PIN 10
  75. //#define SPARE_IO 12
  76. //
  77. // LCD / Controller
  78. //
  79. #define BEEPER_PIN 6
  80. // Pins for DOGM SPI LCD Support
  81. #define DOGLCD_A0 26
  82. #define DOGLCD_CS 24
  83. #define DOGLCD_MOSI -1
  84. #define DOGLCD_SCK -1
  85. #define BTN_EN1 23
  86. #define BTN_EN2 25
  87. #define BTN_ENC 27
  88. // Hardware buttons for manual movement of XYZ
  89. #define SHIFT_OUT 19
  90. #define SHIFT_LD 18
  91. #define SHIFT_CLK 17
  92. //#define UI1 31
  93. //#define UI2 22
  94. #define STAT_LED_BLUE_PIN -1
  95. #define STAT_LED_RED_PIN 31