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_LONGER3D_LKx_PRO.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. * Longer3D LK1/LK4/LK5 Pro board pin assignments
  25. */
  26. #define REQUIRE_MEGA2560
  27. #include "env_validate.h"
  28. #if HOTENDS > 1 || E_STEPPERS > 1
  29. #error "Longer3D LGT KIT V1.0 board only supports one hotend / E-stepper. Comment out this line to continue."
  30. #endif
  31. #if SERIAL_PORT == 1 || SERIAL_PORT_2 == 1
  32. #warning "Serial 1 is originally reserved to DGUS LCD."
  33. #endif
  34. #if SERIAL_PORT == 2 || SERIAL_PORT_2 == 2
  35. #warning "Serial 2 has no connector. Hardware changes may be required to use it."
  36. #endif
  37. #if SERIAL_PORT == 3 || SERIAL_PORT_2 == 3
  38. #define CHANGE_Y_LIMIT_PINS
  39. #warning "Serial 3 is originally reserved to Y limit switches. Hardware changes are required to use it."
  40. #endif
  41. #define BOARD_INFO_NAME "LGT KIT V1.0"
  42. //
  43. // Servos
  44. //
  45. #if !MB(LONGER3D_LK1_PRO)
  46. #define SERVO0_PIN 7
  47. #endif
  48. #define SERVO1_PIN -1
  49. #define SERVO2_PIN -1
  50. #define SERVO3_PIN -1
  51. //
  52. // Limit Switches
  53. //
  54. #define X_STOP_PIN 3
  55. #ifdef CHANGE_Y_LIMIT_PINS
  56. #define Y_STOP_PIN 37
  57. #else
  58. #define Y_MIN_PIN 14
  59. #define Y_MAX_PIN 15
  60. #endif
  61. #if !MB(LONGER3D_LK1_PRO)
  62. #ifdef CHANGE_Y_LIMIT_PINS
  63. #define Z_STOP_PIN 35
  64. #else
  65. #define Z_MIN_PIN 35
  66. #define Z_MAX_PIN 37
  67. #endif
  68. #else
  69. #define Z_MIN_PIN 11
  70. #define Z_MAX_PIN 37
  71. #endif
  72. //
  73. // Z Probe (when not Z_MIN_PIN)
  74. //
  75. #define Z_MIN_PROBE_PIN -1
  76. //
  77. // Misc. Functions
  78. //
  79. #define SD_DETECT_PIN 49
  80. #define FIL_RUNOUT_PIN 2
  81. //
  82. // Other RAMPS 1.3 pins
  83. //
  84. #define IS_RAMPS_EFB // Override autodetection. Bed will be undefined.
  85. #include "pins_RAMPS_13.h"
  86. //
  87. // Steppers
  88. //
  89. #undef E1_STEP_PIN
  90. #undef E1_DIR_PIN
  91. #undef E1_ENABLE_PIN
  92. #undef E1_CS_PIN
  93. //
  94. // Temperature Sensors
  95. //
  96. #undef TEMP_1_PIN
  97. //
  98. // Průša i3 MK2 Multiplexer Support
  99. //
  100. #undef E_MUX2_PIN
  101. #undef CHANGE_Y_LIMIT_PINS