瀏覽代碼

Cheaptronic V2

Add support for new electronics
www.reprapobchod.cz
MD 7 年之前
父節點
當前提交
20dd5376b8
共有 3 個檔案被更改,包括 122 行新增0 行删除
  1. 1
    0
      Marlin/boards.h
  2. 2
    0
      Marlin/pins.h
  3. 119
    0
      Marlin/pins_CHEAPTRONICv2.h

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

@@ -32,6 +32,7 @@
32 32
 #define BOARD_CNCONTROLS_11     111  // Cartesio CN Controls V11
33 33
 #define BOARD_CNCONTROLS_12     112  // Cartesio CN Controls V12
34 34
 #define BOARD_CHEAPTRONIC       2    // Cheaptronic v1.0
35
+#define BOARD_CHEAPTRONIC_V2    21   // Cheaptronic v2.0
35 36
 #define BOARD_SETHI             20   // Sethi 3D_1
36 37
 #define BOARD_MIGHTYBOARD_REVE  200  // Makerbot Mightyboard Revision E
37 38
 #define BOARD_RAMPS_OLD         3    // MEGA/RAMPS up to 1.2

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

@@ -37,6 +37,8 @@
37 37
   #include "pins_CNCONTROLS_12.h"
38 38
 #elif MB(CHEAPTRONIC)
39 39
   #include "pins_CHEAPTRONIC.h"
40
+#elif MB(CHEAPTRONIC_V2)
41
+  #include "pins_CHEAPTRONICv2.h"
40 42
 #elif MB(SETHI)
41 43
   #include "pins_SETHI.h"
42 44
 #elif MB(MIGHTYBOARD_REVE)

+ 119
- 0
Marlin/pins_CHEAPTRONICv2.h 查看文件

@@ -0,0 +1,119 @@
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
+ * Cheaptronic v2.0 pin assignments
25
+ * Built and sold by Michal Dyntar - RRO
26
+ *          www.reprapobchod.cz
27
+ */
28
+
29
+#ifndef __AVR_ATmega2560__
30
+  #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
31
+#endif
32
+
33
+#define BOARD_NAME         "Cheaptronic v2.0"
34
+#define LARGE_FLASH        true
35
+
36
+//
37
+// Limit Switches
38
+//
39
+#define X_MIN_PIN          30
40
+#define X_MAX_PIN          31
41
+#define Y_MIN_PIN          32
42
+#define Y_MAX_PIN          33
43
+#define Z_MIN_PIN          34
44
+#define Z_MAX_PIN          35
45
+
46
+//
47
+// Steppers
48
+//
49
+#define X_STEP_PIN         17
50
+#define X_DIR_PIN          16
51
+#define X_ENABLE_PIN       48
52
+
53
+#define Y_STEP_PIN         54
54
+#define Y_DIR_PIN          47
55
+#define Y_ENABLE_PIN       55
56
+
57
+#define Z_STEP_PIN         57
58
+#define Z_DIR_PIN          56
59
+#define Z_ENABLE_PIN       62
60
+
61
+#define E0_STEP_PIN        23
62
+#define E0_DIR_PIN         22
63
+#define E0_ENABLE_PIN      24
64
+
65
+#define E1_STEP_PIN        26
66
+#define E1_DIR_PIN         25
67
+#define E1_ENABLE_PIN      27
68
+
69
+#define E2_STEP_PIN        29
70
+#define E2_DIR_PIN         28
71
+#define E2_ENABLE_PIN      39
72
+
73
+//
74
+// Temperature sensors
75
+//
76
+#define TEMP_0_PIN         15
77
+#define TEMP_1_PIN         13
78
+#define TEMP_2_PIN         14
79
+#define TEMP_3_PIN         11
80
+#define TEMP_BED_PIN       12
81
+
82
+//
83
+// Heaters / Fans
84
+//
85
+#define HEATER_0_PIN       6
86
+#define HEATER_1_PIN       7
87
+#define HEATER_2_PIN       8
88
+#define HEATER_BED_PIN     9
89
+
90
+//
91
+// LCD
92
+//
93
+#define LCD_PINS_RS        19
94
+#define LCD_PINS_ENABLE    42
95
+#define LCD_PINS_D4        18
96
+#define LCD_PINS_D5        38
97
+#define LCD_PINS_D6        41
98
+#define LCD_PINS_D7        40
99
+
100
+//
101
+// SD CARD, ROTARY ENCODER, BEEPER
102
+//
103
+#define SDPOWER            -1
104
+#define SDSS               53
105
+#define SD_DETECT_PIN      49
106
+#define BEEPER_PIN         44
107
+#define BTN_EN1            11
108
+#define BTN_EN2            12
109
+#define BTN_ENC            43
110
+
111
+//
112
+// Other board specific pins
113
+//
114
+#define FILWIDTH_PIN       37
115
+#define LED_PIN            13
116
+#define SPINDLE_ENABLE_PIN  4
117
+#define FAN_PIN             3
118
+#define PS_ON_PIN          45
119
+#define KILL_PIN           46

Loading…
取消
儲存