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

pins_RAMPS_SMART.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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 Due with RAMPS-SMART pin assignments
  24. *
  25. * Applies to the following boards:
  26. *
  27. * RAMPS_SMART_EFB (Hotend, Fan, Bed)
  28. * RAMPS_SMART_EEB (Hotend0, Hotend1, Bed)
  29. * RAMPS_SMART_EFF (Hotend, Fan0, Fan1)
  30. * RAMPS_SMART_EEF (Hotend0, Hotend1, Fan)
  31. * RAMPS_SMART_SF (Spindle, Controller Fan)
  32. *
  33. * Differences between
  34. * RAMPS_14 | RAMPS-SMART
  35. * NONE | D16 (Additional AUX-3 pin(AUX3_2PIN), shares the same pin with AUX4_18PIN)
  36. * NONE | D17 (Additional AUX-3 pin(AUX3_1PIN), shares the same pin with AUX4_17PIN)
  37. * D0 | NONE
  38. * D1 | NONE
  39. * A3/D57 | NONE
  40. * A4/D58 | NONE
  41. * A5/D59 | A3/D57
  42. * A9/D63 | A4/D58
  43. * A10/D64 | A5/D59
  44. * A11/D65 | D66
  45. * A12/D66 | D67
  46. * A13 | A9
  47. * A14 | A10
  48. * A15 | A11
  49. */
  50. #ifndef __SAM3X8E__
  51. #error "Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu."
  52. #endif
  53. #ifndef BOARD_NAME
  54. #define BOARD_NAME "RAMPS-SMART"
  55. #endif
  56. #define IS_RAMPS_SMART
  57. #include "pins_RAMPS.h"
  58. //
  59. // Temperature Sensors
  60. //
  61. #undef TEMP_0_PIN
  62. #define TEMP_0_PIN 9 // Analog Input
  63. #undef TEMP_1_PIN
  64. #define TEMP_1_PIN 10 // Analog Input
  65. #undef TEMP_BED_PIN
  66. #define TEMP_BED_PIN 11 // Analog Input
  67. // SPI for Max6675 or Max31855 Thermocouple
  68. #if DISABLED(SDSUPPORT)
  69. #undef MAX6675_SS
  70. #define MAX6675_SS 67 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
  71. #else
  72. #undef MAX6675_SS
  73. #define MAX6675_SS 67 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
  74. #endif
  75. //
  76. // LCD / Controller
  77. //
  78. // Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel (not tested)
  79. #if ENABLED(VIKI2)
  80. #undef BEEPER_PIN
  81. #define BEEPER_PIN 66
  82. // Pins for DOGM SPI LCD Support
  83. #undef DOGLCD_A0
  84. #define DOGLCD_A0 59
  85. #undef DOGLCD_A0
  86. #define DOGLCD_CS 44
  87. #undef BTN_EN1
  88. #define BTN_EN1 58
  89. #undef BTN_EN2
  90. #define BTN_EN2 40
  91. #undef BTN_ENC
  92. #define BTN_ENC 67
  93. #undef SD_DETECT_PIN
  94. #define SD_DETECT_PIN 49 // Pin 49 for display sd interface, 72 for easy adapter board
  95. #undef KILL_PIN
  96. #define KILL_PIN 42
  97. #endif