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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. #include "env_validate.h"
  27. #define BOARD_INFO_NAME "K8800"
  28. #define DEFAULT_MACHINE_NAME "Vertex Delta"
  29. //#define LCD_SCREEN_ROT_180
  30. //
  31. // Limit Switches
  32. //
  33. #define X_STOP_PIN 3
  34. #define Y_STOP_PIN 14
  35. #define Z_STOP_PIN 66
  36. #ifndef Z_MIN_PROBE_PIN
  37. #define Z_MIN_PROBE_PIN 68
  38. #endif
  39. #define FIL_RUNOUT_PIN 69 // PK7
  40. //
  41. // Steppers
  42. //
  43. #define X_STEP_PIN 54
  44. #define X_DIR_PIN 55
  45. #define X_ENABLE_PIN 38
  46. #define Y_STEP_PIN 60
  47. #define Y_DIR_PIN 61
  48. #define Y_ENABLE_PIN 56
  49. #define Z_STEP_PIN 46
  50. #define Z_DIR_PIN 48
  51. #define Z_ENABLE_PIN 63
  52. #define E0_STEP_PIN 26
  53. #define E0_DIR_PIN 28
  54. #define E0_ENABLE_PIN 24
  55. //
  56. // Temperature Sensors
  57. //
  58. #define TEMP_0_PIN 13
  59. //
  60. // Heaters / Fans
  61. //
  62. #define HEATER_0_PIN 10
  63. #define FAN_PIN 8
  64. #define CONTROLLER_FAN_PIN 9
  65. //
  66. // Misc. Functions
  67. //
  68. #define KILL_PIN 20 // PD1
  69. #define CASE_LIGHT_PIN 7
  70. //
  71. // SD Card
  72. //
  73. #define SDSS 25
  74. #define SD_DETECT_PIN 21 // PD0
  75. //
  76. // LCD / Controller
  77. //
  78. #define BEEPER_PIN 6
  79. #if HAS_WIRED_LCD
  80. #define LCD_SDSS 53
  81. #define DOGLCD_CS 29
  82. #define DOGLCD_A0 27
  83. #define LCD_PINS_RS 27
  84. #define LCD_PINS_ENABLE 29
  85. #define LCD_PINS_D4 37
  86. #define LCD_PINS_D5 35
  87. #define LCD_PINS_D6 33
  88. #define LCD_PINS_D7 31
  89. #define LCD_CONTRAST_MIN 0
  90. #define LCD_CONTRAST_MAX 100
  91. #define DEFAULT_LCD_CONTRAST 30
  92. #if IS_NEWPANEL
  93. #define BTN_EN1 17
  94. #define BTN_EN2 16
  95. #define BTN_ENC 23
  96. #endif
  97. #endif // HAS_WIRED_LCD