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_BQ_ZUM_MEGA_3D.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. * bq ZUM Mega 3D board definition
  25. */
  26. #define REQUIRE_MEGA2560
  27. #include "env_validate.h"
  28. #define BOARD_INFO_NAME "ZUM Mega 3D"
  29. //
  30. // Limit Switches
  31. //
  32. #define X_MAX_PIN 79
  33. // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
  34. // decided to ship the printer only with the probe and no additional Z-min
  35. // endstop and the instruction manual advises the user to connect the probe to
  36. // IND_S_5V the option Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN will not work.
  37. #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
  38. #define Z_MIN_PIN 19 // IND_S_5V
  39. #define Z_MAX_PIN 18 // Z-MIN Label
  40. #endif
  41. //
  42. // Z Probe (when not Z_MIN_PIN)
  43. //
  44. #ifndef Z_MIN_PROBE_PIN
  45. #define Z_MIN_PROBE_PIN 19 // IND_S_5V
  46. #endif
  47. //
  48. // Steppers
  49. //
  50. #define Z_ENABLE_PIN 77
  51. #define DIGIPOTSS_PIN 22
  52. #define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
  53. //
  54. // Temperature Sensors
  55. //
  56. #define TEMP_1_PIN 14 // Analog Input
  57. #define TEMP_BED_PIN 15 // Analog Input
  58. //
  59. // Heaters / Fans
  60. //
  61. #define MOSFET_A_PIN 9
  62. #define MOSFET_B_PIN 12
  63. #define MOSFET_C_PIN 10
  64. #define MOSFET_D_PIN 7
  65. //
  66. // Auto fans
  67. //
  68. #ifndef E0_AUTO_FAN_PIN
  69. #define E0_AUTO_FAN_PIN 11
  70. #endif
  71. #ifndef E1_AUTO_FAN_PIN
  72. #define E1_AUTO_FAN_PIN 6
  73. #endif
  74. #ifndef E2_AUTO_FAN_PIN
  75. #define E2_AUTO_FAN_PIN 6
  76. #endif
  77. #ifndef E3_AUTO_FAN_PIN
  78. #define E3_AUTO_FAN_PIN 6
  79. #endif
  80. //
  81. // M3/M4/M5 - Spindle/Laser Control
  82. //
  83. #define SPINDLE_LASER_ENA_PIN 40 // Pullup or pulldown!
  84. #define SPINDLE_LASER_PWM_PIN 44 // Hardware PWM
  85. #define SPINDLE_DIR_PIN 42
  86. //
  87. // Misc. Functions
  88. //
  89. #define PS_ON_PIN 81 // External Power Supply
  90. #ifndef CASE_LIGHT_PIN
  91. #define CASE_LIGHT_PIN 44 // Hardware PWM
  92. #endif
  93. // Alter timing for graphical display
  94. #if IS_U8GLIB_ST7920
  95. #define BOARD_ST7920_DELAY_1 0
  96. #define BOARD_ST7920_DELAY_2 0
  97. #define BOARD_ST7920_DELAY_3 189
  98. #endif
  99. //
  100. // Import RAMPS 1.3 pins
  101. //
  102. #include "pins_RAMPS_13.h" // ... RAMPS
  103. //
  104. // Used by the Hephestos 2 heated bed upgrade kit
  105. //
  106. #if ENABLED(HEPHESTOS2_HEATED_BED_KIT)
  107. #undef HEATER_BED_PIN
  108. #define HEATER_BED_PIN 8
  109. #endif