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_RIGIDBOARD.h 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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. * RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments
  25. */
  26. #ifndef BOARD_INFO_NAME
  27. #define BOARD_INFO_NAME "RigidBoard"
  28. #endif
  29. //
  30. // Steppers
  31. // RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
  32. //
  33. #define E0_STEP_PIN 36
  34. #define E0_DIR_PIN 34
  35. #define E0_ENABLE_PIN 30
  36. #define E1_STEP_PIN 26
  37. #define E1_DIR_PIN 28
  38. #define E1_ENABLE_PIN 24
  39. //
  40. // Z Probe (when not Z_MIN_PIN)
  41. //
  42. #ifndef Z_MIN_PROBE_PIN
  43. #define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops
  44. #endif
  45. //
  46. // MOSFET changes
  47. //
  48. #define MOSFET_A_PIN 9 // EXTRUDER 1
  49. #define MOSFET_B_PIN 8 // FAN (by default)
  50. #define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
  51. #include "pins_RAMPS.h"
  52. #define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot
  53. //
  54. // Temperature Sensors
  55. //
  56. #undef TEMP_0_PIN
  57. #undef TEMP_1_PIN
  58. #undef TEMP_BED_PIN
  59. #define TEMP_0_PIN 14 // Analog Input
  60. #define TEMP_1_PIN 13 // Analog Input
  61. #define TEMP_BED_PIN 15 // Analog Input
  62. // SPI for MAX Thermocouple
  63. #undef TEMP_0_CS_PIN
  64. #if DISABLED(SDSUPPORT)
  65. #define TEMP_0_CS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
  66. #else
  67. #define TEMP_0_CS_PIN 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
  68. #endif
  69. //
  70. // Heaters / Fans
  71. //
  72. #undef HEATER_BED_PIN
  73. #define HEATER_BED_PIN 10
  74. #ifndef FAN_PIN
  75. #define FAN_PIN 8 // Same as RAMPS_13_EEF
  76. #endif
  77. //
  78. // Misc. Functions
  79. //
  80. #undef PS_ON_PIN
  81. //
  82. // LCD / Controller
  83. //
  84. // LCD Panel options for the RigidBoard
  85. #if ENABLED(RIGIDBOT_PANEL)
  86. #undef BEEPER_PIN
  87. #define BEEPER_PIN -1
  88. // Direction buttons
  89. #define BTN_UP 37
  90. #define BTN_DOWN 35
  91. #define BTN_LEFT 33
  92. #define BTN_RIGHT 32
  93. // 'R' button
  94. #undef BTN_ENC
  95. #define BTN_ENC 31
  96. // Disable encoder
  97. #undef BTN_EN1
  98. #undef BTN_EN2
  99. #undef SD_DETECT_PIN
  100. #define SD_DETECT_PIN 22
  101. #elif IS_RRD_SC
  102. #undef SD_DETECT_PIN
  103. #define SD_DETECT_PIN 22
  104. #undef KILL_PIN
  105. #define KILL_PIN 32
  106. #endif