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

pins_PROTONEER_CNC_SHIELD_V3.h 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2021 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. * Protoneer v3.00 pin assignments
  25. *
  26. * This CNC shield has an UNO pinout and fits all Arduino-compatibles.
  27. *
  28. * Referenced docs:
  29. * - https://blog.protoneer.co.nz/arduino-cnc-shield-v3-00-assembly-guide/
  30. * - https://blog.protoneer.co.nz/arduino-cnc-shield/
  31. */
  32. #include "env_validate.h"
  33. #define BOARD_INFO_NAME "Protoneer CNC Shield v3.00"
  34. //
  35. // Limit Switches
  36. //
  37. #define X_STOP_PIN 9
  38. #define Y_STOP_PIN 10
  39. #define Z_STOP_PIN 11
  40. //
  41. // Steppers
  42. //
  43. #define X_STEP_PIN 2
  44. #define X_DIR_PIN 5
  45. #define X_ENABLE_PIN 8 // Shared enable pin
  46. #define Y_STEP_PIN 3
  47. #define Y_DIR_PIN 6
  48. #define Y_ENABLE_PIN X_ENABLE_PIN
  49. #define Z_STEP_PIN 4
  50. #define Z_DIR_PIN 7
  51. #define Z_ENABLE_PIN X_ENABLE_PIN
  52. // Designated with letter "A" on BOARD
  53. #define E0_STEP_PIN 12
  54. #define E0_DIR_PIN 13
  55. #define E0_ENABLE_PIN X_ENABLE_PIN
  56. //
  57. // Temperature sensors - These could be any analog output not hidden by board
  58. //
  59. #define TEMP_0_PIN 8 // Analog Input
  60. //#define TEMP_1_PIN 9 // Analog Input
  61. //#define TEMP_BED_PIN 10 // Analog Input
  62. //
  63. // Heaters / Fans - These could be any digital input not hidden by board
  64. //
  65. //#define HEATER_0_PIN 22 // EXTRUDER 1
  66. //#define HEATER_1_PIN 23 // EXTRUDER 2
  67. //#define HEATER_BED_PIN 24