My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

pins_LEAPFROG_XEED2015.h 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * Leapfrog Xeed Driver board pin assignments
  25. *
  26. * This board is used by other Leapfrog printers in addition to the Xeed,
  27. * such as the Creatr HS and Bolt. The pin assignments vary wildly between
  28. * printer models. As such this file is currently specific to the Xeed.
  29. */
  30. #ifndef __AVR_ATmega2560__
  31. #error "Oops! Select 'Mega 2560' in 'Tools > Board.'"
  32. #endif
  33. #define BOARD_INFO_NAME "Leapfrog Xeed 2015"
  34. //
  35. // Limit Switches
  36. //
  37. #define X_STOP_PIN 47 // 'X Min'
  38. #define Y_STOP_PIN 48 // 'Y Min'
  39. #define Z_STOP_PIN 49 // 'Z Min'
  40. //
  41. // Steppers
  42. // The Xeed utilizes three Z-axis motors, which use the X, Y, and Z stepper connectors
  43. // on the board. The X and Y steppers use external drivers, attached to signal-level
  44. // Y-axis and X-axis connectors on the board, which map to distinct CPU pins from
  45. // the on-board X/Y stepper drivers.
  46. //
  47. // X-axis signal-level connector
  48. #define X_STEP_PIN 65
  49. #define X_DIR_PIN 64
  50. #define X_ENABLE_PIN 66 // Not actually used on Xeed, could be repurposed
  51. // Y-axis signal-level connector
  52. #define Y_STEP_PIN 23
  53. #define Y_DIR_PIN 22
  54. #define Y_ENABLE_PIN 24 // Not actually used on Xeed, could be repurposed
  55. // ZMOT connector (Front Right Z Motor)
  56. #define Z_STEP_PIN 31
  57. #define Z_DIR_PIN 32
  58. #define Z_ENABLE_PIN 30
  59. // XMOT connector (Rear Z Motor)
  60. #define Z2_STEP_PIN 28
  61. #define Z2_DIR_PIN 63
  62. #define Z2_ENABLE_PIN 29
  63. // YMOT connector (Front Left Z Motor)
  64. #define Z3_STEP_PIN 14
  65. #define Z3_DIR_PIN 15
  66. #define Z3_ENABLE_PIN 39
  67. // EMOT2 connector
  68. #define E0_STEP_PIN 37
  69. #define E0_DIR_PIN 40
  70. #define E0_ENABLE_PIN 36
  71. // EMOT connector
  72. #define E1_STEP_PIN 34
  73. #define E1_DIR_PIN 35
  74. #define E1_ENABLE_PIN 33
  75. //
  76. // Filament runout
  77. //
  78. #define FIL_RUNOUT_PIN 42 // ROT2 Connector
  79. #define FIL_RUNOUT2_PIN 44 // ROT1 Connector
  80. //
  81. // Temperature Sensors
  82. //
  83. #define TEMP_0_PIN 15 // T3 Connector
  84. #define TEMP_1_PIN 13 // T1 Connector
  85. #define TEMP_BED_PIN 14 // BED Connector (Between T1 and T3)
  86. //
  87. // Heaters / Fans
  88. //
  89. #define HEATER_0_PIN 8 // Misc Connector, pins 3 and 4 (Out2)
  90. #define HEATER_1_PIN 9 // Misc Connector, pins 5 and 6 (Out3)
  91. #define HEATER_BED_PIN 6 // Misc Connector, pins 9(-) and 10(+) (OutA)
  92. #define FAN_PIN 10 // Misc Connector, pins 7(-) and 8 (+) (Out4)
  93. #define LED_PIN 13
  94. #define SOL1_PIN 7 // Misc Connector, pins 1(-) and 2(+) (Out1)
  95. // Door Closed Sensor
  96. //#define DOOR_PIN 45 // HM1 Connector