Sfoglia il codice sorgente

Basic support for Azteeg_X5_GT (#8139)

* Basic support for Azteeg_X5_GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Add fan pins for AZTEEG X5 GT

Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

* Fix endstop pins

* Add servo0 pin
Alexey Shvetsov 7 anni fa
parent
commit
577659cacf

+ 1723
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration.h
File diff soppresso perché troppo grande
Vedi File


+ 1451
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
File diff soppresso perché troppo grande
Vedi File


+ 1
- 0
Marlin/src/core/boards.h Vedi File

@@ -131,6 +131,7 @@
131 131
 #define BOARD_RAMPS_14_RE_ARM_SF  1748   // Re-ARM with RAMPS 1.4 (Power outputs: Spindle, Controller Fan)
132 132
 #define BOARD_MKS_SBASE           1750   // MKS-Sbase (Power outputs: Hotend0, Hotend1, Bed, Fan)
133 133
 #define BOARD_AZSMZ_MINI          1751   // AZSMZ Mini
134
+#define BOARD_AZTEEG_X5_GT        1752   // Azteeg X5 GT (Power outputs: Hotend0, Hotend1, Bed, Fan)
134 135
 #define BOARD_STM32F1R         1800   // STM3R Libmaple based STM32F1 controller
135 136
 
136 137
 

+ 2
- 0
Marlin/src/pins/pins.h Vedi File

@@ -306,6 +306,8 @@
306 306
   #include "pins_MKS_SBASE.h"
307 307
 #elif MB(AZSMZ_MINI)
308 308
   #include "pins_AZSMZ_MINI.h"
309
+#elif MB(AZTEEG_X5_GT)
310
+  #include "pins_AZTEEG_X5_GT.h"
309 311
 #else
310 312
   #error "Unknown MOTHERBOARD value set in Configuration.h"
311 313
 #endif

+ 117
- 0
Marlin/src/pins/pins_AZTEEG_X5_GT.h Vedi File

@@ -0,0 +1,117 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ * Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
5
+ *
6
+ * Based on Sprinter and grbl.
7
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
8
+ *
9
+ * This program is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21
+ *
22
+ */
23
+
24
+/**
25
+ * MKS SBASE pin assignments
26
+ */
27
+
28
+#ifndef TARGET_LPC1768
29
+  #error "Oops!  Make sure you have LPC1768 selected."
30
+#endif
31
+
32
+#ifndef BOARD_NAME
33
+  #define BOARD_NAME "Azteeg X5 GT"
34
+  #define DEFAULT_WEBSITE_URL "https://www.panucatt.com/azteeg_X5_GT_reprap_3d_printer_controller_p/ax5gt.htm"
35
+#endif
36
+
37
+#define LARGE_FLASH true
38
+
39
+//
40
+// Limit Switches
41
+//
42
+
43
+#define X_MIN_PIN          P1_24
44
+#define X_MAX_PIN          P1_27
45
+#define Y_MIN_PIN          P1_25
46
+#define Y_MAX_PIN          P1_28
47
+#define Z_MIN_PIN          P1_26
48
+#define Z_MAX_PIN          P1_29
49
+
50
+
51
+//
52
+// Steppers
53
+//
54
+#define X_STEP_PIN         P2_1
55
+#define X_DIR_PIN          P0_11
56
+#define X_ENABLE_PIN       P0_10
57
+
58
+#define Y_STEP_PIN         P2_2
59
+#define Y_DIR_PIN          P0_20
60
+#define Y_ENABLE_PIN       P0_19
61
+
62
+#define Z_STEP_PIN         P2_3
63
+#define Z_DIR_PIN          P0_22
64
+#define Z_ENABLE_PIN       P0_21
65
+
66
+#define E0_STEP_PIN        P2_0
67
+#define E0_DIR_PIN         P0_5
68
+#define E0_ENABLE_PIN      P0_4
69
+
70
+#define E1_STEP_PIN        P2_8
71
+#define E1_DIR_PIN         P2_13
72
+#define E1_ENABLE_PIN      P4_29
73
+
74
+//
75
+// Temperature Sensors
76
+// 3.3V max when defined as an analog input
77
+//
78
+#define TEMP_BED_PIN        0  // A0 (TH1)
79
+#define TEMP_0_PIN          1  // A1 (TH2)
80
+#define TEMP_1_PIN          2  // A2 (TH3)
81
+
82
+
83
+//
84
+// Heaters / Fans
85
+//
86
+
87
+#define HEATER_BED_PIN     P2_7
88
+#define HEATER_0_PIN       P2_4
89
+#define HEATER_1_PIN       P2_5
90
+#define FAN_PIN            P0_26
91
+#define FAN1_PIN           P1_22
92
+
93
+//
94
+// Display
95
+//
96
+
97
+#if ENABLED(VIKI2) || ENABLED(miniVIKI)
98
+    #define BEEPER_PIN        P1_30
99
+    #define DOGLCD_A0         P2_6
100
+    #define DOGLCD_CS         P0_16
101
+
102
+    #define BTN_EN1           P3_25
103
+    #define BTN_EN2           P3_26
104
+    #define BTN_ENC           P2_11
105
+
106
+    #define SD_DETECT_PIN     -1 // Pin 49 for display sd interface, 72 for easy adapter board
107
+
108
+    #define KILL_PIN          -1
109
+
110
+    #define STAT_LED_RED_PIN  P0_26
111
+    #define STAT_LED_BLUE_PIN P1_21
112
+#endif
113
+
114
+//
115
+// Servo
116
+//
117
+#define SERVO0_PIN        P1_23

Loading…
Annulla
Salva