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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. //
  30. // Limit Switches
  31. //
  32. #define X_STOP_PIN 3
  33. #define Y_STOP_PIN 14
  34. #define Z_STOP_PIN 66
  35. #ifndef Z_MIN_PROBE_PIN
  36. #define Z_MIN_PROBE_PIN 68
  37. #endif
  38. #define FIL_RUNOUT_PIN 69 // PK7
  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. //
  55. // Temperature Sensors
  56. //
  57. #define TEMP_0_PIN 13
  58. //
  59. // Heaters / Fans
  60. //
  61. #define HEATER_0_PIN 10
  62. #define FAN_PIN 8
  63. #define CONTROLLER_FAN_PIN 9
  64. //
  65. // Misc. Functions
  66. //
  67. #define KILL_PIN 20 // PD1
  68. #define CASE_LIGHT_PIN 7
  69. //
  70. // SD Card
  71. //
  72. #define SDSS 25
  73. #define SD_DETECT_PIN 21 // PD0
  74. //
  75. // LCD / Controller
  76. //
  77. #define BEEPER_PIN 6
  78. #if HAS_WIRED_LCD
  79. #define LCD_SDSS 53
  80. #define DOGLCD_CS 29
  81. #define DOGLCD_A0 27
  82. #define LCD_PINS_RS 27
  83. #define LCD_PINS_ENABLE 29
  84. #define LCD_PINS_D4 37
  85. #define LCD_PINS_D5 35
  86. #define LCD_PINS_D6 33
  87. #define LCD_PINS_D7 31
  88. #define LCD_CONTRAST_MIN 0
  89. #define LCD_CONTRAST_MAX 100
  90. #define LCD_CONTRAST_INIT 30
  91. //#define LCD_SCREEN_ROTATE 180 // 0, 90, 180, 270
  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