My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

pins_RIGIDBOARD.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. * RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments
  24. */
  25. #include "pins_RAMPS_14.h"
  26. #undef BOARD_NAME
  27. #define BOARD_NAME "RigidBoard"
  28. #if ENABLED(Z_MIN_PROBE_ENDSTOP)
  29. #undef Z_MAX_PIN
  30. #define Z_MAX_PIN -1
  31. #undef Z_MIN_PROBE_PIN
  32. #define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops
  33. #endif
  34. #undef HEATER_0_PIN
  35. #undef HEATER_1_PIN
  36. #define HEATER_0_PIN 9 // EXTRUDER 1
  37. #define HEATER_1_PIN 12 // EXTRUDER 2 (FAN On Sprinter)
  38. #undef TEMP_0_PIN
  39. #undef TEMP_1_PIN
  40. #define TEMP_0_PIN 14 // ANALOG NUMBERING
  41. #define TEMP_1_PIN 13 // ANALOG NUMBERING
  42. // LCD Panel options for the RigidBoard
  43. #if ENABLED(RIGIDBOT_PANEL)
  44. #undef BEEPER_PIN
  45. #define BEEPER_PIN -1
  46. // Direction buttons
  47. #define BTN_UP 37
  48. #define BTN_DWN 35
  49. #define BTN_LFT 33
  50. #define BTN_RT 32
  51. // 'R' button
  52. #undef BTN_ENC
  53. #define BTN_ENC 31
  54. // Disable encoder
  55. #undef BTN_EN1
  56. #define BTN_EN1 -1
  57. #undef BTN_EN2
  58. #define BTN_EN2 -1
  59. #undef SD_DETECT_PIN
  60. #define SD_DETECT_PIN 22
  61. #elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  62. #undef BEEPER_PIN
  63. #define BEEPER_PIN -1
  64. #undef SD_DETECT_PIN
  65. #define SD_DETECT_PIN 22
  66. #undef KILL_PIN
  67. #define KILL_PIN 32
  68. #endif
  69. // SPI for Max6675 or Max31855 Thermocouple
  70. #undef MAX6675_SS
  71. #if ENABLED(SDSUPPORT)
  72. #define MAX6675_SS 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
  73. #else
  74. #define MAX6675_SS 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
  75. #endif
  76. // RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
  77. #undef E0_STEP_PIN
  78. #undef E0_DIR_PIN
  79. #undef E0_ENABLE_PIN
  80. #define E0_STEP_PIN 36
  81. #define E0_DIR_PIN 34
  82. #define E0_ENABLE_PIN 30
  83. #undef E1_STEP_PIN
  84. #undef E1_DIR_PIN
  85. #undef E1_ENABLE_PIN
  86. #define E1_STEP_PIN 26
  87. #define E1_DIR_PIN 28
  88. #define E1_ENABLE_PIN 24
  89. #undef FAN_PIN
  90. #define FAN_PIN 8 // Same as RAMPS_13_EEF
  91. #undef PS_ON_PIN
  92. #define PS_ON_PIN -1
  93. #undef HEATER_BED_PIN
  94. #define HEATER_BED_PIN 10
  95. #undef TEMP_BED_PIN
  96. #define TEMP_BED_PIN 15 // ANALOG NUMBERING
  97. #define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot