ソースを参照

Vertex nano with board K8600 (#17736)

Mika Norén 4年前
コミット
76a65ffe74
コミッターのメールアドレスに関連付けられたアカウントが存在しません
3個のファイルの変更179行の追加49行の削除
  1. 50
    49
      Marlin/src/core/boards.h
  2. 2
    0
      Marlin/src/pins/pins.h
  3. 127
    0
      Marlin/src/pins/ramps/pins_K8600.h

+ 50
- 49
Marlin/src/core/boards.h ファイルの表示

@@ -56,55 +56,56 @@
56 56
 #define BOARD_3DRAG                   1100  // 3Drag Controller
57 57
 #define BOARD_K8200                   1101  // Velleman K8200 Controller (derived from 3Drag Controller)
58 58
 #define BOARD_K8400                   1102  // Velleman K8400 Controller (derived from 3Drag Controller)
59
-#define BOARD_BAM_DICE                1103  // 2PrintBeta BAM&DICE with STK drivers
60
-#define BOARD_BAM_DICE_DUE            1104  // 2PrintBeta BAM&DICE Due with STK drivers
61
-#define BOARD_MKS_BASE                1105  // MKS BASE v1.0
62
-#define BOARD_MKS_BASE_14             1106  // MKS BASE v1.4 with Allegro A4982 stepper drivers
63
-#define BOARD_MKS_BASE_15             1107  // MKS BASE v1.5 with Allegro A4982 stepper drivers
64
-#define BOARD_MKS_BASE_16             1108  // MKS BASE v1.6 with Allegro A4982 stepper drivers
65
-#define BOARD_MKS_BASE_HEROIC         1109  // MKS BASE 1.0 with Heroic HR4982 stepper drivers
66
-#define BOARD_MKS_GEN_13              1110  // MKS GEN v1.3 or 1.4
67
-#define BOARD_MKS_GEN_L               1111  // MKS GEN L
68
-#define BOARD_KFB_2                   1112  // BigTreeTech or BIQU KFB2.0
69
-#define BOARD_ZRIB_V20                1113  // zrib V2.0 control board (Chinese knock off RAMPS replica)
70
-#define BOARD_FELIX2                  1114  // Felix 2.0+ Electronics Board (RAMPS like)
71
-#define BOARD_RIGIDBOARD              1115  // Invent-A-Part RigidBoard
72
-#define BOARD_RIGIDBOARD_V2           1116  // Invent-A-Part RigidBoard V2
73
-#define BOARD_SAINSMART_2IN1          1117  // Sainsmart 2-in-1 board
74
-#define BOARD_ULTIMAKER               1118  // Ultimaker
75
-#define BOARD_ULTIMAKER_OLD           1119  // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
76
-#define BOARD_AZTEEG_X3               1120  // Azteeg X3
77
-#define BOARD_AZTEEG_X3_PRO           1121  // Azteeg X3 Pro
78
-#define BOARD_ULTIMAIN_2              1122  // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
79
-#define BOARD_RUMBA                   1123  // Rumba
80
-#define BOARD_RUMBA_RAISE3D           1124  // Raise3D N series Rumba derivative
81
-#define BOARD_RL200                   1125  // Rapide Lite 200 (v1, low-cost RUMBA clone with drv)
82
-#define BOARD_FORMBOT_TREX2PLUS       1126  // Formbot T-Rex 2 Plus
83
-#define BOARD_FORMBOT_TREX3           1127  // Formbot T-Rex 3
84
-#define BOARD_FORMBOT_RAPTOR          1128  // Formbot Raptor
85
-#define BOARD_FORMBOT_RAPTOR2         1129  // Formbot Raptor 2
86
-#define BOARD_BQ_ZUM_MEGA_3D          1130  // bq ZUM Mega 3D
87
-#define BOARD_MAKEBOARD_MINI          1131  // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
88
-#define BOARD_TRIGORILLA_13           1132  // TriGorilla Anycubic version 1.3-based on RAMPS EFB
89
-#define BOARD_TRIGORILLA_14           1133  //   ... Ver 1.4
90
-#define BOARD_TRIGORILLA_14_11        1134  //   ... Rev 1.1 (new servo pin order)
91
-#define BOARD_RAMPS_ENDER_4           1135  // Creality: Ender-4, CR-8
92
-#define BOARD_RAMPS_CREALITY          1136  // Creality: CR10S, CR20, CR-X
93
-#define BOARD_RAMPS_DAGOMA            1137  // Dagoma F5
94
-#define BOARD_FYSETC_F6_13            1138  // FYSETC F6 1.3
95
-#define BOARD_FYSETC_F6_14            1139  // FYSETC F6 1.4
96
-#define BOARD_DUPLICATOR_I3_PLUS      1140  // Wanhao Duplicator i3 Plus
97
-#define BOARD_VORON                   1141  // VORON Design
98
-#define BOARD_TRONXY_V3_1_0           1142  // Tronxy TRONXY-V3-1.0
99
-#define BOARD_Z_BOLT_X_SERIES         1143  // Z-Bolt X Series
100
-#define BOARD_TT_OSCAR                1144  // TT OSCAR
101
-#define BOARD_OVERLORD                1145  // Overlord/Overlord Pro
102
-#define BOARD_HJC2560C_REV1           1146  // ADIMLab Gantry v1
103
-#define BOARD_HJC2560C_REV2           1147  // ADIMLab Gantry v2
104
-#define BOARD_TANGO                   1148  // BIQU Tango V1
105
-#define BOARD_MKS_GEN_L_V2            1149  // MKS GEN L V2
106
-#define BOARD_COPYMASTER_3D           1150  // Copymaster 3D
107
-#define BOARD_ORTUR_4                 1151  // Ortur 4
59
+#define BOARD_K8600                   1103  // Velleman K8600 Controller (Vertex Nano)
60
+#define BOARD_BAM_DICE                1104  // 2PrintBeta BAM&DICE with STK drivers
61
+#define BOARD_BAM_DICE_DUE            1105  // 2PrintBeta BAM&DICE Due with STK drivers
62
+#define BOARD_MKS_BASE                1106  // MKS BASE v1.0
63
+#define BOARD_MKS_BASE_14             1107  // MKS BASE v1.4 with Allegro A4982 stepper drivers
64
+#define BOARD_MKS_BASE_15             1108  // MKS BASE v1.5 with Allegro A4982 stepper drivers
65
+#define BOARD_MKS_BASE_16             1109  // MKS BASE v1.6 with Allegro A4982 stepper drivers
66
+#define BOARD_MKS_BASE_HEROIC         1110  // MKS BASE 1.0 with Heroic HR4982 stepper drivers
67
+#define BOARD_MKS_GEN_13              1111  // MKS GEN v1.3 or 1.4
68
+#define BOARD_MKS_GEN_L               1112  // MKS GEN L
69
+#define BOARD_KFB_2                   1113  // BigTreeTech or BIQU KFB2.0
70
+#define BOARD_ZRIB_V20                1114  // zrib V2.0 control board (Chinese knock off RAMPS replica)
71
+#define BOARD_FELIX2                  1115  // Felix 2.0+ Electronics Board (RAMPS like)
72
+#define BOARD_RIGIDBOARD              1116  // Invent-A-Part RigidBoard
73
+#define BOARD_RIGIDBOARD_V2           1117  // Invent-A-Part RigidBoard V2
74
+#define BOARD_SAINSMART_2IN1          1118  // Sainsmart 2-in-1 board
75
+#define BOARD_ULTIMAKER               1119  // Ultimaker
76
+#define BOARD_ULTIMAKER_OLD           1120  // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
77
+#define BOARD_AZTEEG_X3               1121  // Azteeg X3
78
+#define BOARD_AZTEEG_X3_PRO           1122  // Azteeg X3 Pro
79
+#define BOARD_ULTIMAIN_2              1123  // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
80
+#define BOARD_RUMBA                   1124  // Rumba
81
+#define BOARD_RUMBA_RAISE3D           1125  // Raise3D N series Rumba derivative
82
+#define BOARD_RL200                   1126  // Rapide Lite 200 (v1, low-cost RUMBA clone with drv)
83
+#define BOARD_FORMBOT_TREX2PLUS       1127  // Formbot T-Rex 2 Plus
84
+#define BOARD_FORMBOT_TREX3           1128  // Formbot T-Rex 3
85
+#define BOARD_FORMBOT_RAPTOR          1129  // Formbot Raptor
86
+#define BOARD_FORMBOT_RAPTOR2         1130  // Formbot Raptor 2
87
+#define BOARD_BQ_ZUM_MEGA_3D          1131  // bq ZUM Mega 3D
88
+#define BOARD_MAKEBOARD_MINI          1132  // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
89
+#define BOARD_TRIGORILLA_13           1133  // TriGorilla Anycubic version 1.3-based on RAMPS EFB
90
+#define BOARD_TRIGORILLA_14           1134  //   ... Ver 1.4
91
+#define BOARD_TRIGORILLA_14_11        1135  //   ... Rev 1.1 (new servo pin order)
92
+#define BOARD_RAMPS_ENDER_4           1136  // Creality: Ender-4, CR-8
93
+#define BOARD_RAMPS_CREALITY          1137  // Creality: CR10S, CR20, CR-X
94
+#define BOARD_RAMPS_DAGOMA            1138  // Dagoma F5
95
+#define BOARD_FYSETC_F6_13            1139  // FYSETC F6 1.3
96
+#define BOARD_FYSETC_F6_14            1140  // FYSETC F6 1.4
97
+#define BOARD_DUPLICATOR_I3_PLUS      1141  // Wanhao Duplicator i3 Plus
98
+#define BOARD_VORON                   1142  // VORON Design
99
+#define BOARD_TRONXY_V3_1_0           1143  // Tronxy TRONXY-V3-1.0
100
+#define BOARD_Z_BOLT_X_SERIES         1144  // Z-Bolt X Series
101
+#define BOARD_TT_OSCAR                1145  // TT OSCAR
102
+#define BOARD_OVERLORD                1146  // Overlord/Overlord Pro
103
+#define BOARD_HJC2560C_REV1           1147  // ADIMLab Gantry v1
104
+#define BOARD_HJC2560C_REV2           1148  // ADIMLab Gantry v2
105
+#define BOARD_TANGO                   1149  // BIQU Tango V1
106
+#define BOARD_MKS_GEN_L_V2            1150  // MKS GEN L V2
107
+#define BOARD_COPYMASTER_3D           1151  // Copymaster 3D
108
+#define BOARD_ORTUR_4                 1152  // Ortur 4
108 109
 
109 110
 //
110 111
 // RAMBo and derivatives

+ 2
- 0
Marlin/src/pins/pins.h ファイルの表示

@@ -98,6 +98,8 @@
98 98
   #include "ramps/pins_K8200.h"                 // ATmega1280, ATmega2560                 env:mega1280 env:mega2560 (3DRAG)
99 99
 #elif MB(K8400)
100 100
   #include "ramps/pins_K8400.h"                 // ATmega1280, ATmega2560                 env:mega1280 env:mega2560 (3DRAG)
101
+#elif MB(K8600)
102
+  #include "ramps/pins_K8600.h"                 // ATmega1280, ATmega2560                 env:mega1280 env:mega2560
101 103
 #elif MB(K8800)
102 104
   #include "ramps/pins_K8800.h"                 // ATmega1280, ATmega2560                 env:mega1280 env:mega2560 (3DRAG)
103 105
 #elif MB(BAM_DICE)

+ 127
- 0
Marlin/src/pins/ramps/pins_K8600.h ファイルの表示

@@ -0,0 +1,127 @@
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
+ * VERTEX NANO Arduino Mega with RAMPS EFB v1.4 pin assignments.
25
+ */
26
+
27
+#if HOTENDS > 1
28
+  #error "Only 1 hotend is supported for Vertex Nano."
29
+#endif
30
+
31
+#define BOARD_INFO_NAME      "K8600"
32
+#define DEFAULT_MACHINE_NAME "Vertex Nano"
33
+
34
+//
35
+// Limit Switches
36
+//
37
+#define X_MIN_PIN                              3
38
+#define Y_MAX_PIN                             14
39
+#define Z_MAX_PIN                             18
40
+#define Z_MIN_PIN                             -1
41
+
42
+//
43
+// Heaters / Fans
44
+//
45
+#define FAN_PIN                                8
46
+
47
+//
48
+// Misc. Functions
49
+//
50
+#define CASE_LIGHT_PIN                         7
51
+
52
+//
53
+// Other RAMPS pins
54
+//
55
+#define IS_RAMPS_EFB                              // Override autodetection. Bed will be undefined.
56
+#include "pins_RAMPS.h"
57
+
58
+//
59
+// Steppers
60
+//
61
+#undef X_STEP_PIN
62
+#undef X_DIR_PIN
63
+#undef X_ENABLE_PIN
64
+#define X_STEP_PIN                            54
65
+#define X_DIR_PIN                             55
66
+#define X_ENABLE_PIN                          38
67
+
68
+#undef Y_STEP_PIN
69
+#undef Y_DIR_PIN
70
+#undef Y_ENABLE_PIN
71
+#define Y_STEP_PIN                            60
72
+#define Y_DIR_PIN                             61
73
+#define Y_ENABLE_PIN                          56
74
+
75
+#undef Z_ENABLE_PIN
76
+#define Z_ENABLE_PIN                          63
77
+
78
+#undef E0_STEP_PIN
79
+#undef E0_DIR_PIN
80
+#undef E0_ENABLE_PIN
81
+#define E0_STEP_PIN                           26
82
+#define E0_DIR_PIN                            28
83
+#define E0_ENABLE_PIN                         24
84
+
85
+//
86
+// Heaters / Fans
87
+//
88
+#undef HEATER_BED_PIN
89
+
90
+//
91
+// Misc. Functions
92
+//
93
+#undef SDSS
94
+#define SDSS                                  25  // 53
95
+
96
+//
97
+// LCD / Controller
98
+//
99
+#if BOTH(ULTRA_LCD, NEWPANEL)
100
+  #undef BEEPER_PIN
101
+
102
+  #undef LCD_PINS_RS
103
+  #undef LCD_PINS_ENABLE
104
+  #undef LCD_PINS_D4
105
+  #undef LCD_PINS_D5
106
+  #undef LCD_PINS_D6
107
+  #undef LCD_PINS_D7
108
+  #define LCD_PINS_RS                         27
109
+  #define LCD_PINS_ENABLE                     29
110
+  #define LCD_PINS_D4                         37
111
+  #define LCD_PINS_D5                         35
112
+  #define LCD_PINS_D6                         33
113
+  #define LCD_PINS_D7                         31
114
+
115
+  // Buttons
116
+  #undef BTN_EN1
117
+  #undef BTN_EN2
118
+  #undef BTN_ENC
119
+  #define BTN_EN1                             17
120
+  #define BTN_EN2                             16
121
+  #define BTN_ENC                             23
122
+
123
+#else
124
+
125
+  #define BEEPER_PIN                          33
126
+
127
+#endif

読み込み中…
キャンセル
保存