Sfoglia il codice sorgente

✨ Tenlog MB1V23 IDEX board (#24896)

InsanityAutomation 2 anni fa
parent
commit
4bee77d470
Nessun account collegato all'indirizzo email del committer

+ 9
- 7
Marlin/Makefile Vedi File

@@ -307,20 +307,22 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1154)
307 307
 else ifeq ($(HARDWARE_MOTHERBOARD),1155)
308 308
 # Tenlog D3 Hero IDEX printer
309 309
 else ifeq ($(HARDWARE_MOTHERBOARD),1156)
310
-# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Fan, Bed)
310
+# Tenlog D3,5,6 Pro IDEX printers
311 311
 else ifeq ($(HARDWARE_MOTHERBOARD),1157)
312
-# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Hotend2, Bed)
312
+# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Fan, Bed)
313 313
 else ifeq ($(HARDWARE_MOTHERBOARD),1158)
314
-# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend, Fan0, Fan1, Bed)
314
+# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Hotend2, Bed)
315 315
 else ifeq ($(HARDWARE_MOTHERBOARD),1159)
316
-# Longer LK1 PRO / Alfawise U20 Pro (PRO version)
316
+# Ramps S 1.2 by Sakul.cz (Power outputs: Hotend, Fan0, Fan1, Bed)
317 317
 else ifeq ($(HARDWARE_MOTHERBOARD),1160)
318
-# Longer LKx PRO / Alfawise Uxx Pro (PRO version)
318
+# Longer LK1 PRO / Alfawise U20 Pro (PRO version)
319 319
 else ifeq ($(HARDWARE_MOTHERBOARD),1161)
320
-# Zonestar zrib V5.3 (Chinese RAMPS replica)
320
+# Longer LKx PRO / Alfawise Uxx Pro (PRO version)
321 321
 else ifeq ($(HARDWARE_MOTHERBOARD),1162)
322
-# Pxmalion Core I3
322
+# Zonestar zrib V5.3 (Chinese RAMPS replica)
323 323
 else ifeq ($(HARDWARE_MOTHERBOARD),1163)
324
+# Pxmalion Core I3
325
+else ifeq ($(HARDWARE_MOTHERBOARD),1164)
324 326
 
325 327
 #
326 328
 # RAMBo and derivatives

+ 8
- 7
Marlin/src/core/boards.h Vedi File

@@ -110,13 +110,14 @@
110 110
 #define BOARD_COPYMASTER_3D           1154  // Copymaster 3D
111 111
 #define BOARD_ORTUR_4                 1155  // Ortur 4
112 112
 #define BOARD_TENLOG_D3_HERO          1156  // Tenlog D3 Hero IDEX printer
113
-#define BOARD_RAMPS_S_12_EEFB         1157  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Fan, Bed)
114
-#define BOARD_RAMPS_S_12_EEEB         1158  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Hotend2, Bed)
115
-#define BOARD_RAMPS_S_12_EFFB         1159  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend, Fan0, Fan1, Bed)
116
-#define BOARD_LONGER3D_LK1_PRO        1160  // Longer LK1 PRO / Alfawise U20 Pro (PRO version)
117
-#define BOARD_LONGER3D_LKx_PRO        1161  // Longer LKx PRO / Alfawise Uxx Pro (PRO version)
118
-#define BOARD_ZRIB_V53                1162  // Zonestar zrib V5.3 (Chinese RAMPS replica)
119
-#define BOARD_PXMALION_CORE_I3        1163  // Pxmalion Core I3
113
+#define BOARD_TENLOG_MB1_V23          1157  // Tenlog D3, D5, D6 IDEX Printer
114
+#define BOARD_RAMPS_S_12_EEFB         1158  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Fan, Bed)
115
+#define BOARD_RAMPS_S_12_EEEB         1159  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend0, Hotend1, Hotend2, Bed)
116
+#define BOARD_RAMPS_S_12_EFFB         1160  // Ramps S 1.2 by Sakul.cz (Power outputs: Hotend, Fan0, Fan1, Bed)
117
+#define BOARD_LONGER3D_LK1_PRO        1161  // Longer LK1 PRO / Alfawise U20 Pro (PRO version)
118
+#define BOARD_LONGER3D_LKx_PRO        1162  // Longer LKx PRO / Alfawise Uxx Pro (PRO version)
119
+#define BOARD_ZRIB_V53                1163  // Zonestar zrib V5.3 (Chinese RAMPS replica)
120
+#define BOARD_PXMALION_CORE_I3        1164  // Pxmalion Core I3
120 121
 
121 122
 //
122 123
 // RAMBo and derivatives

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

@@ -195,6 +195,8 @@
195 195
   #include "ramps/pins_ORTUR_4.h"               // ATmega2560                             env:mega2560
196 196
 #elif MB(TENLOG_D3_HERO)
197 197
   #include "ramps/pins_TENLOG_D3_HERO.h"        // ATmega2560                             env:mega2560
198
+#elif MB(TENLOG_MB1_V23)
199
+  #include "ramps/pins_TENLOG_MB1_V23.h"        // ATmega2560                             env:mega2560
198 200
 #elif MB(MKS_GEN_L_V21)
