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_ESP32.h 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. * Espressif ESP32 (Tensilica Xtensa LX6) pin assignments
  24. */
  25. #ifndef BOARD_NAME
  26. #define BOARD_NAME "Espressif ESP32"
  27. #endif
  28. //
  29. // Limit Switches
  30. //
  31. #define X_MIN_PIN 34
  32. #define Y_MIN_PIN 35
  33. #define Z_MIN_PIN 15
  34. //
  35. // Steppers
  36. //
  37. #define X_STEP_PIN 27
  38. #define X_DIR_PIN 26
  39. #define X_ENABLE_PIN 25
  40. //#define X_CS_PIN 0
  41. #define Y_STEP_PIN 33
  42. #define Y_DIR_PIN 32
  43. #define Y_ENABLE_PIN X_ENABLE_PIN
  44. //#define Y_CS_PIN 13
  45. #define Z_STEP_PIN 14
  46. #define Z_DIR_PIN 12
  47. #define Z_ENABLE_PIN X_ENABLE_PIN
  48. //#define Z_CS_PIN 5 // SS_PIN
  49. #define E0_STEP_PIN 16
  50. #define E0_DIR_PIN 17
  51. #define E0_ENABLE_PIN X_ENABLE_PIN
  52. //#define E0_CS_PIN 21
  53. //
  54. // Temperature Sensors
  55. //
  56. #define TEMP_0_PIN 36 // Analog Input
  57. #define TEMP_BED_PIN 39 // Analog Input
  58. //
  59. // Heaters / Fans
  60. //
  61. #define HEATER_0_PIN 2
  62. #define FAN_PIN 13
  63. #define HEATER_BED_PIN 4