My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_CNCONTROLS_15D.h 3.7KB

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