ソースを参照

✨ Protoneer CNC-Shield 3.00 (#22715)

Dan 3年前
コミット
51c66881c2
コミッターのメールアドレスに関連付けられたアカウントが存在しません
3個のファイルの変更80行の追加0行の削除
  1. 1
    0
      Marlin/src/core/boards.h
  2. 77
    0
      Marlin/src/pins/mega/pins_PROTONEER_CNC_SHIELD_V3.h
  3. 2
    0
      Marlin/src/pins/pins.h

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

@@ -161,6 +161,7 @@
161 161
 #define BOARD_INTAMSYS40              1326  // Intamsys 4.0 (Funmat HT)
162 162
 #define BOARD_MALYAN_M180             1327  // Malyan M180 Mainboard Version 2 (no display function, direct gcode only)
163 163
 #define BOARD_GT2560_V4_A20           1328  // Geeetech GT2560 Rev B for A20(M/T/D)
164
+#define BOARD_PROTONEER_CNC_SHIELD_V3 1329  // Mega controller & Protoneer CNC Shield V3.00
164 165
 
165 166
 //
166 167
 // ATmega1281, ATmega2561

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

@@ -0,0 +1,77 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2021 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
+/**
25
+ * Protoneer v3.00 pin assignments
26
+ * 
27
+ * This CNC shield has an UNO pinout and fits all Arduino-compatibles.
28
+ * 
29
+ * Referenced docs:
30
+ * - https://blog.protoneer.co.nz/arduino-cnc-shield-v3-00-assembly-guide/
31
+ * - https://blog.protoneer.co.nz/arduino-cnc-shield/
32
+ */
33
+
34
+#include "env_validate.h"
35
+
36
+#define BOARD_INFO_NAME "Protoneer CNC Shield v3.00"
37
+
38
+//
39
+// Limit Switches
40
+//
41
+#define X_STOP_PIN                             9
42
+#define Y_STOP_PIN                            10
43
+#define Z_STOP_PIN                            11
44
+
45
+//
46
+// Steppers
47
+//
48
+#define X_STEP_PIN                             2
49
+#define X_DIR_PIN                              5
50
+#define X_ENABLE_PIN                           8  // Shared enable pin
51
+
52
+#define Y_STEP_PIN                             3
53
+#define Y_DIR_PIN                              6
54
+#define Y_ENABLE_PIN                 X_ENABLE_PIN
55
+
56
+#define Z_STEP_PIN                             4
57
+#define Z_DIR_PIN                              7
58
+#define Z_ENABLE_PIN                 X_ENABLE_PIN
59
+
60
+// Designated with letter "A" on BOARD
61
+#define E0_STEP_PIN                           12
62
+#define E0_DIR_PIN                            13
63
+#define E0_ENABLE_PIN                X_ENABLE_PIN
64
+
65
+//
66
+// Temperature sensors - These could be any analog output not hidden by board
67
+//
68
+#define TEMP_0_PIN                             8  // Analog Input
69
+//#define TEMP_1_PIN                           9  // Analog Input
70
+//#define TEMP_BED_PIN                        10  // Analog Input
71
+
72
+//
73
+// Heaters / Fans - These could be any digital input not hidden by board
74
+//
75
+//#define HEATER_0_PIN                        22  // EXTRUDER 1
76
+//#define HEATER_1_PIN                        23  // EXTRUDER 2
77
+//#define HEATER_BED_PIN                      24

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

@@ -269,6 +269,8 @@
269 269
   #include "mega/pins_INTAMSYS40.h"             // ATmega2560                             env:mega2560
270 270
 #elif MB(MALYAN_M180)
271 271
   #include "mega/pins_MALYAN_M180.h"            // ATmega2560                             env:mega2560
272
+#elif MB(PROTONEER_CNC_SHIELD_V3)
273
+  #include "mega/pins_PROTONEER_CNC_SHIELD_V3.h"// ATmega2560                             env:mega2560
272 274
 
273 275
 //
274 276
 // ATmega1281, ATmega2561

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