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 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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. * Velleman K8800 (Vertex)
  25. */
  26. #if NOT_TARGET(__AVR_ATmega1280__, __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_STOP_PIN 66
  38. #ifndef Z_MIN_PROBE_PIN
  39. #define Z_MIN_PROBE_PIN 68
  40. #endif
  41. #define FIL_RUNOUT_PIN 69 // PK7
  42. //
  43. // Steppers
  44. //
  45. #define X_STEP_PIN 54
  46. #define X_DIR_PIN 55
  47. #define X_ENABLE_PIN 38
  48. #define Y_STEP_PIN 60
  49. #define Y_DIR_PIN 61
  50. #define Y_ENABLE_PIN 56
  51. #define Z_STEP_PIN 46
  52. #define Z_DIR_PIN 48
  53. #define Z_ENABLE_PIN 63
  54. #define E0_STEP_PIN 26
  55. #define E0_DIR_PIN 28
  56. #define E0_ENABLE_PIN 24
  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 KILL_PIN 20 // PD1
  71. #define CASE_LIGHT_PIN 7
  72. //
  73. // SD Card
  74. //
  75. #define SDSS 25
  76. #define SD_DETECT_PIN 21 // PD0
  77. //
  78. // LCD / Controller
  79. //
  80. #define BEEPER_PIN 6
  81. #if HAS_WIRED_LCD
  82. #define LCD_SDSS 53
  83. #define DOGLCD_CS 29
  84. #define DOGLCD_A0 27
  85. #define LCD_PINS_RS 27
  86. #define LCD_PINS_ENABLE 29
  87. #define LCD_PINS_D4 37
  88. #define LCD_PINS_D5 35
  89. #define LCD_PINS_D6 33
  90. #define LCD_PINS_D7 31
  91. #define LCD_CONTRAST_MIN 0
  92. #define LCD_CONTRAST_MAX 100
  93. #define DEFAULT_LCD_CONTRAST 30
  94. #if IS_NEWPANEL
  95. #define BTN_EN1 17
  96. #define BTN_EN2 16
  97. #define BTN_ENC 23
  98. #endif
  99. #endif // HAS_WIRED_LCD