My Marlin configs for Fabrikator Mini and CTC i3 Pro B

pins_GEN3_MONOLITHIC.h 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. * Gen3 Monolithic Electronics pin assignments
  24. */
  25. #ifndef __AVR_ATmega644P__
  26. #error "Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu."
  27. #endif
  28. #define BOARD_NAME "Gen3 Monolithic"
  29. #define DEBUG_PIN 0
  30. //
  31. // Limit Switches
  32. //
  33. #define X_STOP_PIN 20
  34. #define Y_STOP_PIN 25
  35. #define Z_STOP_PIN 30
  36. //
  37. // Steppers
  38. //
  39. #define X_STEP_PIN 15
  40. #define X_DIR_PIN 18
  41. #define X_ENABLE_PIN 24 // actually uses Y_enable_pin
  42. #define Y_STEP_PIN 23
  43. #define Y_DIR_PIN 22
  44. #define Y_ENABLE_PIN 24 // shared with X_enable_pin
  45. #define Z_STEP_PIN 27
  46. #define Z_DIR_PIN 28
  47. #define Z_ENABLE_PIN 29
  48. #define E0_STEP_PIN 12
  49. #define E0_DIR_PIN 17
  50. #define E0_ENABLE_PIN 3
  51. //
  52. // Temperature Sensors
  53. //
  54. #define TEMP_0_PIN 0 // Analog Input
  55. //
  56. // Heaters
  57. //
  58. #define HEATER_0_PIN 16
  59. //
  60. // Misc. Functions
  61. //
  62. #define PS_ON_PIN 14 // Alex, does this work on the card?
  63. // Alex extras from Gen3+