My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_BIGTREE_SKR_MINI_E3.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2019 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. #ifndef TARGET_STM32F1
  23. #error "Oops! Select an STM32F1 board in 'Tools > Board.'"
  24. #endif
  25. #ifndef BOARD_NAME
  26. #define BOARD_NAME "BIGTREE SKR MINI E3"
  27. #endif
  28. // Release PB3/PB4 (E0 STP/DIR) from JTAG pins
  29. #define DISABLE_JTAG
  30. // Ignore temp readings during development.
  31. //#define BOGUS_TEMPERATURE_GRACE_PERIOD 2000
  32. //
  33. // Servos
  34. //
  35. #define SERVO0_PIN PA1
  36. //
  37. // Limit Switches
  38. //
  39. #define X_STOP_PIN PC0
  40. #define Y_STOP_PIN PC1
  41. #define Z_STOP_PIN PC2
  42. //
  43. // Z Probe must be this pins
  44. //
  45. #define Z_MIN_PROBE_PIN PC14
  46. //
  47. // Filament Runout Sensor
  48. //
  49. #ifndef FIL_RUNOUT_PIN
  50. #define FIL_RUNOUT_PIN PC15
  51. #endif
  52. //
  53. // Steppers
  54. //
  55. #define X_ENABLE_PIN PB14
  56. #define X_STEP_PIN PB13
  57. #define X_DIR_PIN PB12
  58. #define Y_ENABLE_PIN PB11
  59. #define Y_STEP_PIN PB10
  60. #define Y_DIR_PIN PB2
  61. #define Z_ENABLE_PIN PB1
  62. #define Z_STEP_PIN PB0
  63. #define Z_DIR_PIN PC5
  64. #define E0_ENABLE_PIN PD2
  65. #define E0_STEP_PIN PB3
  66. #define E0_DIR_PIN PB4
  67. #if HAS_DRIVER(TMC2209)
  68. /**
  69. * TMC2209 stepper drivers
  70. * Hardware serial communication ports.
  71. */
  72. #define X_HARDWARE_SERIAL Serial4
  73. #define Y_HARDWARE_SERIAL Serial4
  74. #define Z_HARDWARE_SERIAL Serial4
  75. #define E0_HARDWARE_SERIAL Serial4
  76. #endif
  77. //
  78. // Temperature Sensors
  79. //
  80. #define TEMP_0_PIN PA0 // Analog Input
  81. #define TEMP_BED_PIN PC3 // Analog Input
  82. //
  83. // Heaters / Fans
  84. //
  85. #define HEATER_0_PIN PC8 // EXTRUDER
  86. #define HEATER_BED_PIN PC9 // BED
  87. #define FAN_PIN PA8
  88. //
  89. // USB connect control
  90. //
  91. #define USB_CONNECT PC13
  92. #define USB_CONNECT_INVERTING false
  93. #define SD_DETECT_PIN PC4
  94. /**
  95. * _____
  96. * 5V | · · | GND
  97. * (LCD_EN) PB7 | · · | PB8 (LCD_RS)
  98. * (LCD_D4) PB9 | · · | PA10 (BTN_EN2)
  99. * RESET | · · | PA9 (BTN_EN1)
  100. * (BTN_ENC) PB6 | · · | PB5 (BEEPER)
  101. * -----
  102. * EXP1
  103. */
  104. #if HAS_SPI_LCD
  105. #define BEEPER_PIN PB5
  106. #define BTN_ENC PB6
  107. #if ENABLED(CR10_STOCKDISPLAY)
  108. #define LCD_PINS_RS PB8
  109. #define BTN_EN1 PA9
  110. #define BTN_EN2 PA10
  111. #define LCD_PINS_ENABLE PB7
  112. #define LCD_PINS_D4 PB9
  113. #else
  114. #error "Only CR10_STOCKDISPLAY is currently supported on the BIGTREE_SKR_MINI_E3."
  115. #endif
  116. #endif // HAS_SPI_LCD