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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2019 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. * Velleman K8800 (Vertex)
  24. */
  25. #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
  26. #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
  27. #endif
  28. #define DEFAULT_MACHINE_NAME "Vertex Delta"
  29. #define BOARD_NAME "K8800"
  30. //#define LCD_SCREEN_ROT_180
  31. //
  32. // Limit Switches
  33. //
  34. #define X_STOP_PIN 3
  35. #define Y_STOP_PIN 14
  36. #define Z_MIN_PIN 68 // Used for bed leveling
  37. #define Z_MAX_PIN 66
  38. //
  39. // Steppers
  40. //
  41. #define X_STEP_PIN 54
  42. #define X_DIR_PIN 55
  43. #define X_ENABLE_PIN 38
  44. #define Y_STEP_PIN 60
  45. #define Y_DIR_PIN 61
  46. #define Y_ENABLE_PIN 56
  47. #define Z_STEP_PIN 46
  48. #define Z_DIR_PIN 48
  49. #define Z_ENABLE_PIN 63
  50. #define E0_STEP_PIN 26
  51. #define E0_DIR_PIN 28
  52. #define E0_ENABLE_PIN 24
  53. #define E1_STEP_PIN 32
  54. #define E1_DIR_PIN 34
  55. #define E1_ENABLE_PIN 30
  56. //
  57. // Temperature Sensors
  58. //
  59. #define TEMP_0_PIN 13
  60. //
  61. // Heaters / Fans
  62. //
  63. #define HEATER_0_PIN 10
  64. #define FAN_PIN 8
  65. #define CONTROLLER_FAN_PIN 9
  66. //
  67. // Misc. Functions
  68. //
  69. #define SDSS 25
  70. #define FIL_RUNOUT_PIN 69 // PK7
  71. #define KILL_PIN 20 // PD1
  72. //
  73. // LCD / Controller
  74. //
  75. #define SD_DETECT_PIN 21 // PD0
  76. #define LCD_SDSS 53
  77. #define BEEPER_PIN 6
  78. #define DOGLCD_CS 29
  79. #define DOGLCD_A0 27
  80. #define LCD_PINS_RS 27
  81. #define LCD_PINS_ENABLE 29
  82. #define LCD_PINS_D4 37
  83. #define LCD_PINS_D5 35
  84. #define LCD_PINS_D6 33
  85. #define LCD_PINS_D7 31
  86. #if ENABLED(NEWPANEL)
  87. #define BTN_EN1 17
  88. #define BTN_EN2 16
  89. #define BTN_ENC 23
  90. #endif