My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pins_5DPRINT.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. * 5DPrint D8 Driver board pin assignments
  24. *
  25. * https://bitbucket.org/makible/5dprint-d8-controller-board
  26. */
  27. #ifndef __AVR_AT90USB1286__
  28. #error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
  29. #endif
  30. #define DEFAULT_MACHINE_NAME "Makibox"
  31. #define LARGE_FLASH true
  32. #define X_STEP_PIN 0
  33. #define X_DIR_PIN 1
  34. #define X_ENABLE_PIN 23
  35. #define X_STOP_PIN 37
  36. #define Y_STEP_PIN 2
  37. #define Y_DIR_PIN 3
  38. #define Y_ENABLE_PIN 19
  39. #define Y_STOP_PIN 36
  40. #define Z_STEP_PIN 4
  41. #define Z_DIR_PIN 5
  42. #define Z_ENABLE_PIN 18
  43. #define Z_STOP_PIN 39
  44. #define E0_STEP_PIN 6
  45. #define E0_DIR_PIN 7
  46. #define E0_ENABLE_PIN 17
  47. #define HEATER_0_PIN 21 // Extruder
  48. #define HEATER_1_PIN -1
  49. #define HEATER_2_PIN -1
  50. #define HEATER_BED_PIN 20 // Bed
  51. // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
  52. // for the fan and Teensyduino uses a different pin mapping.
  53. #define FAN_PIN 16 // Fan
  54. #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
  55. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  56. #define TEMP_1_PIN -1
  57. #define TEMP_2_PIN -1
  58. #define SDPOWER -1
  59. #define LED_PIN -1
  60. #define PS_ON_PIN -1
  61. #define KILL_PIN -1
  62. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  63. #define SDSS 20
  64. #if DISABLED(SDSUPPORT)
  65. // these pins are defined in the SD library if building with SD support
  66. #define SCK_PIN 9
  67. #define MISO_PIN 11
  68. #define MOSI_PIN 10
  69. #endif
  70. // Microstepping pins
  71. // Note that the pin mapping is not from fastio.h
  72. // See Sd2PinMap.h for the pin configurations
  73. #undef X_MS1_PIN
  74. #undef X_MS2_PIN
  75. #undef Y_MS1_PIN
  76. #undef Y_MS2_PIN
  77. #undef Z_MS1_PIN
  78. #undef Z_MS2_PIN
  79. #undef E0_MS1_PIN
  80. #undef E0_MS2_PIN
  81. #define X_MS1_PIN 25
  82. #define X_MS2_PIN 26
  83. #define Y_MS1_PIN 9
  84. #define Y_MS2_PIN 8
  85. #define Z_MS1_PIN 7
  86. #define Z_MS2_PIN 6
  87. #define E0_MS1_PIN 5
  88. #define E0_MS2_PIN 4