瀏覽代碼

Support for Geeetech GT2560 Rev.A/Rev.A+

Jozsef Kiraly 7 年之前
父節點
當前提交
97c21e9007

+ 1
- 1
Marlin/Configuration.h 查看文件

@@ -914,7 +914,7 @@
914 914
   #define UBL_PROBE_PT_3_X 180
915 915
   #define UBL_PROBE_PT_3_Y 20
916 916
 
917
-  #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
917
+  //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
918 918
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
919 919
 
920 920
 #elif ENABLED(MESH_BED_LEVELING)

+ 2
- 0
Marlin/boards.h 查看文件

@@ -64,6 +64,8 @@
64 64
 #define BOARD_ULTIMAKER         7    // Ultimaker
65 65
 #define BOARD_ULTIMAKER_OLD     71   // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
66 66
 #define BOARD_ULTIMAIN_2        72   // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
67
+#define BOARD_GT2560_REV_A      74   // Geeetech GT2560 Rev. A
68
+#define BOARD_GT2560_REV_A_PLUS 75   // Geeetech GT2560 Rev. A+ (with auto level probe)
67 69
 #define BOARD_3DRAG             77   // 3Drag Controller
68 70
 #define BOARD_K8200             78   // Velleman K8200 Controller (derived from 3Drag Controller)
69 71
 #define BOARD_K8400             79   // Velleman K8400 Controller (derived from 3Drag Controller)

+ 1665
- 0
Marlin/example_configurations/Geeetech/GT2560/Configuration.h
文件差異過大導致無法顯示
查看文件


+ 0
- 1
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h 查看文件

@@ -524,7 +524,6 @@
524 524
  * Override with M201
525 525
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
526 526
  */
527
-
528 527
 #define DEFAULT_MAX_ACCELERATION      { 4000, 4000, 40, 4000 }
529 528
 
530 529
 /**

+ 4
- 0
Marlin/pins.h 查看文件

@@ -192,6 +192,10 @@
192 192
   #include "pins_SAINSMART_2IN1.h"
193 193
 #elif MB(ZRIB_V20)
194 194
   #include "pins_ZRIB_V20.h"
195
+#elif MB(GT2560_REV_A)
196
+  #include "pins_GT2560_REV_A.h"
197
+#elif MB(GT2560_REV_A_PLUS)
198
+  #include "pins_GT2560_REV_A_PLUS.h"
195 199
 #else
196 200
   #error "Unknown MOTHERBOARD value set in Configuration.h"
197 201
 #endif

+ 133
- 0
Marlin/pins_GT2560_REV_A.h 查看文件

@@ -0,0 +1,133 @@
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
+ 
23
+/**
24
+ * Geeetech GT2560 Revision A board pin assignments, based on the work of 
25
+ * George Robles (https://georges3dprinters.com) and 
26
+ * Richard Smith <galorin@gmail.com>
27
+ */ 
28
+ 
29
+#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
30
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
31
+#endif
32
+
33
+#define BOARD_NAME           "GT2560 Rev.A"
34
+#define DEFAULT_MACHINE_NAME "Prusa i3 Pro B"
35
+#define LARGE_FLASH true
36
+
37
+//
38
+// Limit Switches
39
+//
40
+#define X_MIN_PIN          22
41
+#define X_MAX_PIN          24
42
+#define Y_MIN_PIN          26
43
+#define Y_MAX_PIN          28
44
+#define Z_MIN_PIN          30
45
+#define Z_MAX_PIN          32
46
+
47
+//
48
+// Steppers
49
+//
50
+#define X_STEP_PIN         25
51
+#define X_DIR_PIN          23
52
+#define X_ENABLE_PIN       27
53
+
54
+#define Y_STEP_PIN         31
55
+#define Y_DIR_PIN          33
56
+#define Y_ENABLE_PIN       29
57
+
58
+#define Z_STEP_PIN         37
59
+#define Z_DIR_PIN          39
60
+#define Z_ENABLE_PIN       35
61
+
62
+#define E0_STEP_PIN        43
63
+#define E0_DIR_PIN         45
64
+#define E0_ENABLE_PIN      41
65
+
66
+#define E1_STEP_PIN        49
67
+#define E1_DIR_PIN         47
68
+#define E1_ENABLE_PIN      48
69
+
70
+//
71
+// Temperature Sensors
72
+//
73
+#define TEMP_0_PIN          8
74
+#define TEMP_1_PIN          9
75
+#define TEMP_BED_PIN       10
76
+
77
+//
78
+// Heaters / Fans
79
+//
80
+#define HEATER_0_PIN        2
81
+#define HEATER_1_PIN        3
82
+#define HEATER_BED_PIN      4
83
+#define FAN_PIN             7
84
+
85
+//
86
+// Misc. Functions
87
+//
88
+#define SDPOWER            -1
89
+#define SDSS               53
90
+#define LED_PIN            13
91
+#define PS_ON_PIN          12
92
+#define SUICIDE_PIN        54  // Must be enabled at startup to keep power flowing
93
+#define KILL_PIN           -1
94
+
95
+#if ENABLED(ULTRA_LCD)
96
+
97
+  #define BEEPER_PIN       18
98
+
99
+  #if ENABLED(NEWPANEL)       
100
+
101
+    #define LCD_PINS_RS    20
102
+    #define LCD_PINS_ENABLE 17
103
+    #define LCD_PINS_D4    16
104
+    #define LCD_PINS_D5    21
105
+    #define LCD_PINS_D6     5
106
+    #define LCD_PINS_D7     6
107
+
108
+    // Buttons are directly attached
109
+    #define BTN_EN1        42
110
+    #define BTN_EN2        40
111
+    #define BTN_ENC        19
112
+    
113
+    #define SD_DETECT_PIN  38
114
+
115
+  #else // !NEWPANEL
116
+
117
+    #define SHIFT_CLK      38
118
+    #define SHIFT_LD       42
119
+    #define SHIFT_OUT      40
120
+    #define SHIFT_EN       17
121
+
122
+    #define LCD_PINS_RS    16
123
+    #define LCD_PINS_ENABLE 5
124
+    #define LCD_PINS_D4     6
125
+    #define LCD_PINS_D5    21
126
+    #define LCD_PINS_D6    20
127
+    #define LCD_PINS_D7    19
128
+
129
+    #define SD_DETECT_PIN  -1
130
+
131
+  #endif // !NEWPANEL
132
+
133
+#endif // ULTRA_LCD

+ 31
- 0
Marlin/pins_GT2560_REV_A_PLUS.h 查看文件

@@ -0,0 +1,31 @@
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
+ 
23
+/**
24
+ * Geeetech GT2560 Revision A+ board pin assignments
25
+ */ 
26
+
27
+#include "pins_GT2560_REV_A.h"
28
+
29
+#define BOARD_NAME  "GT2560 Rev.A+"
30
+
31
+#define SERVO0_PIN  11 

Loading…
取消
儲存