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_K8800.h 2.6KB

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