Sfoglia il codice sorgente

Tenlog D3 Hero 7-axis board (#18263)

cbaugher 4 anni fa
parent
commit
92435ef5ea
Nessun account collegato all'indirizzo email del committer

+ 54
- 49
Marlin/Makefile Vedi File

@@ -170,105 +170,110 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1100)
170 170
 else ifeq ($(HARDWARE_MOTHERBOARD),1101)
171 171
 # Velleman K8400 Controller (derived from 3Drag Controller)
172 172
 else ifeq ($(HARDWARE_MOTHERBOARD),1102)
173
-# 2PrintBeta BAM&DICE with STK drivers
173
+# Velleman K8600 Controller (derived from 3Drag Controller)
174 174
 else ifeq ($(HARDWARE_MOTHERBOARD),1103)
175
-# 2PrintBeta BAM&DICE Due with STK drivers
175
+# 2PrintBeta BAM&DICE with STK drivers
176 176
 else ifeq ($(HARDWARE_MOTHERBOARD),1104)
177
-# MKS BASE v1.0
177
+# 2PrintBeta BAM&DICE Due with STK drivers
178 178
 else ifeq ($(HARDWARE_MOTHERBOARD),1105)
179
-# MKS v1.4 with A4982 stepper drivers
179
+# MKS BASE v1.0
180 180
 else ifeq ($(HARDWARE_MOTHERBOARD),1106)
181
-# MKS v1.5 with Allegro A4982 stepper drivers
181
+# MKS v1.4 with A4982 stepper drivers
182 182
 else ifeq ($(HARDWARE_MOTHERBOARD),1107)
183
-# MKS v1.6 with Allegro A4982 stepper drivers
183
+# MKS v1.5 with Allegro A4982 stepper drivers
184 184
 else ifeq ($(HARDWARE_MOTHERBOARD),1108)
185
-
186
-# MKS BASE 1.0 with Heroic HR4982 stepper drivers
185
+# MKS v1.6 with Allegro A4982 stepper drivers
187 186
 else ifeq ($(HARDWARE_MOTHERBOARD),1109)
188
-# MKS GEN v1.3 or 1.4
187
+# MKS BASE 1.0 with Heroic HR4982 stepper drivers
189 188
 else ifeq ($(HARDWARE_MOTHERBOARD),1110)
190
-# MKS GEN L
189
+# MKS GEN v1.3 or 1.4
191 190
 else ifeq ($(HARDWARE_MOTHERBOARD),1111)
192
-# zrib V2.0 control board (Chinese knock off RAMPS replica)
191
+# MKS GEN L
193 192
 else ifeq ($(HARDWARE_MOTHERBOARD),1112)
194
-# BigTreeTech or BIQU KFB2.0
193
+# zrib V2.0 control board (Chinese knock off RAMPS replica)
195 194
 else ifeq ($(HARDWARE_MOTHERBOARD),1113)
196
-# Felix 2.0+ Electronics Board (RAMPS like)
195
+# BigTreeTech or BIQU KFB2.0
197 196
 else ifeq ($(HARDWARE_MOTHERBOARD),1114)
198
-# Invent-A-Part RigidBoard
197
+# Felix 2.0+ Electronics Board (RAMPS like)
199 198
 else ifeq ($(HARDWARE_MOTHERBOARD),1115)
200
-# Invent-A-Part RigidBoard V2
199
+# Invent-A-Part RigidBoard
201 200
 else ifeq ($(HARDWARE_MOTHERBOARD),1116)
202
-# Sainsmart 2-in-1 board
201
+# Invent-A-Part RigidBoard V2
203 202
 else ifeq ($(HARDWARE_MOTHERBOARD),1117)
204
-# Ultimaker
203
+# Sainsmart 2-in-1 board
205 204
 else ifeq ($(HARDWARE_MOTHERBOARD),1118)
206
-# Ultimaker (Older electronics. Pre 1.5.4. This is rare)
205
+# Ultimaker
207 206
 else ifeq ($(HARDWARE_MOTHERBOARD),1119)
207
+# Ultimaker (Older electronics. Pre 1.5.4. This is rare)
208
+else ifeq ($(HARDWARE_MOTHERBOARD),1120)
208 209
   MCU ?= atmega1280
209 210
 
210 211
 # Azteeg X3
211
-else ifeq ($(HARDWARE_MOTHERBOARD),1120)
212
-# Azteeg X3 Pro
213 212
 else ifeq ($(HARDWARE_MOTHERBOARD),1121)
