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_TENLOG_MB1_V23.h 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2022 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. * Tenlog pin assignments
  25. */
  26. #define REQUIRE_MEGA2560
  27. #include "env_validate.h"
  28. #if HOTENDS > 2 || E_STEPPERS > 2
  29. #error "Tenlog supports up to 2 hotends / E steppers."
  30. #endif
  31. #define BOARD_INFO_NAME "Tenlog MB1 V2.3"
  32. #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
  33. //
  34. // Limit Switches
  35. //
  36. #define X_MIN_PIN 3
  37. #define X_MAX_PIN 2
  38. #define Y_MIN_PIN 14
  39. //#define Y_MAX_PIN 15 // Connected to "DJ" plug on extruder heads
  40. #define Z_MIN_PIN 18
  41. #if ENABLED(BLTOUCH)
  42. #define SERVO0_PIN 19
  43. #else
  44. #define Z_MAX_PIN 19
  45. #endif
  46. //
  47. // Steppers
  48. //
  49. #define X_STEP_PIN 54
  50. #define X_DIR_PIN 55
  51. #define X_ENABLE_PIN 38
  52. #define X2_STEP_PIN 36
  53. #define X2_DIR_PIN 34
  54. #define X2_ENABLE_PIN 30
  55. #define Y_STEP_PIN 60
  56. #define Y_DIR_PIN 61
  57. #define Y_ENABLE_PIN 56
  58. #define Z_STEP_PIN 46
  59. #define Z_DIR_PIN 48
  60. #define Z_ENABLE_PIN 62
  61. #define Z2_STEP_PIN 65
  62. #define Z2_DIR_PIN 66
  63. #define Z2_ENABLE_PIN 64
  64. #define E0_STEP_PIN 57
  65. #define E0_DIR_PIN 58
  66. #define E0_ENABLE_PIN 59
  67. #define E1_STEP_PIN 26
  68. #define E1_DIR_PIN 28
  69. #define E1_ENABLE_PIN 24
  70. //
  71. // Temperature Sensors
  72. //
  73. #define TEMP_0_PIN 15 // Analog Input
  74. #define TEMP_1_PIN 13 // Analog Input
  75. #define TEMP_BED_PIN 14 // Analog Input
  76. //
  77. // Heaters / Fans
  78. //
  79. #define HEATER_0_PIN 11
  80. #define HEATER_1_PIN 10
  81. #define HEATER_BED_PIN 8
  82. #define FAN_PIN 9
  83. #define FAN2_PIN 5 // Normally this would be a servo pin
  84. //#define NUM_RUNOUT_SENSORS 0
  85. #define FIL_RUNOUT_PIN 15
  86. //#define FIL_RUNOUT2_PIN 21
  87. //
  88. // PSU and Powerloss Recovery
  89. //
  90. #if ENABLED(PSU_CONTROL)
  91. #define PS_ON_PIN 40 // The M80/M81 PSU pin for boards v2.1-2.3
  92. #endif
  93. //
  94. // Misc. Functions
  95. //
  96. //#define CASE_LIGHT_PIN 5
  97. //#ifndef LED_PIN
  98. // #define LED_PIN 13
  99. //#endif
  100. #if HAS_CUTTER
  101. //#define SPINDLE_LASER_PWM_PIN -1 // Hardware PWM
  102. //#define SPINDLE_LASER_ENA_PIN 4 // Pullup!
  103. #endif
  104. // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
  105. //#define FILWIDTH_PIN 5 // Analog Input
  106. #define SDSS 53
  107. #define SD_DETECT_PIN 49
  108. //
  109. // LCD / Controller
  110. //
  111. //#if IS_RRD_SC
  112. //#ifndef BEEPER_PIN
  113. // #define BEEPER_PIN -1
  114. //#endif
  115. #define LCD_PINS_RS -1
  116. #define LCD_PINS_ENABLE -1
  117. #define LCD_PINS_D4 -1
  118. #define LCD_PINS_D5 -1
  119. #define LCD_PINS_D6 -1
  120. #define LCD_PINS_D7 -1
  121. //#define BTN_EN1 31
  122. //#define BTN_EN2 33
  123. //#define BTN_ENC 35
  124. //#ifndef KILL_PIN
  125. // #define KILL_PIN 41
  126. //#endif
  127. //#endif // IS_RRD_SC