199 201
   #include "ramps/pins_MKS_GEN_L_V21.h"         // ATmega2560                             env:mega2560
200 202
 #elif MB(RAMPS_S_12_EEFB, RAMPS_S_12_EEEB, RAMPS_S_12_EFFB)

+ 155
- 0
Marlin/src/pins/ramps/pins_TENLOG_MB1_V23.h Vedi File

@@ -0,0 +1,155 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2022 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
+ * Tenlog pin assignments
26
+ */
27
+
28
+#define REQUIRE_MEGA2560
29
+#include "env_validate.h"
30
+
31
+#if HOTENDS > 2 || E_STEPPERS > 2
32
+  #error "Tenlog supports up to 2 hotends / E steppers."
33
+#endif
34
+
35
+#define BOARD_INFO_NAME      "Tenlog MB1 V2.3"
36
+#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
37
+
38
+//
39
+// Limit Switches
40
+//
41
+#define X_MIN_PIN                              3
42
+#define X_MAX_PIN                              2
43
+#define Y_MIN_PIN                             14
44
+//#define Y_MAX_PIN                           15  // Connected to "DJ" plug on extruder heads
45
+#define Z_MIN_PIN                             18
46
+#if ENABLED(BLTOUCH)
47
+  #define SERVO0_PIN                          19
48
+#else
49
+  #define Z_MAX_PIN                           19
50
+#endif
51
+
52
+//
53
+// Steppers
54
+//
55
+#define X_STEP_PIN                            54
56
+#define X_DIR_PIN                             55
57
+#define X_ENABLE_PIN                          38
58
+
59
+#define X2_STEP_PIN                           36
60
+#define X2_DIR_PIN                            34
61
+#define X2_ENABLE_PIN                         30
62
+
63
+#define Y_STEP_PIN                            60
64
+#define Y_DIR_PIN                             61
65
+#define Y_ENABLE_PIN                          56
66
+
67
+#define Z_STEP_PIN                            46
68
+#define Z_DIR_PIN                             48
69
+#define Z_ENABLE_PIN                          62
70
+
71
+#define Z2_STEP_PIN                           65
72
+#define Z2_DIR_PIN                            66
73
+#define Z2_ENABLE_PIN                         64
74
+
75
+#define E0_STEP_PIN                           57
76
+#define E0_DIR_PIN                            58
77
+#define E0_ENABLE_PIN                         59
78
+
79
+#define E1_STEP_PIN                           26
80
+#define E1_DIR_PIN                            28
81
+#define E1_ENABLE_PIN                         24
82
+
83
+//
84
+// Temperature Sensors
85
+//
86
+#define TEMP_0_PIN                            15  // Analog Input
87
+#define TEMP_1_PIN                            13  // Analog Input
88
+#define TEMP_BED_PIN                          14  // Analog Input
89
+
90
+//
91
+// Heaters / Fans
92
+//
93
+#define HEATER_0_PIN                          11
94
+#define HEATER_1_PIN                          10
95
+#define HEATER_BED_PIN                         8
96
+
97
+#define FAN_PIN                                9
98
+#define FAN2_PIN                               5  // Normally this would be a servo pin
99
+
100
+//#define NUM_RUNOUT_SENSORS                   0
101
+#define FIL_RUNOUT_PIN                        15
102
+//#define FIL_RUNOUT2_PIN                     21
103
+
104
+//
105
+// PSU and Powerloss Recovery
106
+//
107
+#if ENABLED(PSU_CONTROL)
108
+  #define PS_ON_PIN                           40  // The M80/M81 PSU pin for boards v2.1-2.3
109
+#endif
110
+
111
+//
112
+// Misc. Functions
113
+//
114
+//#define CASE_LIGHT_PIN                       5
115
+//#ifndef LED_PIN
116
+//  #define LED_PIN                           13
117
+//#endif
118
+
119
+#if HAS_CUTTER
120
+  //#define SPINDLE_LASER_PWM_PIN             -1  // Hardware PWM
121
+  //#define SPINDLE_LASER_ENA_PIN              4  // Pullup!
122
+#endif
123
+
124
+// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
125
+//#define FILWIDTH_PIN                         5  // Analog Input
126
+
127
+#define SDSS                                  53
128
+#define SD_DETECT_PIN                         49
129
+
130
+//
131
+// LCD / Controller
132
+//
133
+
134
+//#if IS_RRD_SC
135
+
136
+//#ifndef BEEPER_PIN
137
+//  #define BEEPER_PIN                        -1
138
+//#endif
139
+
140
+#define LCD_PINS_RS                           -1
141
+#define LCD_PINS_ENABLE                       -1
142
+#define LCD_PINS_D4                           -1
143
+#define LCD_PINS_D5                           -1
144
+#define LCD_PINS_D6                           -1
145
+#define LCD_PINS_D7                           -1
146
+
147
+//#define BTN_EN1                             31
148
+//#define BTN_EN2                             33
149
+//#define BTN_ENC                             35
150
+
151
+//#ifndef KILL_PIN
152
+//  #define KILL_PIN                          41
153
+//#endif
154
+
155
+//#endif // IS_RRD_SC

Loading…
Annulla
Salva