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

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