ソースを参照

Wanhao Duplicator i3 Mini support (#14559)

thisiskeithb 4年前
コミット
42be684e69

+ 2
- 0
Marlin/Makefile ファイルの表示

@@ -307,6 +307,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1316)
307 307
 else ifeq ($(HARDWARE_MOTHERBOARD),1317)
308 308
 # Einstart retrofit
309 309
 else ifeq ($(HARDWARE_MOTHERBOARD),1318)
310
+# Wanhao 0ne+ i3 Mini
311
+else ifeq ($(HARDWARE_MOTHERBOARD),1319)
310 312
 
311 313
 #
312 314
 # ATmega1281, ATmega2561

+ 1
- 0
Marlin/src/core/boards.h ファイルの表示

@@ -128,6 +128,7 @@
128 128
 #define BOARD_GT2560_V3_MC2           1316  // Geeetech GT2560 Rev B for Mecreator2
129 129
 #define BOARD_GT2560_V3_A20           1317  // Geeetech GT2560 Rev B for A20(M/D)
130 130
 #define BOARD_EINSTART_S              1318  // Einstart retrofit
131
+#define BOARD_WANHAO_ONEPLUS          1319  // Wanhao 0ne+ i3 Mini
131 132
 
132 133
 //
133 134
 // ATmega1281, ATmega2561

+ 112
- 0
Marlin/src/pins/mega/pins_WANHAO_ONEPLUS.h ファイルの表示

@@ -0,0 +1,112 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 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
+/**
25
+ * Wanhao 0ne+ pin assignments
26
+ */
27
+
28
+#ifndef __AVR_ATmega2560__
29
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
30
+#endif
31
+
32
+#define BOARD_NAME           "Wanhao i3 Mini 0ne+"
33
+#define DEFAULT_MACHINE_NAME "i3 Mini"
34
+#define BOARD_WEBSITE_URL    "https://tinyurl.com/yyxw7se7"
35
+
36
+//
37
+// Limit Switches
38
+//
39
+#define X_STOP_PIN         19
40
+#define Y_STOP_PIN         18
41
+#define Z_STOP_PIN         38
42
+
43
+//
44
+// Z Probe (when not Z_MIN_PIN)
45
+//
46
+#ifndef Z_MIN_PROBE_PIN
47
+  #define Z_MIN_PROBE_PIN  38
48
+#endif
49
+
50
+//
51
+// Steppers
52
+//
53
+#define X_STEP_PIN         22
54
+#define X_DIR_PIN          23
55
+#define X_ENABLE_PIN       57
56
+
57
+#define Y_STEP_PIN         25
58
+#define Y_DIR_PIN          26
59
+#define Y_ENABLE_PIN       24
60
+
61
+#define Z_STEP_PIN         29
62
+#define Z_DIR_PIN          39
63
+#define Z_ENABLE_PIN       28
64
+
65
+#define E0_STEP_PIN        55
66
+#define E0_DIR_PIN         56
67
+#define E0_ENABLE_PIN      54
68
+
69
+//
70
+// Temperature Sensors
71
+//
72
+#define TEMP_0_PIN         13
73
+#define TEMP_BED_PIN       14
74
+
75
+//
76
+// Heaters / Fans
77
+//
78
+#define HEATER_0_PIN        4
79
+#define HEATER_BED_PIN     44
80
+#define FAN_PIN            12   // IO pin. Buffer needed
81
+
82
+//
83
+// SD Card
84
+//
85
+#define SD_DETECT_PIN      -1
86
+#define SDPOWER            -1
87
+#define SDSS               53
88
+
89
+//
90
+// Misc. Functions
91
+//
92
+#define BEEPER_PIN         37
93
+#define KILL_PIN           64
94
+
95
+//
96
+// LCD / Controller
97
+//
98
+
99
+#if HAS_SPI_LCD
100
+  #define DOGLCD_A0        40
101
+  #define DOGLCD_CS        41
102
+  #define LCD_BACKLIGHT_PIN 65   // Backlight LED on A11/D65
103
+  #define LCD_RESET_PIN    27
104
+
105
+  #define LCD_CONTRAST    255
106
+
107
+  #if ENABLED(NEWPANEL)
108
+    #define BTN_EN1         2
109
+    #define BTN_EN2         3
110
+    #define BTN_ENC         5
111
+  #endif
112
+#endif

+ 2
- 0
Marlin/src/pins/pins.h ファイルの表示

@@ -228,6 +228,8 @@
228 228
   #include "mega/pins_GT2560_V3_A20.h"          // ATmega2560                             env:megaatmega2560
229 229
 #elif MB(EINSTART_S)
230 230
   #include "mega/pins_EINSTART-S.h"             // ATmega1280, ATmega2560                 env:megaatmega1280 env:megaatmega2560
231
+#elif MB(WANHAO_ONEPLUS)
232
+  #include "mega/pins_WANHAO_ONEPLUS.h"         // ATmega2560                             env:megaatmega2560
231 233
 
232 234
 //
233 235
 // ATmega1281, ATmega2561

+ 2180
- 0
config/examples/Wanhao/Duplicator i3 Mini/Configuration.h
ファイル差分が大きすぎるため省略します
ファイルの表示


+ 2550
- 0
config/examples/Wanhao/Duplicator i3 Mini/Configuration_adv.h
ファイル差分が大きすぎるため省略します
ファイルの表示


読み込み中…
キャンセル
保存