214
-# Ultimainboard 2.x (Uses TEMP_SENSOR 20)
213
+# Azteeg X3 Pro
215 214
 else ifeq ($(HARDWARE_MOTHERBOARD),1122)
216
-# Rumba
215
+# Ultimainboard 2.x (Uses TEMP_SENSOR 20)
217 216
 else ifeq ($(HARDWARE_MOTHERBOARD),1123)
218
-# Raise3D Rumba
217
+# Rumba
219 218
 else ifeq ($(HARDWARE_MOTHERBOARD),1124)
220
-# Rapide Lite RL200 Rumba
219
+# Raise3D Rumba
221 220
 else ifeq ($(HARDWARE_MOTHERBOARD),1125)
222
-# Formbot T-Rex 2 Plus
221
+# Rapide Lite RL200 Rumba
223 222
 else ifeq ($(HARDWARE_MOTHERBOARD),1126)
224
-# Formbot T-Rex 3
223
+# Formbot T-Rex 2 Plus
225 224
 else ifeq ($(HARDWARE_MOTHERBOARD),1127)
226
-# Formbot Raptor
225
+# Formbot T-Rex 3
227 226
 else ifeq ($(HARDWARE_MOTHERBOARD),1128)
228
-# Formbot Raptor 2
227
+# Formbot Raptor
229 228
 else ifeq ($(HARDWARE_MOTHERBOARD),1129)
230
-# bq ZUM Mega 3D
229
+# Formbot Raptor 2
231 230
 else ifeq ($(HARDWARE_MOTHERBOARD),1130)
232
-# MakeBoard Mini v2.1.2 is a control board sold by MicroMake
231
+# bq ZUM Mega 3D
233 232
 else ifeq ($(HARDWARE_MOTHERBOARD),1131)
234
-# TriGorilla Anycubic version 1.3 based on RAMPS EFB
233
+# MakeBoard Mini v2.1.2 is a control board sold by MicroMake
235 234
 else ifeq ($(HARDWARE_MOTHERBOARD),1132)
236
-# TriGorilla Anycubic version 1.4 based on RAMPS EFB
235
+# TriGorilla Anycubic version 1.3 based on RAMPS EFB
237 236
 else ifeq ($(HARDWARE_MOTHERBOARD),1133)
238
-# TriGorilla Anycubic version 1.4 Rev 1.1
237
+# TriGorilla Anycubic version 1.4 based on RAMPS EFB
239 238
 else ifeq ($(HARDWARE_MOTHERBOARD),1134)
240
-# Creality: Ender-4, CR-8
239
+# TriGorilla Anycubic version 1.4 Rev 1.1
241 240
 else ifeq ($(HARDWARE_MOTHERBOARD),1135)
242
-# Creality: CR10S, CR20, CR-X
241
+# Creality: Ender-4, CR-8
243 242
 else ifeq ($(HARDWARE_MOTHERBOARD),1136)
244
-# Dagoma F5
243
+# Creality: CR10S, CR20, CR-X
245 244
 else ifeq ($(HARDWARE_MOTHERBOARD),1137)
246
-# FYSETC F6 1.3
245
+# Dagoma F5
247 246
 else ifeq ($(HARDWARE_MOTHERBOARD),1138)
248
-# FYSETC F6 1.5
247
+# FYSETC F6 1.3
249 248
 else ifeq ($(HARDWARE_MOTHERBOARD),1139)
250
-# Duplicator i3 Plus
249
+# FYSETC F6 1.5
251 250
 else ifeq ($(HARDWARE_MOTHERBOARD),1140)
252
-# VORON
251
+# Duplicator i3 Plus
253 252
 else ifeq ($(HARDWARE_MOTHERBOARD),1141)
254
-# TRONXY V3 1.0
253
+# VORON
255 254
 else ifeq ($(HARDWARE_MOTHERBOARD),1142)
256
-# Z-Bolt X Series
255
+# TRONXY V3 1.0
257 256
 else ifeq ($(HARDWARE_MOTHERBOARD),1143)
258
-# TT OSCAR
257
+# Z-Bolt X Series
259 258
 else ifeq ($(HARDWARE_MOTHERBOARD),1144)
260
-# Overlord/Overlord Pro
259
+# TT OSCAR
261 260
 else ifeq ($(HARDWARE_MOTHERBOARD),1145)
