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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. * RAMPS-FD
  24. *
  25. * No EEPROM
  26. * Use 4k7 thermistor tables
  27. */
  28. #ifndef __SAM3X8E__
  29. #error "Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu."
  30. #endif
  31. #ifndef BOARD_NAME
  32. #define BOARD_NAME "RAMPS-FD"
  33. #endif
  34. #define INVERTED_HEATER_PINS
  35. #define INVERTED_BED_PINS
  36. #define INVERTED_FAN_PINS
  37. //
  38. // Servos
  39. //
  40. #define SERVO0_PIN 7
  41. #define SERVO1_PIN 6
  42. #define SERVO2_PIN 5
  43. #define SERVO3_PIN 3
  44. //
  45. // Limit Switches
  46. //
  47. #define X_MIN_PIN 22
  48. #define X_MAX_PIN 30
  49. #define Y_MIN_PIN 24
  50. #define Y_MAX_PIN 38
  51. #define Z_MIN_PIN 26
  52. #define Z_MAX_PIN 34
  53. //
  54. // Steppers
  55. //
  56. #define X_STEP_PIN 63
  57. #define X_DIR_PIN 62
  58. #define X_ENABLE_PIN 48
  59. #define X_CS_PIN 68
  60. #define Y_STEP_PIN 65
  61. #define Y_DIR_PIN 64
  62. #define Y_ENABLE_PIN 46
  63. #define Y_CS_PIN 60
  64. #define Z_STEP_PIN 67
  65. #define Z_DIR_PIN 66
  66. #define Z_ENABLE_PIN 44
  67. #define Z_CS_PIN 58
  68. #define E0_STEP_PIN 36
  69. #define E0_DIR_PIN 28
  70. #define E0_ENABLE_PIN 42
  71. #define E0_CS_PIN 67
  72. #define E1_STEP_PIN 43
  73. #define E1_DIR_PIN 41
  74. #define E1_ENABLE_PIN 39
  75. #define E1_CS_PIN 61
  76. #define E2_STEP_PIN 32
  77. #define E2_DIR_PIN 47
  78. #define E2_ENABLE_PIN 45
  79. #define E2_CS_PIN 59
  80. //
  81. // Temperature Sensors
  82. //
  83. #define TEMP_0_PIN 1 // Analog Input
  84. #define TEMP_1_PIN 2 // Analog Input
  85. #define TEMP_2_PIN 3 // Analog Input
  86. #define TEMP_BED_PIN 0 // Analog Input
  87. // SPI for Max6675 or Max31855 Thermocouple
  88. #if DISABLED(SDSUPPORT)
  89. #define MAX6675_SS 53
  90. #else
  91. #define MAX6675_SS 49
  92. #endif
  93. //
  94. // Heaters / Fans
  95. //
  96. #define HEATER_0_PIN 9
  97. #define HEATER_1_PIN 10
  98. #define HEATER_2_PIN 11
  99. #define HEATER_BED_PIN 8 // BED
  100. #define FAN_PIN 12
  101. #define CONTROLLER_FAN_PIN -1
  102. //
  103. // Misc. Functions
  104. //
  105. #define SDSS 4
  106. #define LED_PIN 13
  107. //
  108. // LCD / Controller
  109. //
  110. #if ENABLED(ULTRA_LCD)
  111. #if ENABLED(NEWPANEL)
  112. // ramps-fd lcd adaptor
  113. #define LCD_PINS_RS 16
  114. #define LCD_PINS_ENABLE 17
  115. #define LCD_PINS_D4 23
  116. #define LCD_PINS_D5 25
  117. #define LCD_PINS_D6 27
  118. #define LCD_PINS_D7 29
  119. #if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
  120. #define BEEPER_PIN 37
  121. #define BTN_EN1 33
  122. #define BTN_EN2 31
  123. #define BTN_ENC 35
  124. #define SD_DETECT_PIN 49
  125. #endif
  126. #endif
  127. #endif // ULTRA_LCD