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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. * E4d@Box pin assignments
  25. * E4d@Box is a small factor 3D printer control board based on the ESP32 microcontroller for Laser, CNC and 3d printers
  26. * for more info check https://atbox.tech/ and join to Facebook page E4d@box.
  27. */
  28. #if NOT_TARGET(ARDUINO_ARCH_ESP32)
  29. #error "Oops! Select an ESP32 board in 'Tools > Board.'"
  30. #elif EXTRUDERS > 1 || E_STEPPERS > 1
  31. #error "E4d@box only supports one E Stepper. Comment out this line to continue."
  32. #elif HOTENDS > 2
  33. #error "E4d@box currently supports only one hotend. Comment out this line to continue."
  34. #endif
  35. #define BOARD_INFO_NAME "E4D@BOX"
  36. #define BOARD_WEBSITE_URL "github.com/Exilaus/E4d@box"
  37. #define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
  38. //
  39. // Limit Switches
  40. //
  41. #define X_STOP_PIN 34
  42. #define Y_STOP_PIN 35
  43. #define Z_STOP_PIN 16
  44. //
  45. // Steppers
  46. //
  47. #define X_STEP_PIN 12
  48. #define X_DIR_PIN 13
  49. #define X_ENABLE_PIN 17
  50. //#define X_CS_PIN 0
  51. #define Y_STEP_PIN 32
  52. #define Y_DIR_PIN 33
  53. #define Y_ENABLE_PIN X_ENABLE_PIN
  54. //#define Y_CS_PIN 13
  55. #define Z_STEP_PIN 25
  56. #define Z_DIR_PIN 26
  57. #define Z_ENABLE_PIN X_ENABLE_PIN
  58. //#define Z_CS_PIN 5 // SS_PIN
  59. #define E0_STEP_PIN 27
  60. #define E0_DIR_PIN 14
  61. #define E0_ENABLE_PIN X_ENABLE_PIN
  62. //#define E0_CS_PIN 21
  63. //
  64. // Temperature Sensors
  65. //
  66. #define TEMP_0_PIN 36 // Analog Input
  67. #define TEMP_BED_PIN 39 // Analog Input
  68. //
  69. // Heaters / Fans
  70. //
  71. #define HEATER_0_PIN 2
  72. #define FAN_PIN 0
  73. #define HEATER_BED_PIN 15
  74. // SPI
  75. #define SDSS 5
  76. #define I2S_STEPPER_STREAM
  77. #define I2S_WS 23
  78. #define I2S_BCK 22
  79. #define I2S_DATA 21