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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2017 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. * AZSMZ MINI pin assignments
  24. */
  25. //#if !defined(TARGET_LPC1768)
  26. #if DISABLED(IS_REARM)
  27. #error "Oops! Make sure you have Re-Arm selected."
  28. #endif
  29. #ifndef BOARD_NAME
  30. #define BOARD_NAME "AZSMZ MINI"
  31. #endif
  32. #define LARGE_FLASH true
  33. //
  34. // Servos
  35. //
  36. #define SERVO0_PIN 53
  37. //
  38. // Limit Switches
  39. //
  40. #define X_MIN_PIN 3
  41. #define Y_MIN_PIN 14
  42. #define Z_MIN_PIN 18
  43. #define Z_MAX_PIN 19
  44. //
  45. // Steppers
  46. //
  47. #define X_STEP_PIN 26
  48. #define X_DIR_PIN 28
  49. #define X_ENABLE_PIN 24
  50. #define Y_STEP_PIN 54
  51. #define Y_DIR_PIN 55
  52. #define Y_ENABLE_PIN 38
  53. #define Z_STEP_PIN 60
  54. #define Z_DIR_PIN 61
  55. #define Z_ENABLE_PIN 56
  56. #define E0_STEP_PIN 46
  57. #define E0_DIR_PIN 48
  58. #define E0_ENABLE_PIN 62
  59. #define E1_STEP_PIN 36
  60. #define E1_DIR_PIN 34
  61. #define E1_ENABLE_PIN 30
  62. //
  63. // Temperature Sensors
  64. // 3.3V max when defined as an analog input
  65. //
  66. #define TEMP_0_PIN 0 // A0 (TH1)
  67. #define TEMP_BED_PIN 1 // A1 (TH2)
  68. #define TEMP_1_PIN 2 // A2 (TH3)
  69. //
  70. // Heaters / Fans
  71. //
  72. // EFB
  73. #define HEATER_0_PIN 8
  74. #define HEATER_BED_PIN 10
  75. #define FAN_PIN 9
  76. #define FAN1_PIN 63
  77. #if ENABLED(AZSMZ_12864)
  78. #define BEEPER_PIN 37
  79. #define DOGLCD_A0 59
  80. #define DOGLCD_CS 41
  81. #define BTN_EN1 13
  82. #define BTN_EN2 15
  83. #define BTN_ENC 31
  84. #define LCD_SDSS 16
  85. #define SD_DETECT_PIN 33
  86. #endif
  87. //
  88. // Ethernet pins
  89. //
  90. #define ENET_MDIO 71
  91. #define ENET_RX_ER 73
  92. #define ENET_RXD1 75
  93. #define ENET_MOC 70
  94. #define REF_CLK 72
  95. #define ENET_RXD0 74
  96. #define ENET_CRS 76
  97. #define ENET_TX_EN 77
  98. #define ENET_TXD0 78
  99. #define ENET_TXD1 79
  100. /**
  101. * PWMs
  102. *
  103. * There are 6 PWMs. Each PWM can be assigned to one of two pins.
  104. *
  105. * SERVO2 does NOT have a PWM assigned to it.
  106. *
  107. * PWM1.1 DIO4 SERVO3_PIN FIL_RUNOUT_PIN 5V output, PWM
  108. * PWM1.1 DIO26 E0_STEP_PIN
  109. * PWM1.2 DIO11 SERVO0_PIN
  110. * PWM1.2 DIO54 X_STEP_PIN
  111. * PWM1.3 DIO6 SERVO1_PIN J5-1
  112. * PWM1.3 DIO60 Y_STEP_PIN
  113. * PWM1.4 DIO53 SDSS(SSEL0) J3-5 AUX-3
  114. * PWM1.4 DIO46 Z_STEP_PIN
  115. * PWM1.5 DIO3 X_MIN_PIN 10K PULLUP TO 3.3v, 1K SERIES
  116. * PWM1.5 DIO9 RAMPS_D9_PIN
  117. * PWM1.6 DIO14 Y_MIN_PIN 10K PULLUP TO 3.3v, 1K SERIES
  118. * PWM1.6 DIO10 RAMPS_D10_PIN
  119. */
  120. /**
  121. * Special pins
  122. * D37 - not 5V tolerant
  123. * D49 - not 5V tolerant
  124. * D57 - open collector
  125. * D58 - open collector
  126. */