浏览代码

Rapide Lite 200 config, pins_RL200 RUMBA clone (#12848)

chrisly42 5 年前
父节点
当前提交
99e5e8362f

+ 2
- 0
Marlin/Makefile 查看文件

@@ -206,6 +206,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),72)
206 206
 else ifeq ($(HARDWARE_MOTHERBOARD),80)
207 207
 # Raise3D Rumba
208 208
 else ifeq ($(HARDWARE_MOTHERBOARD),333)
209
+# Rapide Lite RL200 Rumba
210
+else ifeq ($(HARDWARE_MOTHERBOARD),801)
209 211
 # Formbot T-Rex 2 Plus
210 212
 else ifeq ($(HARDWARE_MOTHERBOARD),95)
211 213
 # Formbot T-Rex 3

+ 2052
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration.h
文件差异内容过多而无法显示
查看文件


+ 1966
- 0
Marlin/src/config/examples/RapideLite/RL200/Configuration_adv.h
文件差异内容过多而无法显示
查看文件


+ 1
- 0
Marlin/src/core/boards.h 查看文件

@@ -75,6 +75,7 @@
75 75
 #define BOARD_ULTIMAIN_2        72    // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
76 76
 #define BOARD_RUMBA             80    // Rumba
77 77
 #define BOARD_RUMBA_RAISE3D     333   // Raise3D N series Rumba derivative
78
+#define BOARD_RL200             801   // Rapide Lite 200 (v1, low-cost RUMBA clone with drv)
78 79
 #define BOARD_FORMBOT_TREX2PLUS 95    // Formbot T-Rex 2 Plus
79 80
 #define BOARD_FORMBOT_TREX3     96    // Formbot T-Rex 3
80 81
 #define BOARD_FORMBOT_RAPTOR    97    // Formbot Raptor

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

@@ -144,6 +144,8 @@
144 144
   #include "pins_RUMBA.h"             // ATmega2560                                 env:megaatmega2560
145 145
 #elif MB(RUMBA_RAISE3D)
146 146
   #include "pins_RUMBA_RAISE3D.h"     // ATmega2560                                 env:megaatmega2560
147
+#elif MB(RL200)
148
+  #include "pins_RL200.h"             // ATmega2560                                 env:megaatmega2560
147 149
 #elif MB(BQ_ZUM_MEGA_3D)
148 150
   #include "pins_BQ_ZUM_MEGA_3D.h"    // ATmega2560                                 env:megaatmega2560
149 151
 #elif MB(MAKEBOARD_MINI)

+ 14
- 8
Marlin/src/pins/pins_CHEAPTRONICv2.h 查看文件

@@ -109,7 +109,7 @@
109 109
 #endif
110 110
 
111 111
 //
112
-// LCD
112
+// LCD / Controller
113 113
 //
114 114
 #define LCD_PINS_RS        19
115 115
 #define LCD_PINS_ENABLE    42
@@ -119,12 +119,18 @@
119 119
 #define LCD_PINS_D7        40
120 120
 
121 121
 //
122
-// SD CARD, ROTARY ENCODER, BEEPER
122
+// Beeper, SD Card, Encoder
123 123
 //
124
-#define SDPOWER            -1
125
-#define SDSS               53
126
-#define SD_DETECT_PIN      49
127 124
 #define BEEPER_PIN         44
128
-#define BTN_EN1            11
129
-#define BTN_EN2            12
130
-#define BTN_ENC            43
125
+
126
+#if ENABLED(SDSUPPORT)
127
+  #define SDPOWER          -1
128
+  #define SDSS             53
129
+  #define SD_DETECT_PIN    49
130
+#endif
131
+
132
+#if ENABLED(NEWPANEL)
133
+  #define BTN_EN1          11
134
+  #define BTN_EN2          12
135
+  #define BTN_ENC          43
136
+#endif

+ 55
- 0
Marlin/src/pins/pins_RL200.h 查看文件

