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_WANHAO_ONEPLUS.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. * Wanhao 0ne+ pin assignments
  25. */
  26. #include "env_validate.h"
  27. #define BOARD_INFO_NAME "Wanhao i3 Mini 0ne+"
  28. #define DEFAULT_MACHINE_NAME "i3 Mini"
  29. #define BOARD_WEBSITE_URL "tinyurl.com/yyxw7se7"
  30. //
  31. // Limit Switches
  32. //
  33. #define X_STOP_PIN 19
  34. #define Y_STOP_PIN 18
  35. #define Z_STOP_PIN 38
  36. //
  37. // Z Probe (when not Z_MIN_PIN)
  38. //
  39. #ifndef Z_MIN_PROBE_PIN
  40. #define Z_MIN_PROBE_PIN 38
  41. #endif
  42. //
  43. // Steppers
  44. //
  45. #define X_STEP_PIN 22
  46. #define X_DIR_PIN 23
  47. #define X_ENABLE_PIN 57
  48. #define Y_STEP_PIN 25
  49. #define Y_DIR_PIN 26
  50. #define Y_ENABLE_PIN 24
  51. #define Z_STEP_PIN 29
  52. #define Z_DIR_PIN 39
  53. #define Z_ENABLE_PIN 28
  54. #define E0_STEP_PIN 55
  55. #define E0_DIR_PIN 56
  56. #define E0_ENABLE_PIN 54
  57. //
  58. // Temperature Sensors
  59. //
  60. #define TEMP_0_PIN 13
  61. #define TEMP_BED_PIN 14
  62. //
  63. // Heaters / Fans
  64. //
  65. #define HEATER_0_PIN 4
  66. #define HEATER_BED_PIN 44
  67. #define FAN_PIN 12 // IO pin. Buffer needed
  68. //
  69. // SD Card
  70. //
  71. #define SD_DETECT_PIN 83
  72. #define SDSS 53
  73. //
  74. // Misc. Functions
  75. //
  76. #define BEEPER_PIN 37
  77. #define KILL_PIN 64
  78. //
  79. // LCD / Controller (Integrated MINIPANEL)
  80. //
  81. #if ENABLED(MINIPANEL)
  82. #define DOGLCD_A0 40
  83. #define DOGLCD_CS 41
  84. #define LCD_BACKLIGHT_PIN 65 // Backlight LED on A11/D65
  85. #define LCD_RESET_PIN 27
  86. #define BTN_EN1 2
  87. #define BTN_EN2 3
  88. #define BTN_ENC 5
  89. // This display has adjustable contrast
  90. #define LCD_CONTRAST_MIN 0
  91. #define LCD_CONTRAST_MAX 255
  92. #define LCD_CONTRAST_INIT LCD_CONTRAST_MAX
  93. #endif