My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

pins_ULTRATRONICS_PRO.h 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. * ReprapWorld ULTRATRONICS v1.0
  24. */
  25. #define KNOWN_BOARD
  26. #define BOARD_NAME "Ultratronics v1.0"
  27. #ifndef ARDUINO_ARCH_SAM
  28. #error Oops! Make sure you have 'Arduino Due' selected from the 'Tools -> Boards' menu.
  29. #endif
  30. //
  31. // Servos
  32. //
  33. #if NUM_SERVOS > 0
  34. #define SERVO0_PIN 11
  35. #if NUM_SERVOS > 1
  36. #define SERVO1_PIN 12
  37. #endif
  38. #endif
  39. //
  40. // Limit Switches
  41. //
  42. #define X_MIN_PIN 31
  43. #define X_MAX_PIN 30
  44. #define Y_MIN_PIN 12
  45. #define Y_MAX_PIN 11
  46. #define Z_MIN_PIN 29
  47. #define Z_MAX_PIN 28
  48. //
  49. // Steppers
  50. //
  51. #define X_STEP_PIN 35
  52. #define X_DIR_PIN 34
  53. #define X_ENABLE_PIN 37
  54. #define Y_STEP_PIN 22
  55. #define Y_DIR_PIN 23
  56. #define Y_ENABLE_PIN 33
  57. #define Z_STEP_PIN 25
  58. #define Z_DIR_PIN 26
  59. #define Z_ENABLE_PIN 24
  60. #define E0_STEP_PIN 47
  61. #define E0_DIR_PIN 46
  62. #define E0_ENABLE_PIN 48
  63. #define E1_STEP_PIN 44
  64. #define E1_DIR_PIN 36
  65. #define E1_ENABLE_PIN 45
  66. #define E2_STEP_PIN 42
  67. #define E2_DIR_PIN 41
  68. #define E2_ENABLE_PIN 43
  69. #define E3_STEP_PIN 39
  70. #define E3_DIR_PIN 38
  71. #define E3_ENABLE_PIN 40
  72. //
  73. // Temperature Sensors
  74. //
  75. #define TEMP_0_PIN 0 // Analog Input
  76. #define TEMP_1_PIN 2 // Analog Input
  77. #define TEMP_2_PIN 3 // Analog Input
  78. #define TEMP_3_PIN 4 // Analog Input
  79. #define TEMP_BED_PIN 1 // Analog Input
  80. //
  81. // Heaters / Fans
  82. //
  83. #define HEATER_0_PIN 3
  84. #define HEATER_1_PIN 8
  85. #define HEATER_2_PIN 7
  86. #define HEATER_3_PIN 9
  87. #define HEATER_BED_PIN 2
  88. #ifndef FAN_PIN
  89. #define FAN_PIN 6
  90. #endif
  91. #define FAN2_PIN 5
  92. //
  93. // Misc. Functions
  94. //
  95. #define SDSS 59
  96. #define SD_DETECT_PIN 60
  97. #define LED_PIN 13
  98. #define PS_ON_PIN 32
  99. //
  100. // SPI Buses
  101. //
  102. #define DAC0_SYNC 53 // PB14
  103. #define SPI_CHAN_DAC 1
  104. #define SPI_CHAN_EEPROM1 -1
  105. #define SPI_EEPROM1_CS -1
  106. #define SPI_EEPROM2_CS -1
  107. #define SPI_FLASH_CS -1
  108. // SPI for Max6675 or Max31855 Thermocouple
  109. #define MAX6675_SS 65
  110. #define MAX31855_SS0 65
  111. #define MAX31855_SS1 52
  112. #define MAX31855_SS2 50
  113. #define MAX31855_SS3 51
  114. #define ENC424_SS 61
  115. //
  116. // LCD / Controller
  117. //
  118. #define BEEPER_PIN 27
  119. #if ENABLED(REPRAPWORLD_GRAPHICAL_LCD)
  120. #define LCD_PINS_RS A8 // CS chip select / SS chip slave select
  121. #define LCD_PINS_ENABLE MOSI // SID (MOSI)
  122. #define LCD_PINS_D4 SCK // SCK (CLK) clock
  123. #define BTN_EN1 20
  124. #define BTN_EN2 21
  125. #define BTN_ENC 64
  126. #endif // REPRAPWORLD_GRAPHICAL_LCD