Browse Source

Add Copymaster3D board (#17188)

RasmusAaen 4 years ago
parent
commit
c768605bde
No account linked to committer's email address

+ 1
- 0
Marlin/Configuration.h View File

@@ -363,6 +363,7 @@
363 363
  *   331 : (3.3V scaled thermistor 1 table for MEGA)
364 364
  *   332 : (3.3V scaled thermistor 1 table for DUE)
365 365
  *     2 : 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup)
366
+ *   202 : 200k thermistor - Copymaster 3D
366 367
  *     3 : Mendel-parts thermistor (4.7k pullup)
367 368
  *     4 : 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
368 369
  *     5 : 100K thermistor - ATC Semitec 104GT-2/104NT-4-R025H42G (Used in ParCan & J-Head) (4.7k pullup)

+ 2
- 0
Marlin/Makefile View File

@@ -267,6 +267,8 @@ else ifeq ($(HARDWARE_MOTHERBOARD),1147)
267 267
 else ifeq ($(HARDWARE_MOTHERBOARD),1148)
268 268
 # MKS GEN L V2
269 269
 else ifeq ($(HARDWARE_MOTHERBOARD),1149)
270
+# Copymaster 3D
271
+else ifeq ($(HARDWARE_MOTHERBOARD),1150)
270 272
 
271 273
 #
272 274
 # RAMBo and derivatives

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

@@ -103,6 +103,7 @@
103 103
 #define BOARD_HJC2560C_REV2           1147  // ADIMLab Gantry v2
104 104
 #define BOARD_TANGO                   1148  // BIQU Tango V1
105 105
 #define BOARD_MKS_GEN_L_V2            1149  // MKS GEN L V2
106
+#define BOARD_COPYMASTER_3D           1150  // Copymaster 3D
106 107
 
107 108
 //
108 109
 // RAMBo and derivatives

+ 69
- 0
Marlin/src/module/thermistor/thermistor_202.h View File

@@ -0,0 +1,69 @@
1
+//
2
+// Unknown 200K thermistor on a Copymaster 3D hotend
3
+// Temptable sent from dealer technologyoutlet.co.uk
4
+//
5
+
6
+const short temptable_202[][2] PROGMEM = {
7
+  { OV(   1), 864 },
8
+  { OV(  35), 300 },
9
+  { OV(  38), 295 },
10
+  { OV(  41), 290 },
11
+  { OV(  44), 285 },
12
+  { OV(  47), 280 },
13
+  { OV(  51), 275 },
14
+  { OV(  55), 270 },
15
+  { OV(  60), 265 },
16
+  { OV(  65), 260 },
17
+  { OV(  70), 255 },
18
+  { OV(  76), 250 },
19
+  { OV(  83), 245 },
20
+  { OV(  90), 240 },
21
+  { OV(  98), 235 },
22
+  { OV( 107), 230 },
23
+  { OV( 116), 225 },
24
+  { OV( 127), 220 },
25
+  { OV( 138), 215 },
26
+  { OV( 151), 210 },
27
+  { OV( 164), 205 },
28
+  { OV( 179), 200 },
29
+  { OV( 195), 195 },
30
+  { OV( 213), 190 },
31
+  { OV( 232), 185 },
32
+  { OV( 253), 180 },
33
+  { OV( 275), 175 },
34
+  { OV( 299), 170 },
35
+  { OV( 325), 165 },
36
+  { OV( 352), 160 },
37
+  { OV( 381), 155 },
38
+  { OV( 411), 150 },
39
+  { OV( 443), 145 },
40
+  { OV( 476), 140 },
41
+  { OV( 511), 135 },
42
+  { OV( 546), 130 },
43
+  { OV( 581), 125 },
44
+  { OV( 617), 120 },
45
+  { OV( 652), 115 },
46
+  { OV( 687), 110 },
47
+  { OV( 720), 105 },
48
+  { OV( 753), 100 },
49
+  { OV( 783),  95 },
50
+  { OV( 812),  90 },
51
+  { OV( 839),  85 },
52
+  { OV( 864),  80 },
53
+  { OV( 886),  75 },
54
+  { OV( 906),  70 },
55
+  { OV( 924),  65 },
56
+  { OV( 940),  60 },
57
+  { OV( 954),  55 },
58
+  { OV( 966),  50 },
59
+  { OV( 976),  45 },
60
+  { OV( 985),  40 },
61
+  { OV( 992),  35 },
62
+  { OV( 998),  30 },
63
+  { OV(1003),  25 },
64
+  { OV(1007),  20 },
65
+  { OV(1011),  15 },
66
+  { OV(1014),  10 },
67
+  { OV(1016),   5 },
68
+  { OV(1018),   0 }
69
+};

+ 3
- 0
Marlin/src/module/thermistor/thermistors.h View File

@@ -151,6 +151,9 @@
151 151
 #if ANY_THERMISTOR_IS(201) // Pt100 with LMV324 Overlord
152 152
   #include "thermistor_201.h"
153 153
 #endif
154
+#if ANY_THERMISTOR_IS(202) // 200K thermistor in Copymaker3D hotend
155
+  #include "thermistor_202.h"
156
+#endif
154 157
 #if ANY_THERMISTOR_IS(331) // Like table 1, but with 3V3 as input voltage for MEGA
155 158
   #include "thermistor_331.h"
156 159
 #endif

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

@@ -188,6 +188,8 @@
188 188
   #include "ramps/pins_TANGO.h"                 // ATmega2560                             env:mega2560
189 189
 #elif MB(MKS_GEN_L_V2)
190 190
   #include "ramps/pins_MKS_GEN_L_V2.h"          // ATmega2560                             env:mega2560
191
+#elif MB(COPYMASTER_3D)
192
+  #include "ramps/pins_COPYMASTER_3D.h"         // ATmega2560                             env:mega2560
191 193
 
192 194
 //
193 195
 // RAMBo and derivatives

+ 33
- 0
Marlin/src/pins/ramps/pins_COPYMASTER_3D.h View File

@@ -0,0 +1,33 @@
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
+#define BOARD_INFO_NAME "Copymaster 3D RAMPS"
25
+
26
+#define Z_STEP_PIN        47
27
+#define FIL_RUNOUT_PIN    15
28
+#define SD_DETECT_PIN     66
29
+
30
+//
31
+// Import RAMPS 1.4 pins
32
+//
33
+#include "pins_RAMPS.h"

+ 3
- 1
Marlin/src/pins/ramps/pins_RAMPS.h View File

@@ -133,7 +133,9 @@
133 133
   #define Y_CS_PIN         49
134 134
 #endif
135 135
 
136
-#define Z_STEP_PIN         46
136
+#ifndef Z_STEP_PIN
137
+  #define Z_STEP_PIN       46
138
+#endif
137 139
 #define Z_DIR_PIN          48
138 140
 #define Z_ENABLE_PIN       62
139 141
 #ifndef Z_CS_PIN

Loading…
Cancel
Save