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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * CNControls V15 for HMS434 pin assignments
  25. */
  26. #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
  27. #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
  28. #endif
  29. #define BOARD_INFO_NAME "CN Controls V15"
  30. //
  31. // Servos
  32. //
  33. #define SERVO0_PIN 6
  34. //
  35. // Limit Switches
  36. //
  37. #define X_STOP_PIN 34
  38. #define Y_STOP_PIN 39
  39. #define Z_STOP_PIN 62
  40. #ifndef Z_MIN_PROBE_PIN
  41. #define Z_MIN_PROBE_PIN 49
  42. #endif
  43. //
  44. // Steppers
  45. //
  46. #define X_STEP_PIN 14
  47. #define X_DIR_PIN 25
  48. #define X_ENABLE_PIN 26
  49. #define Y_STEP_PIN 11
  50. #define Y_DIR_PIN 12
  51. #define Y_ENABLE_PIN 15
  52. #define Z_STEP_PIN 24
  53. #define Z_DIR_PIN 27
  54. #define Z_ENABLE_PIN 28
  55. #define E0_STEP_PIN 64
  56. #define E0_DIR_PIN 65
  57. #define E0_ENABLE_PIN 63
  58. //
  59. // Temperature Sensors
  60. // Analog Inputs
  61. //
  62. #define TEMP_0_PIN 2 // Analog Input
  63. #define TEMP_BED_PIN 4 // Analog Input
  64. #ifndef TEMP_CHAMBER_PIN
  65. #define TEMP_CHAMBER_PIN 5 // Analog Input
  66. #endif
  67. //
  68. // Heaters
  69. //
  70. #define HEATER_0_PIN 4
  71. #define HEATER_BED_PIN 32
  72. #define HEATER_CHAMBER_PIN 33
  73. //
  74. // Fans
  75. //
  76. #define FAN_PIN 8
  77. #define ORIG_E0_AUTO_FAN_PIN 30
  78. #define ORIG_E1_AUTO_FAN_PIN 30
  79. #define ORIG_E2_AUTO_FAN_PIN 30
  80. #define ORIG_E3_AUTO_FAN_PIN 30
  81. //#define ORIG_CHAMBER_AUTO_FAN_PIN 10
  82. //
  83. // Misc. Functions
  84. //
  85. #define SDSS 53
  86. #define SD_DETECT_PIN 40
  87. // Common I/O
  88. #define FIL_RUNOUT_PIN 9
  89. //#define FIL_RUNOUT_PIN 29 // encoder sensor
  90. //#define PWM_1_PIN 12
  91. //#define PWM_2_PIN 13
  92. //#define SPARE_IO 17
  93. #define BEEPER_PIN 13
  94. #define STAT_LED_BLUE_PIN -1
  95. #define STAT_LED_RED_PIN 10 // 31