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_15.h 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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 pin assignments
  25. */
  26. #define ALLOW_MEGA1280
  27. #include "env_validate.h"
  28. #define BOARD_INFO_NAME "CN Controls V15"
  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. //
  58. // Temperature Sensors
  59. // Analog Inputs
  60. //
  61. #define TEMP_0_PIN 2 // Analog Input
  62. #define TEMP_BED_PIN 4 // Analog Input
  63. #ifndef TEMP_CHAMBER_PIN
  64. #define TEMP_CHAMBER_PIN 5 // Analog Input
  65. #endif
  66. //
  67. // Heaters
  68. //
  69. #define HEATER_0_PIN 4
  70. #define HEATER_BED_PIN 32
  71. #define HEATER_CHAMBER_PIN 33
  72. //
  73. // Fans
  74. //
  75. #define FAN_PIN 8
  76. //
  77. // Auto fans
  78. //
  79. #define AUTO_FAN_PIN 30
  80. #ifndef E0_AUTO_FAN_PIN
  81. #define E0_AUTO_FAN_PIN AUTO_FAN_PIN
  82. #endif
  83. #ifndef E1_AUTO_FAN_PIN
  84. #define E1_AUTO_FAN_PIN AUTO_FAN_PIN
  85. #endif
  86. #ifndef E2_AUTO_FAN_PIN
  87. #define E2_AUTO_FAN_PIN AUTO_FAN_PIN
  88. #endif
  89. #ifndef E3_AUTO_FAN_PIN
  90. #define E3_AUTO_FAN_PIN AUTO_FAN_PIN
  91. #endif
  92. #ifndef CHAMBER_AUTO_FAN_PIN
  93. //#define CHAMBER_AUTO_FAN_PIN 10
  94. #endif
  95. //
  96. // Misc. Functions
  97. //
  98. #define SDSS 53
  99. #define SD_DETECT_PIN 40
  100. // Common I/O
  101. #define FIL_RUNOUT_PIN 9
  102. //#define FIL_RUNOUT_PIN 29 // encoder sensor
  103. //#define PWM_1_PIN 12
  104. //#define PWM_2_PIN 13
  105. //#define SPARE_IO 17
  106. #define BEEPER_PIN 13
  107. #define STAT_LED_BLUE_PIN -1
  108. #define STAT_LED_RED_PIN 10 // 31