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_15D.h 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. /**
  23. * CNControls V15 for HMS434 with DUE pin assignments
  24. */
  25. #ifndef __SAM3X8E__
  26. #error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
  27. #endif
  28. #define BOARD_INFO_NAME "CN Controls V15D"
  29. //
  30. // Servos
  31. //
  32. #define SERVO0_PIN 6
  33. //
  34. // Limit Switches
  35. //
  36. #define X_STOP_PIN 34
  37. #define Y_STOP_PIN 39
  38. #define Z_STOP_PIN 62
  39. #ifndef Z_MIN_PROBE_PIN
  40. #define Z_MIN_PROBE_PIN 49
  41. #endif
  42. //
  43. // Steppers
  44. //
  45. #define X_STEP_PIN 14
  46. #define X_DIR_PIN 25
  47. #define X_ENABLE_PIN 26
  48. #define Y_STEP_PIN 11
  49. #define Y_DIR_PIN 12
  50. #define Y_ENABLE_PIN 15
  51. #define Z_STEP_PIN 24
  52. #define Z_DIR_PIN 27
  53. #define Z_ENABLE_PIN 28
  54. #define E0_STEP_PIN 64
  55. #define E0_DIR_PIN 65
  56. #define E0_ENABLE_PIN 63
  57. #define E1_STEP_PIN 8
  58. #define E1_DIR_PIN 7
  59. #define E1_ENABLE_PIN 29
  60. //
  61. // Temperature Sensors
  62. // Analog Inputs
  63. //
  64. #define TEMP_0_PIN 1
  65. #define TEMP_1_PIN 2
  66. #define TEMP_BED_PIN 4
  67. #ifndef TEMP_CHAMBER_PIN
  68. #define TEMP_CHAMBER_PIN 5
  69. #endif
  70. //
  71. // Heaters
  72. //
  73. #define HEATER_0_PIN 3
  74. #define HEATER_1_PIN 4
  75. #define HEATER_BED_PIN 32
  76. #define HEATER_CHAMBER_PIN 33
  77. //
  78. // Fans
  79. //
  80. //#define FAN_PIN 8
  81. //
  82. // Auto fans
  83. //
  84. #define AUTO_FAN_PIN 30
  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. #ifndef CHAMBER_AUTO_FAN_PIN
  98. #define CHAMBER_AUTO_FAN_PIN 10
  99. #endif
  100. //
  101. // SD card
  102. //
  103. #define SCK_PIN 76
  104. #define MISO_PIN 74
  105. #define MOSI_PIN 75
  106. #define SDSS 53
  107. #define SD_DETECT_PIN 40
  108. // Common I/O
  109. //#define PWM_1_PIN 6 // probe
  110. //#define PWM_2_PIN 13
  111. //#define SPARE_IO 17
  112. #define BEEPER_PIN 13
  113. #define STAT_LED_BLUE_PIN -1
  114. #define STAT_LED_RED_PIN 31
  115. // G425 CALIBRATION_GCODE default pin
  116. #ifndef CALIBRATION_PIN
  117. #define CALIBRATION_PIN 66
  118. #endif