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_TEENSY31_32.h 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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 3.1 (MK20DX256) and Teensy 3.2 (MK20DX256) Breadboard pin assignments
  25. * Requires the Teensyduino software with Teensy 3.1 or Teensy 3.2 selected in Arduino IDE!
  26. * https://www.pjrc.com/teensy/teensyduino.html
  27. */
  28. #if NOT_TARGET(IS_TEENSY_31_32)
  29. #error "Oops! Select 'Teensy 3.1' or 'Teensy 3.2' in 'Tools > Board.'"
  30. #endif
  31. #ifndef BOARD_INFO_NAME
  32. #define BOARD_INFO_NAME "Teensy3.2"
  33. #endif
  34. //
  35. // Limit Switches
  36. //
  37. #define X_STOP_PIN 3
  38. #define Y_STOP_PIN 4
  39. #define Z_STOP_PIN 5
  40. //
  41. // Steppers
  42. //
  43. #define X_STEP_PIN 5
  44. #define X_DIR_PIN 6
  45. #define X_ENABLE_PIN 2
  46. #define Y_STEP_PIN 7
  47. #define Y_DIR_PIN 8
  48. #define Y_ENABLE_PIN 2
  49. #define Z_STEP_PIN 9
  50. #define Z_DIR_PIN 10
  51. #define Z_ENABLE_PIN 2
  52. #define E0_STEP_PIN 11
  53. #define E0_DIR_PIN 12
  54. #define E0_ENABLE_PIN 2
  55. //#define E1_STEP_PIN 33
  56. //#define E1_DIR_PIN 34
  57. //#define E1_ENABLE_PIN 35
  58. //
  59. // Heaters / Fans
  60. //
  61. #define HEATER_0_PIN 20
  62. //#define HEATER_1_PIN 36
  63. #define HEATER_BED_PIN 21
  64. #ifndef FAN_PIN
  65. #define FAN_PIN 22
  66. #endif
  67. //
  68. // Temperature Sensors
  69. //
  70. #define TEMP_0_PIN 14 // Analog Input - Extruder 2 => A2
  71. //#define TEMP_1_PIN 0 // Analog Input
  72. #define TEMP_BED_PIN 15 // Analog Input - Bed
  73. #ifndef FILWIDTH_PIN
  74. #define FILWIDTH_PIN 6 // Analog Input
  75. #endif
  76. //
  77. // Misc. Functions
  78. //
  79. #define LED_PIN 13
  80. //#define SOL1_PIN 28
  81. //#define SDSS 16 // 8
  82. //
  83. // LCD / Controller
  84. //
  85. /*
  86. #if HAS_WIRED_LCD
  87. #define LCD_PINS_RS 40
  88. #define LCD_PINS_ENABLE 41
  89. #define LCD_PINS_D4 42
  90. #define LCD_PINS_D5 43
  91. #define LCD_PINS_D6 44
  92. #define LCD_PINS_D7 45
  93. #define BTN_EN1 46
  94. #define BTN_EN2 47
  95. #define BTN_ENC 48
  96. #endif
  97. */