Browse Source

Eryone Thinker V2 (#21190)

Co-Authored-By: Bryan Joshua Pedini <b.pedini@bjphoster.com>
Scott Lahteine 3 years ago
parent
commit
08d54b3d78

+ 2
- 0
Marlin/Makefile View File

@@ -323,6 +323,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1203)
323 323
 else ifeq ($(HARDWARE_MOTHERBOARD),1204)
324 324
 # abee Scoovo X9H
325 325
 else ifeq ($(HARDWARE_MOTHERBOARD),1205)
326
+# Rambo ThinkerV2
327
+else ifeq ($(HARDWARE_MOTHERBOARD),1206)
326 328
 
327 329
 #
328 330
 # Other ATmega1280, ATmega2560

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

@@ -126,6 +126,7 @@
126 126
 #define BOARD_EINSY_RAMBO             1203  // Einsy Rambo
127 127
 #define BOARD_EINSY_RETRO             1204  // Einsy Retro
128 128
 #define BOARD_SCOOVO_X9H              1205  // abee Scoovo X9H
129
+#define BOARD_RAMBO_THINKERV2         1206  // ThinkerV2
129 130
 
130 131
 //
131 132
 // Other ATmega1280, ATmega2560

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

@@ -207,6 +207,8 @@
207 207
   #include "rambo/pins_EINSY_RETRO.h"           // ATmega2560                             env:rambo
208 208
 #elif MB(SCOOVO_X9H)
209 209
   #include "rambo/pins_SCOOVO_X9H.h"            // ATmega2560                             env:rambo
210
+#elif MB(RAMBO_THINKERV2)
211
+  #include "rambo/pins_RAMBO_THINKERV2.h"       // ATmega2560                             env:rambo
210 212
 
211 213
 //
212 214
 // Other ATmega1280, ATmega2560

+ 24
- 8
Marlin/src/pins/rambo/pins_RAMBO.h View File

@@ -45,14 +45,20 @@
45 45
   #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
46 46
 #endif
47 47
 
48
-#define BOARD_INFO_NAME "Rambo"
48
+#ifndef BOARD_INFO_NAME
49
+  #define BOARD_INFO_NAME "Rambo"
50
+#endif
49 51
 
50 52
 //
51 53
 // Servos
52 54
 //
53
-#define SERVO0_PIN                            22  // Motor header MX1
55
+#ifndef SERVO0_PIN
56
+  #define SERVO0_PIN                          22  // Motor header MX1
57
+#endif
54 58
 #define SERVO1_PIN                            23  // Motor header MX2
55
-#define SERVO2_PIN                            24  // Motor header MX3
59
+#ifndef SERVO2_PIN
60
+  #define SERVO2_PIN                          24  // Motor header MX3
61
+#endif
56 62
 #define SERVO3_PIN                             5  // PWM header pin 5
57 63
 
58 64
 //
@@ -62,7 +68,9 @@
62 68
 #define X_MAX_PIN                             24
63 69
 #define Y_MIN_PIN                             11
64 70
 #define Y_MAX_PIN                             23
65
-#define Z_MIN_PIN                             10
71
+#ifndef Z_MIN_PIN
72
+  #define Z_MIN_PIN                           10
73
+#endif
66 74
 #define Z_MAX_PIN                             30
67 75
 
68 76
 //
@@ -135,8 +143,12 @@
135 143
 #ifndef FAN_PIN
136 144
   #define FAN_PIN                              8
137 145
 #endif
138
-#define FAN1_PIN                               6
139
-#define FAN2_PIN                               2
146
+#ifndef FAN1_PIN
147
+  #define FAN1_PIN                             6
148
+#endif
149
+#ifndef FAN2_PIN
150
+  #define FAN2_PIN                             2
151
+#endif
140 152
 
141 153
 //
142 154
 // Misc. Functions
@@ -220,8 +232,12 @@
220 232
       #define BEEPER_PIN                      79  // AUX-4
221 233
 
222 234
       // AUX-2
223
-      #define BTN_EN1                         76
224
-      #define BTN_EN2                         77
235
+      #ifndef BTN_EN1
236
+        #define BTN_EN1                       76
237
+      #endif
238
+      #ifndef BTN_EN2
239
+        #define BTN_EN2                       77
240
+      #endif
225 241
       #define BTN_ENC                         78
226 242
 
227 243
       #define SD_DETECT_PIN                   81

+ 60
- 0
Marlin/src/pins/rambo/pins_RAMBO_THINKERV2.h View File

@@ -0,0 +1,60 @@
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
+ * Rambo ThinkerV2 pin assignments
26
+ */
27
+
28
+#define BOARD_INFO_NAME "Rambo ThinkerV2"
29
+
30
+#define SERVO0_PIN                             4  // Motor header MX1
31
+#define SERVO2_PIN                            -1  // Motor header MX3
32
+
33
+#ifndef FIL_RUNOUT_PIN
34
+  #define FIL_RUNOUT_PIN                      10
35
+#endif
36
+
37
+// Support BLTouch and fixed probes
38
+#if ENABLED(BLTOUCH)
39
+  #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
40
+    #define Z_MIN_PIN                         22
41
+  #elif !defined(Z_MIN_PROBE_PIN)
42
+    #define Z_MIN_PROBE_PIN                   22
43
+  #endif
44
+#elif ENABLED(FIX_MOUNTED_PROBE)
45
+  #if ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
46
+    #define Z_MIN_PIN                          4
47
+  #elif !defined(Z_MIN_PROBE_PIN)
48
+    #define Z_MIN_PROBE_PIN                    4
49
+  #endif
50
+#endif
51
+
52
+// Eryone has the fan pins reversed
53
+#define FAN1_PIN                               2
54
+#define FAN2_PIN                               6
55
+
56
+// Encoder
57
+#define BTN_EN1                               64
58
+#define BTN_EN2                               63
59
+
60
+#include "pins_RAMBO.h"

Loading…
Cancel
Save