My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_CNCONTROLS_11.h 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. //#define LARGE_FLASH true
  9. //
  10. // Limit Switches
  11. //
  12. #define X_STOP_PIN 43
  13. #define Y_STOP_PIN 45
  14. #define Z_STOP_PIN 42
  15. //
  16. // Steppers
  17. //
  18. #define X_STEP_PIN 34
  19. #define X_DIR_PIN 36
  20. #define X_ENABLE_PIN 35
  21. #define Y_STEP_PIN 37
  22. #define Y_DIR_PIN 39
  23. #define Y_ENABLE_PIN 38
  24. #define Z_STEP_PIN 40
  25. #define Z_DIR_PIN 48
  26. #define Z_ENABLE_PIN 41
  27. #define E0_STEP_PIN 29
  28. #define E0_DIR_PIN 28
  29. #define E0_ENABLE_PIN 3
  30. #define E1_STEP_PIN 61
  31. #define E1_DIR_PIN 62
  32. #define E1_ENABLE_PIN 60
  33. #define E2_STEP_PIN 15
  34. #define E2_DIR_PIN 14
  35. #define E2_ENABLE_PIN 16
  36. #define E3_STEP_PIN 44
  37. #define E3_DIR_PIN 49
  38. #define E3_ENABLE_PIN 47
  39. //
  40. // Temperature Sensors
  41. //
  42. #define TEMP_0_PIN 0 // ANALOG INPUT !!
  43. #define TEMP_1_PIN 3 // 3 for tool2 -> 2 for chambertemp
  44. #define TEMP_2_PIN 2 // 9 for tool3 -> 2 for chambertemp
  45. #define TEMP_3_PIN 11 // 11 for tool4 -> 2 for chambertemp
  46. #define TEMP_BED_PIN 1 // 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. // Tools
  56. //#define TOOL_0_PIN 4
  57. //#define TOOL_1_PIN 59
  58. //#define TOOL_2_PIN 8
  59. //#define TOOL_3_PIN 30
  60. //#define TOOL_PWM_PIN 7 // common PWM pin for all tools
  61. // Common I/O
  62. //#define TEMP_CHAMBER_PIN 2 // ANALOG INPUT !!
  63. //#define FIL_RUNOUT_PIN -1
  64. //#define PWM_1_PIN 11
  65. //#define PWM_2_PIN 10
  66. //#define SPARE_IO 12
  67. //#define FAN_PIN 7 // common PWM pin for all tools
  68. //
  69. // SD Card
  70. //
  71. #define SDSS 53
  72. #define SD_DETECT_PIN 13
  73. //
  74. // LCD / Controller
  75. //
  76. #define BEEPER_PIN 6
  77. // Pins for DOGM SPI LCD Support
  78. #define DOGLCD_A0 26
  79. #define DOGLCD_CS 24
  80. #define DOGLCD_MOSI -1
  81. #define DOGLCD_SCK -1
  82. #define BTN_EN1 23
  83. #define BTN_EN2 25
  84. #define BTN_ENC 27
  85. // Hardware buttons for manual movement of XYZ
  86. #define SHIFT_OUT 19
  87. #define SHIFT_LD 18
  88. #define SHIFT_CLK 17
  89. //#define UI1 31
  90. //#define UI2 22
  91. //
  92. // Misc. Functions
  93. //
  94. #define STAT_LED_BLUE -1
  95. #define STAT_LED_RED 31