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_K8600.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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. * VERTEX NANO Arduino Mega with RAMPS EFB v1.4 pin assignments.
  25. */
  26. #if HOTENDS > 1
  27. #error "Only 1 hotend is supported for Vertex Nano."
  28. #endif
  29. #define BOARD_INFO_NAME "K8600"
  30. #define DEFAULT_MACHINE_NAME "Vertex Nano"
  31. //
  32. // Limit Switches
  33. //
  34. #define X_MIN_PIN 3
  35. #define Y_MAX_PIN 14
  36. #define Z_MAX_PIN 18
  37. #define Z_MIN_PIN -1
  38. //
  39. // Heaters / Fans
  40. //
  41. #define FAN_PIN 8
  42. //
  43. // Misc. Functions
  44. //
  45. #define SDSS 25
  46. #define CASE_LIGHT_PIN 7
  47. //
  48. // Other RAMPS pins
  49. //
  50. #define IS_RAMPS_EFB // Override autodetection. Bed will be undefined.
  51. #include "pins_RAMPS.h"
  52. //
  53. // Steppers
  54. //
  55. #undef X_STEP_PIN
  56. #undef X_DIR_PIN
  57. #undef X_ENABLE_PIN
  58. #define X_STEP_PIN 54
  59. #define X_DIR_PIN 55
  60. #define X_ENABLE_PIN 38
  61. #undef Y_STEP_PIN
  62. #undef Y_DIR_PIN
  63. #undef Y_ENABLE_PIN
  64. #define Y_STEP_PIN 60
  65. #define Y_DIR_PIN 61
  66. #define Y_ENABLE_PIN 56
  67. #undef Z_ENABLE_PIN
  68. #define Z_ENABLE_PIN 63
  69. #undef E0_STEP_PIN
  70. #undef E0_DIR_PIN
  71. #undef E0_ENABLE_PIN
  72. #define E0_STEP_PIN 26
  73. #define E0_DIR_PIN 28
  74. #define E0_ENABLE_PIN 24
  75. //
  76. // Heaters / Fans
  77. //
  78. #undef HEATER_BED_PIN
  79. //
  80. // LCD / Controller
  81. //
  82. #if IS_ULTRA_LCD && IS_NEWPANEL
  83. #undef BEEPER_PIN
  84. #undef LCD_PINS_RS
  85. #undef LCD_PINS_ENABLE
  86. #undef LCD_PINS_D4
  87. #undef LCD_PINS_D5
  88. #undef LCD_PINS_D6
  89. #undef LCD_PINS_D7
  90. #define LCD_PINS_RS 27
  91. #define LCD_PINS_ENABLE 29
  92. #define LCD_PINS_D4 37
  93. #define LCD_PINS_D5 35
  94. #define LCD_PINS_D6 33
  95. #define LCD_PINS_D7 31
  96. // Buttons
  97. #undef BTN_EN1
  98. #undef BTN_EN2
  99. #undef BTN_ENC
  100. #define BTN_EN1 17
  101. #define BTN_EN2 16
  102. #define BTN_ENC 23
  103. #else
  104. #define BEEPER_PIN 33
  105. #endif