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_TRIGORILLA_14.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. * Arduino Mega with RAMPS v1.4 for Anycubic
  24. */
  25. #ifndef BOARD_NAME
  26. #define BOARD_NAME "Anycubic RAMPS 1.4"
  27. #endif
  28. // Labeled pins
  29. #define TRIGORILLA_HEATER_BED_PIN 8
  30. #define TRIGORILLA_HEATER_0_PIN 10
  31. #define TRIGORILLA_HEATER_1_PIN 45 // Anycubic Kossel: Unused
  32. #define TRIGORILLA_FAN0_PIN 9 // Anycubic Kossel: Usually the part cooling fan
  33. #define TRIGORILLA_FAN1_PIN 7 // Anycubic Kossel: Unused
  34. #define TRIGORILLA_FAN2_PIN 44 // Anycubic Kossel: Hotend fan
  35. // Remap MOSFET pins to common usages:
  36. #define RAMPS_D10_PIN TRIGORILLA_HEATER_0_PIN // HEATER_0_PIN is always RAMPS_D10_PIN in pins_RAMPS.h
  37. #if HOTENDS > 1 // EEF and EEB
  38. #define RAMPS_D9_PIN TRIGORILLA_HEATER_1_PIN
  39. #if !TEMP_SENSOR_BED
  40. // EEF
  41. #define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
  42. #else
  43. // EEB
  44. #define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
  45. #define FAN_PIN TRIGORILLA_FAN0_PIN // Override pin 4 in pins_RAMPS.h
  46. #endif
  47. #elif TEMP_SENSOR_BED
  48. // EFB (Anycubic Kossel default)
  49. #define RAMPS_D9_PIN TRIGORILLA_FAN0_PIN
  50. #define RAMPS_D8_PIN TRIGORILLA_HEATER_BED_PIN
  51. #else
  52. // EFF
  53. #define RAMPS_D9_PIN TRIGORILLA_FAN1_PIN
  54. #define RAMPS_D8_PIN TRIGORILLA_FAN0_PIN
  55. #endif
  56. #if HOTENDS > 1 || TEMP_SENSOR_BED // EEF, EEB, EFB
  57. #define FAN1_PIN TRIGORILLA_FAN1_PIN
  58. #endif
  59. #define FAN2_PIN TRIGORILLA_FAN2_PIN
  60. #define ORIG_E0_AUTO_FAN_PIN TRIGORILLA_FAN2_PIN // Used in Anycubic Kossel example config
  61. #include "pins_RAMPS.h"
  62. //
  63. // AnyCubic made the following changes to 1.1.0-RC8
  64. // If these are appropriate for your LCD let us know.
  65. //
  66. #if 0 && ENABLED(ULTRA_LCD)
  67. // LCD Display output pins
  68. #if ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
  69. #undef LCD_PINS_D6
  70. #define LCD_PINS_D6 57
  71. #endif
  72. // LCD Display input pins
  73. #if ENABLED(NEWPANEL)
  74. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  75. #undef DOGLCD_A0
  76. #define DOGLCD_A0 23
  77. #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
  78. #undef BEEPER_PIN
  79. #define BEEPER_PIN 33
  80. #undef LCD_BACKLIGHT_PIN
  81. #define LCD_BACKLIGHT_PIN 67
  82. #endif
  83. #elif ENABLED(MINIPANEL)
  84. #undef BEEPER_PIN
  85. #define BEEPER_PIN 33
  86. #undef DOGLCD_A0
  87. #define DOGLCD_A0 42
  88. #endif
  89. #endif // ULTRA_LCD