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_T41U5XBB.h 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /****************************************************************************************
  24. * Teensy 4.1 (IMXRT1062) Breadboard pin assignments
  25. * Requires the Teensyduino software with Teensy 4.1 selected in Arduino IDE!
  26. * https://www.pjrc.com/teensy/teensyduino.html
  27. ****************************************************************************************/
  28. #if NOT_TARGET(IS_TEENSY41)
  29. #error "Oops! Select 'Teensy 4.1' in 'Tools > Board.'"
  30. #endif
  31. #define BOARD_INFO_NAME "Teensy4.1"
  32. /**
  33. * Plan for Teensy 4.0 and Teensy 4.1:
  34. * USB
  35. * GND |-----#####-----| VIN (3.65 TO 5.5V)
  36. * RX1 CS1 RX1 PWM 0 | ##### | GND
  37. * TX1 MISO1 TX1 PWM 1 | | 3.3V
  38. * STPX PWM 2 | | 23 A9 PWM
  39. * DIRX PWM 3 | | 22 A8 PWM LIMZ
  40. * STPY PWM 4 | | 21 A7 RX5 LIMY
  41. * DIRY PWM 5 | | 20 A6 TX5 LIMX
  42. * STPZ PWM 6 | | 19 A5 PWM SCL0 COOL
  43. * DIRZ RX2 PWM 7 | | 18 A4 PWM SDA0 MIST
  44. * STPA TX2 PWM 8 | | 17 A3 RX4 SDA1 CYST
  45. * DIRA PWM 9 | | 16 A2 TX4 SCL1 EHOLD
  46. * STEN PWM 10 | | 15 A1 PWM RX3 PRB
  47. * SPDI MOSI0 PWM 11 | | 14 A0 PWM TX3 PANIC
  48. * SPEN MISO0 PWM 12 | | 13 LED PWM SCK0 SPWM
  49. * 3.3V | | GND
  50. * SCL PWM 24 | | 41 A17 KPSTR
  51. * SDA PWM 25 | | 40 A16 STENY
  52. * STPB MOSI1 26 | | 39 A15 MISO1 STENZ
  53. * DIRB SCK1 27 | * * * * * | 38 A14 STENA
  54. * LIMB RX7 PWM 28 | | 37 PWM STENB
  55. * DOOR TX7 PWM 29 | | 36 PWM ST0
  56. * ST1 30 | | 35 TX8 ST3
  57. * AUX0 31 | SDCARD | 34 RX8 ST2
  58. * AUX1 32 |_______________| 33 PWM AUX2
  59. */
  60. #ifndef SDCARD_CONNECTION
  61. #define SDCARD_CONNECTION ONBOARD
  62. #endif
  63. //
  64. // Servos
  65. //
  66. #define SERVO0_PIN 24
  67. #define SERVO1_PIN 25
  68. //
  69. // Limit Switches
  70. //
  71. #define X_STOP_PIN 20
  72. #define Y_STOP_PIN 21
  73. #define Z_STOP_PIN 22
  74. //
  75. // Steppers
  76. //
  77. #define X_STEP_PIN 2
  78. #define X_DIR_PIN 3
  79. #define X_ENABLE_PIN 10
  80. //#define X_CS_PIN 30
  81. #define Y_STEP_PIN 4
  82. #define Y_DIR_PIN 5
  83. #define Y_ENABLE_PIN 40
  84. //#define Y_CS_PIN 31
  85. #define Z_STEP_PIN 6
  86. #define Z_DIR_PIN 7
  87. #define Z_ENABLE_PIN 39
  88. //#define Z_CS_PIN 32
  89. #define E0_STEP_PIN 8
  90. #define E0_DIR_PIN 9
  91. #define E0_ENABLE_PIN 38
  92. #define E1_STEP_PIN 26
  93. #define E1_DIR_PIN 27
  94. #define E1_ENABLE_PIN 37
  95. //
  96. // Heaters / Fans
  97. //
  98. #define HEATER_0_PIN 31
  99. #define HEATER_1_PIN 32
  100. #define HEATER_BED_PIN 33
  101. //
  102. // Temperature Sensors
  103. //
  104. #define TEMP_0_PIN 5 // Extruder / Analog pin numbering: 2 => A2
  105. #define TEMP_1_PIN 4
  106. #define TEMP_BED_PIN 15 // Bed / Analog pin numbering
  107. //
  108. // Misc. Functions
  109. //
  110. #define LED_PIN 13
  111. #define SOL0_PIN 17