@@ -0,0 +1,55 @@
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
+ * Rapide Lite 200 v1 (RUMBA clone) pin assignments. Has slightly different assignment for
25
+ * extruder motors due to dual Z motors. Pinout therefore based on pins_RUMBA.h.
26
+ */
27
+
28
+#define DEFAULT_MACHINE_NAME "Rapide Lite 200"
29
+#define BOARD_NAME "RL200"
30
+
31
+#if HOTENDS > 2 || E_STEPPERS > 2
32
+  #error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
33
+#endif
34
+
35
+#if DISABLED(Z_DUAL_STEPPER_DRIVERS)
36
+  #error "RL200 uses dual Z stepper motors. Update Configuration_adv.h or comment out this line to continue."
37
+#endif
38
+
39
+#if !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
40
+  #error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
41
+#endif
42
+
43
+#define E0_STEP_PIN        26   // (RUMBA E1 pins)
44
+#define E0_DIR_PIN         25
45
+#define E0_ENABLE_PIN      27
46
+
47
+#define E1_STEP_PIN        29   // (RUMBA E2 pins)
48
+#define E1_DIR_PIN         28
49
+#define E1_ENABLE_PIN      39
50
+
51
+#define Z2_STEP_PIN        23   // (RUMBA E0 pins)
52
+#define Z2_DIR_PIN         22
53
+#define Z2_ENABLE_PIN      24
54
+
55
+#include "pins_RUMBA.h"

+ 34
- 17
Marlin/src/pins/pins_RUMBA.h 查看文件

@@ -76,17 +76,23 @@
76 76
 #define Z_DIR_PIN          56
77 77
 #define Z_ENABLE_PIN       62
78 78
 
79
-#define E0_STEP_PIN        23
80
-#define E0_DIR_PIN         22
81
-#define E0_ENABLE_PIN      24
79
+#ifndef E0_STEP_PIN
80
+  #define E0_STEP_PIN      23
81
+  #define E0_DIR_PIN       22
82
+  #define E0_ENABLE_PIN    24
83
+#endif
82 84
 
83
-#define E1_STEP_PIN        26
84
-#define E1_DIR_PIN         25
85
-#define E1_ENABLE_PIN      27
85
+#ifndef E1_STEP_PIN
86
+  #define E1_STEP_PIN      26
87
+  #define E1_DIR_PIN       25
88
+  #define E1_ENABLE_PIN    27
89
+#endif
86 90
 
87
-#define E2_STEP_PIN        29
88
-#define E2_DIR_PIN         28
89
-#define E2_ENABLE_PIN      39
91
+#if E1_STEP_PIN != 29
92
+  #define E2_STEP_PIN      29
93
+  #define E2_DIR_PIN       28
94
+  #define E2_ENABLE_PIN    39
95
+#endif
90 96
 
91 97
 //
92 98
 // Temperature Sensors
@@ -140,7 +146,6 @@
140 146
 //
141 147
 // Misc. Functions
142 148
 //
143
-#define SDSS               53
144 149
 #define LED_PIN            13
145 150
 #define PS_ON_PIN          45
146 151
 #define KILL_PIN           46
@@ -162,13 +167,6 @@
162 167
 //
163 168
 // LCD / Controller
164 169
 //
165
-#define SD_DETECT_PIN      49
166
-#define BEEPER_PIN         44
167
-#define LCD_PINS_D7        40
168
-#define BTN_EN1            11
169
-#define BTN_EN2            12
170
-#define BTN_ENC            43
171
-
172 170
 #if ENABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
173 171
   #define LCD_PINS_DC      38   // Set as output on init
174 172
   #define LCD_PINS_RS      41   // Pull low for 1s to init
@@ -184,3 +182,22 @@
184 182
   #define LCD_PINS_D5      38
185 183
   #define LCD_PINS_D6      41
186 184
 #endif
185
+
186
+#define LCD_PINS_D7        40
187
+
188
+//
189
+// Beeper, SD Card, Encoder
190
+//
191
+#define BEEPER_PIN         44
192
+
193
+#if ENABLED(SDSUPPORT)
194
+  #define SDPOWER          -1
195
+  #define SDSS             53
196
+  #define SD_DETECT_PIN    49
197
+#endif
198
+
199
+#if ENABLED(NEWPANEL)
200
+  #define BTN_EN1          11
201
+  #define BTN_EN2          12
202
+  #define BTN_ENC          43
203
+#endif

正在加载...
取消
保存