My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_BQ_ZUM_MEGA_3D.h 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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. /**
  23. * bq ZUM Mega 3D board definition
  24. */
  25. #ifndef __AVR_ATmega2560__
  26. #error "Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
  27. #endif
  28. #define BOARD_NAME "ZUM Mega 3D"
  29. //
  30. // Heaters / Fans
  31. //
  32. #define RAMPS_D8_PIN 10
  33. #define RAMPS_D9_PIN 12
  34. #define RAMPS_D10_PIN 9
  35. #define MOSFET_D_PIN 7
  36. //
  37. // Auto fans
  38. //
  39. #define ORIG_E0_AUTO_FAN_PIN 11
  40. #define ORIG_E1_AUTO_FAN_PIN 6
  41. #define ORIG_E2_AUTO_FAN_PIN 6
  42. #define ORIG_E3_AUTO_FAN_PIN 6
  43. #include "pins_RAMPS_13.h"
  44. //
  45. // Limit Switches
  46. //
  47. #undef X_MAX_PIN
  48. #define X_MAX_PIN 79 // 2
  49. //
  50. // Z Probe (when not Z_MIN_PIN)
  51. //
  52. #undef Z_MIN_PROBE_PIN
  53. #define Z_MIN_PROBE_PIN 19 // IND_S_5V
  54. #undef Z_ENABLE_PIN
  55. #define Z_ENABLE_PIN 77 // 62
  56. //
  57. // Steppers
  58. //
  59. #define DIGIPOTSS_PIN 22
  60. #define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
  61. //
  62. // Temperature Sensors
  63. //
  64. #undef TEMP_1_PIN
  65. #define TEMP_1_PIN 14 // Analog Input (15)
  66. #undef TEMP_BED_PIN
  67. #define TEMP_BED_PIN 15 // Analog Input (14)
  68. //
  69. // Misc. Functions
  70. //
  71. #undef PS_ON_PIN // 12
  72. #define PS_ON_PIN 81 // External Power Supply
  73. // This board has headers for Z-min, Z-max and IND_S_5V *but* as the bq team
  74. // decided to ship the printer only with the probe and no additional Z-min
  75. // endstop and the instruction manual advises the user to connect the probe to
  76. // IND_S_5V the option Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN will not work.
  77. #ifdef Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
  78. #undef Z_MIN_PIN
  79. #undef Z_MAX_PIN
  80. #define Z_MIN_PIN 19 // IND_S_5V
  81. #define Z_MAX_PIN 18 // Z-MIN Label
  82. #endif