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 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. #include "pins_RAMPS_13.h"
  29. #undef X_MAX_PIN
  30. #define X_MAX_PIN 79 // 2
  31. #undef Z_ENABLE_PIN
  32. #define Z_ENABLE_PIN 77 // 62
  33. #undef FAN_PIN
  34. #define FAN_PIN 12 // 4
  35. #undef HEATER_0_PIN
  36. #define HEATER_0_PIN 9 // 10
  37. #undef HEATER_1_PIN
  38. #define HEATER_1_PIN 10 // 9
  39. #undef TEMP_1_PIN
  40. #define TEMP_1_PIN 14 // 15
  41. #undef TEMP_BED_PIN
  42. #define TEMP_BED_PIN 15 // 14
  43. #define DIGIPOTSS_PIN 22
  44. #define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
  45. #define FAN1_PIN 7
  46. #undef PS_ON_PIN // 12
  47. #define PS_ON_PIN 81 // External Power Supply
  48. #if ENABLED(BQ_LCD_SMART_CONTROLLER) // Most similar to REPRAP_DISCOUNT_SMART_CONTROLLER
  49. #define KILL_PIN 41
  50. #define BEEPER_PIN 37
  51. #define BTN_EN1 31
  52. #define BTN_EN2 33
  53. #define BTN_ENC 35
  54. #define LCD_PIN_BL 39
  55. #define LCD_PINS_RS 16
  56. #define LCD_PINS_ENABLE 17
  57. #define LCD_PINS_D4 23
  58. #define SD_DETECT_PIN 49
  59. #endif
  60. #if ENABLED(AUTO_BED_LEVELING_FEATURE)
  61. #undef Z_MIN_PIN
  62. #undef Z_MAX_PIN
  63. #define Z_MIN_PIN 19 // IND_S_5V
  64. #define Z_MAX_PIN 18 // Z-MIN Label
  65. #endif