262
-# ADIMLab Gantry v1
261
+# Overlord/Overlord Pro
263 262
 else ifeq ($(HARDWARE_MOTHERBOARD),1146)
264
-# ADIMLab Gantry v2
263
+# ADIMLab Gantry v1
265 264
 else ifeq ($(HARDWARE_MOTHERBOARD),1147)
266
-# BIQU Tango V1
265
+# ADIMLab Gantry v2
267 266
 else ifeq ($(HARDWARE_MOTHERBOARD),1148)
268
-# MKS GEN L V2
267
+# BIQU Tango V1
269 268
 else ifeq ($(HARDWARE_MOTHERBOARD),1149)
270
-# Copymaster 3D
269
+# MKS GEN L V2
271 270
 else ifeq ($(HARDWARE_MOTHERBOARD),1150)
271
+# Copymaster 3D
272
+else ifeq ($(HARDWARE_MOTHERBOARD),1151)
273
+# Ortur 4
274
+else ifeq ($(HARDWARE_MOTHERBOARD),1152)
275
+# Tenlog D3 Hero
276
+else ifeq ($(HARDWARE_MOTHERBOARD),1153)
272 277
 
273 278
 #
274 279
 # RAMBo and derivatives

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

@@ -106,6 +106,7 @@
106 106
 #define BOARD_MKS_GEN_L_V2            1150  // MKS GEN L V2
107 107
 #define BOARD_COPYMASTER_3D           1151  // Copymaster 3D
108 108
 #define BOARD_ORTUR_4                 1152  // Ortur 4
109
+#define BOARD_TENLOG_D3_HERO          1153  // Tenlog D3 Hero IDEX printer
109 110
 
110 111
 //
111 112
 // RAMBo and derivatives

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

@@ -194,6 +194,8 @@
194 194
   #include "ramps/pins_COPYMASTER_3D.h"         // ATmega2560                             env:mega2560
195 195
 #elif MB(ORTUR_4)
196 196
   #include "ramps/pins_ORTUR_4.h"               // ATmega2560                             env:mega2560
197
+#elif MB(TENLOG_D3_HERO)
198
+  #include "ramps/pins_TENLOG_D3_HERO.h"        // ATmega2560                             env:mega2560
197 199
 
198 200
 //
199 201
 // RAMBo and derivatives

+ 185
- 0
Marlin/src/pins/ramps/pins_TENLOG_D3_HERO.h Vedi File

