My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_CNCONTROLS_11.h 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * CartesioV11 pin assignments
  25. */
  26. #define ALLOW_MEGA1280
  27. #include "env_validate.h"
  28. #define BOARD_INFO_NAME "CN Controls V11"
  29. //
  30. // Limit Switches
  31. //
  32. #define X_STOP_PIN 43
  33. #define Y_STOP_PIN 45
  34. #define Z_STOP_PIN 42
  35. //
  36. // Steppers
  37. //
  38. #define X_STEP_PIN 34
  39. #define X_DIR_PIN 36
  40. #define X_ENABLE_PIN 35
  41. #define Y_STEP_PIN 37
  42. #define Y_DIR_PIN 39
  43. #define Y_ENABLE_PIN 38
  44. #define Z_STEP_PIN 40
  45. #define Z_DIR_PIN 48
  46. #define Z_ENABLE_PIN 41
  47. #define E0_STEP_PIN 29
  48. #define E0_DIR_PIN 28
  49. #define E0_ENABLE_PIN 3
  50. #define E1_STEP_PIN 61
  51. #define E1_DIR_PIN 62
  52. #define E1_ENABLE_PIN 60
  53. #define E2_STEP_PIN 15
  54. #define E2_DIR_PIN 14
  55. #define E2_ENABLE_PIN 16
  56. #define E3_STEP_PIN 44
  57. #define E3_DIR_PIN 49
  58. #define E3_ENABLE_PIN 47
  59. //
  60. // Temperature Sensors
  61. //
  62. #define TEMP_0_PIN 0 // Analog Input
  63. #define TEMP_1_PIN 3 // Analog Input. 3 for tool2 -> 2 for chambertemp
  64. #define TEMP_2_PIN 2 // Analog Input. 9 for tool3 -> 2 for chambertemp
  65. #define TEMP_3_PIN 11 // Analog Input. 11 for tool4 -> 2 for chambertemp
  66. #define TEMP_BED_PIN 1 // Analog Input
  67. #ifndef TEMP_CHAMBER_PIN
  68. //#define TEMP_CHAMBER_PIN 2 // Analog Input
  69. #endif
  70. //
  71. // Heaters / Fans
  72. //
  73. #define HEATER_0_PIN 5
  74. #define HEATER_1_PIN 58
  75. #define HEATER_2_PIN 64
  76. #define HEATER_3_PIN 46
  77. #define HEATER_BED_PIN 2
  78. #ifndef FAN_PIN
  79. //#define FAN_PIN 7 // common PWM pin for all tools
  80. #endif
  81. //
  82. // Auto fans
  83. //
  84. #define AUTO_FAN_PIN 7
  85. #ifndef E0_AUTO_FAN_PIN
  86. #define E0_AUTO_FAN_PIN AUTO_FAN_PIN
  87. #endif
  88. #ifndef E1_AUTO_FAN_PIN
  89. #define E1_AUTO_FAN_PIN AUTO_FAN_PIN
  90. #endif
  91. #ifndef E2_AUTO_FAN_PIN
  92. #define E2_AUTO_FAN_PIN AUTO_FAN_PIN
  93. #endif
  94. #ifndef E3_AUTO_FAN_PIN
  95. #define E3_AUTO_FAN_PIN AUTO_FAN_PIN
  96. #endif
  97. //
  98. // Misc. Functions
  99. //
  100. #define SDSS 53
  101. #define SD_DETECT_PIN 13
  102. // Tools
  103. //#define TOOL_0_PIN 4
  104. //#define TOOL_1_PIN 59
  105. //#define TOOL_2_PIN 8
  106. //#define TOOL_3_PIN 30
  107. //#define TOOL_PWM_PIN 7 // common PWM pin for all tools
  108. // Common I/O
  109. //#define FIL_RUNOUT_PIN -1
  110. //#define PWM_1_PIN 11
  111. //#define PWM_2_PIN 10
  112. //#define SPARE_IO 12
  113. //
  114. // LCD / Controller
  115. //
  116. #if HAS_WIRED_LCD
  117. #define BEEPER_PIN 6
  118. #define BTN_EN1 23
  119. #define BTN_EN2 25
  120. #define BTN_ENC 27
  121. #if HAS_MARLINUI_U8GLIB
  122. #define DOGLCD_A0 26
  123. #define DOGLCD_CS 24
  124. #define DOGLCD_MOSI -1 // Prevent auto-define by Conditionals_post.h
  125. #define DOGLCD_SCK -1
  126. #endif
  127. #endif
  128. // Hardware buttons for manual movement of XYZ
  129. #define SHIFT_OUT_PIN 19
  130. #define SHIFT_LD_PIN 18
  131. #define SHIFT_CLK_PIN 17
  132. //#define UI1 31
  133. //#define UI2 22
  134. #define STAT_LED_BLUE_PIN -1
  135. #define STAT_LED_RED_PIN 31