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.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. #include "env_validate.h"
  26. #define BOARD_INFO_NAME "CN Controls V15D"
  27. //
  28. // Servos
  29. //
  30. #define SERVO0_PIN 6
  31. //
  32. // Limit Switches
  33. //
  34. #define X_STOP_PIN 34
  35. #define Y_STOP_PIN 39
  36. #define Z_STOP_PIN 62
  37. #ifndef Z_MIN_PROBE_PIN
  38. #define Z_MIN_PROBE_PIN 49
  39. #endif
  40. //
  41. // Steppers
  42. //
  43. #define X_STEP_PIN 14
  44. #define X_DIR_PIN 25
  45. #define X_ENABLE_PIN 26
  46. #define Y_STEP_PIN 11
  47. #define Y_DIR_PIN 12
  48. #define Y_ENABLE_PIN 15
  49. #define Z_STEP_PIN 24
  50. #define Z_DIR_PIN 27
  51. #define Z_ENABLE_PIN 28
  52. #define E0_STEP_PIN 64
  53. #define E0_DIR_PIN 65
  54. #define E0_ENABLE_PIN 63
  55. #define E1_STEP_PIN 8
  56. #define E1_DIR_PIN 7
  57. #define E1_ENABLE_PIN 29
  58. //
  59. // Temperature Sensors
  60. // Analog Inputs
  61. //
  62. #define TEMP_0_PIN 1
  63. #define TEMP_1_PIN 2
  64. #define TEMP_BED_PIN 4
  65. #ifndef TEMP_CHAMBER_PIN
  66. #define TEMP_CHAMBER_PIN 5
  67. #endif
  68. //
  69. // Heaters
  70. //
  71. #define HEATER_0_PIN 3
  72. #define HEATER_1_PIN 4
  73. #define HEATER_BED_PIN 32
  74. #define HEATER_CHAMBER_PIN 33
  75. //
  76. // Fans
  77. //
  78. //#define FAN_PIN 8
  79. //
  80. // Auto fans
  81. //
  82. #define AUTO_FAN_PIN 30
  83. #ifndef E0_AUTO_FAN_PIN
  84. #define E0_AUTO_FAN_PIN AUTO_FAN_PIN
  85. #endif
  86. #ifndef E1_AUTO_FAN_PIN
  87. #define E1_AUTO_FAN_PIN AUTO_FAN_PIN
  88. #endif
  89. #ifndef E2_AUTO_FAN_PIN
  90. #define E2_AUTO_FAN_PIN AUTO_FAN_PIN
  91. #endif
  92. #ifndef E3_AUTO_FAN_PIN
  93. #define E3_AUTO_FAN_PIN AUTO_FAN_PIN
  94. #endif
  95. #ifndef CHAMBER_AUTO_FAN_PIN
  96. #define CHAMBER_AUTO_FAN_PIN 10
  97. #endif
  98. //
  99. // SD card
  100. //
  101. #define SD_SCK_PIN 76
  102. #define SD_MISO_PIN 74
  103. #define SD_MOSI_PIN 75
  104. #define SDSS 53
  105. #define SD_DETECT_PIN 40
  106. // Common I/O
  107. //#define PWM_1_PIN 6 // probe
  108. //#define PWM_2_PIN 13
  109. //#define SPARE_IO 17
  110. #define BEEPER_PIN 13
  111. #define STAT_LED_BLUE_PIN -1
  112. #define STAT_LED_RED_PIN 31
  113. // G425 CALIBRATION_GCODE default pin
  114. #ifndef CALIBRATION_PIN
  115. #define CALIBRATION_PIN 66
  116. #endif