@@ -0,0 +1,185 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (c) 2020 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
+#pragma once
23
+
24
+/**
25
+ * Tenlog pin assignments
26
+ */
27
+
28
+#ifndef __AVR_ATmega2560__
29
+  #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
30
+#elif HOTENDS > 2 || E_STEPPERS > 2
31
+  #error "Tenlog supports up to 2 hotends / E-steppers. Comment out this line to continue."
32
+#endif
33
+
34
+#define BOARD_INFO_NAME      "Tenlog D3 Hero"
35
+#define DEFAULT_MACHINE_NAME BOARD_INFO_NAME
36
+
37
+//
38
+// Servos
39
+//
40
+#define SERVO0_PIN                            11
41
+#define SERVO1_PIN                             6
42
+#define SERVO2_PIN                            -1  // Original pin 5 used for hotend fans
43
+#define SERVO3_PIN                             4
44
+
45
+//
46
+// Limit Switches
47
+//
48
+#define X_MIN_PIN                              3
49
+#define X_MAX_PIN                              2
50
+#define Y_MIN_PIN                             14
51
+//#define Y_MAX_PIN                           15  // Connected to "DJ" plug on extruder heads
52
+#define Z_MIN_PIN                             18
53
+#define Z_MAX_PIN                             19
54
+
55
+//
56
+// Z Probe (when not Z_MIN_PIN)
57
+//
58
+#ifndef Z_MIN_PROBE_PIN
59
+  #define Z_MIN_PROBE_PIN                     15  // Ramps is normally 32
60
+#endif
61
+
62
+//
63
+// Steppers
64
+//
65
+#define X_STEP_PIN                            54
66
+#define X_DIR_PIN                             55
67
+#define X_ENABLE_PIN                          38
68
+//#ifndef X_CS_PIN
69
+  //#define X_CS_PIN                          53
70
+//#endif
71
+
72
+#define X2_STEP_PIN                           36
73
+#define X2_DIR_PIN                            34
74
+#define X2_ENABLE_PIN                         30
75
+//#ifndef X2_CS_PIN
76
+  //#define X2_CS_PIN                         53
77
+//#endif
78
+
79
+#define Y_STEP_PIN                            60
80
+#define Y_DIR_PIN                             61
81
+#define Y_ENABLE_PIN                          56
82
+//#ifndef Y_CS_PIN
83
+ //#define Y_CS_PIN                           49
84
+//#endif
85
+
86
+#define Z_STEP_PIN                            46
87
+#define Z_DIR_PIN                             48
88
+#define Z_ENABLE_PIN                          62
89
+//#ifndef Z_CS_PIN
90
+ //#define Z_CS_PIN                           40
91
+//#endif
92
+
93
+#define Z2_STEP_PIN                           65
94
+#define Z2_DIR_PIN                            66
95
+#define Z2_ENABLE_PIN                         64
96
+//#ifndef Z2_CS_PIN
97
+ //#define Z2_CS_PIN                          40
98
+//#endif
99
+
100
+#define E0_STEP_PIN                           26
101
+#define E0_DIR_PIN                            28
102
+#define E0_ENABLE_PIN                         24
103
+//#ifndef E0_CS_PIN
104
+  //define E0_CS_PIN                          42
105
+//#endif
106
+
107
+#define E1_STEP_PIN                           57
108
+#define E1_DIR_PIN                            58
109
+#define E1_ENABLE_PIN                         59
110
+//#ifndef E1_CS_PIN
111
+  //define E1_CS_PIN                          44
112
+//#endif
113
+
114
+//#define E2_STEP_PIN                         42
115
+//#define E2_DIR_PIN                          43
116
+//#define E2_ENABLE_PIN                       44
117
+
118
+//
119
+// Temperature Sensors
120
+//
121
+#define TEMP_0_PIN                            13  // Analog Input
122
+#define TEMP_1_PIN                            15  // Analog Input
123
+#define TEMP_BED_PIN                          14  // Analog Input
124
+
125
+// SPI for Max6675 or Max31855 Thermocouple
126
+#if DISABLED(SDSUPPORT)
127
+  #define MAX6675_SS_PIN                      -1  // Don't use 53 if using Display/SD card
128
+#else
129
+  #define MAX6675_SS_PIN                      -1  // Don't use 49 (SD_DETECT_PIN)
130
+#endif
131
+
132
+//
133
+// Heaters / Fans
134
+//
135
+#define HEATER_0_PIN                          10
136
+#define HEATER_1_PIN                          11
137
+#define HEATER_BED_PIN                         8
138
+
139
+#define FAN_PIN                                9
140
+#define FAN1_PIN                               5  // Normall this would be a servo pin
141
+
142
+// XXX Runout support unknown?
143
+//#define NUM_RUNOUT_SENSORS                   0
144
+//#define FIL_RUNOUT_PIN                      22
145
+//#define FIL_RUNOUT2_PIN                     21
146
+
147
+//
148
+// Misc. Functions
149
+//
150
+//#define CASE_LIGHT_PIN                       5
151
+#define SDSS                                  53
152
+//#ifndef LED_PIN
153
+  //#define LED_PIN                           13
154
+//#endif
155
+
156
+//#define SPINDLE_LASER_PWM_PIN               -1  // Hardware PWM
157
+//#define SPINDLE_LASER_ENA_PIN                4  // Pullup!
158
+
159
+// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
160
+//#define FILWIDTH_PIN                         5  // Analog Input
161
+
162
+//
163
+// LCD / Controller
164
+//
165
+
166
+//#if ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
167
+
168
+#define LCD_PINS_RS                           -1
169
+#define LCD_PINS_ENABLE                       -1
170
+#define LCD_PINS_D4                           -1
171
+#define LCD_PINS_D5                           -1
172
+#define LCD_PINS_D6                           -1
173
+#define LCD_PINS_D7                           -1
174
+//#define BTN_EN1                             31
175
+//#define BTN_EN2                             33
176
+//#define BTN_ENC                             35
177
+#define SD_DETECT_PIN                         49
178
+//#ifndef KILL_PIN
179
+  //#define KILL_PIN                          41
180
+//#endif
181
+//#ifndef BEEPER_PIN
182
+#define BEEPER_PIN                            -1
183
+//#endif
184
+
185
+//#endif // REPRAP_DISCOUNT_SMART_CONTROLLER

Loading…
Annulla
Salva