Browse Source

Velleman Vertex Delta pins (#13072)

Psycho 6 years ago
parent
commit
3c88cac2e9
2 changed files with 110 additions and 0 deletions
  1. 2
    0
      Marlin/src/pins/pins.h
  2. 108
    0
      Marlin/src/pins/pins_K8800.h

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

@@ -94,6 +94,8 @@
94 94
   #include "pins_K8200.h"             // ATmega1280, ATmega2560                     env:megaatmega1280 env:megaatmega2560 (3DRAG)
95 95
 #elif MB(K8400)
96 96
   #include "pins_K8400.h"             // ATmega1280, ATmega2560                     env:megaatmega1280 env:megaatmega2560 (3DRAG)
97
+#elif MB(K8800)
98
+  #include "pins_K8800.h"             // ATmega1280, ATmega2560                     env:megaatmega1280 env:megaatmega2560 (3DRAG)
97 99
 #elif MB(BAM_DICE)
98 100
   #include "pins_RAMPS.h"             // ATmega1280, ATmega2560                     env:megaatmega1280 env:megaatmega2560
99 101
 #elif MB(BAM_DICE_DUE)

+ 108
- 0
Marlin/src/pins/pins_K8800.h View File

@@ -0,0 +1,108 @@
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
+ * Velleman K8800 (Vertex)
25
+ */
26
+
27
+#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
28
+  #error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
29
+#endif
30
+
31
+#define DEFAULT_MACHINE_NAME "Vertex Delta"
32
+#define BOARD_NAME           "K8800"
33
+
34
+//#define LCD_SCREEN_ROT_180
35
+
36
+//
37
+// Limit Switches
38
+//
39
+#define X_STOP_PIN          3
40
+#define Y_STOP_PIN         14
41
+#define Z_MIN_PIN          68  // Used for bed leveling
42
+#define Z_MAX_PIN          66
43
+
44
+//
45
+// Steppers
46
+//
47
+#define X_STEP_PIN         54
48
+#define X_DIR_PIN          55
49
+#define X_ENABLE_PIN       38
50
+
51
+#define Y_STEP_PIN         60
52
+#define Y_DIR_PIN          61
53
+#define Y_ENABLE_PIN       56
54
+
55
+#define Z_STEP_PIN         46
56
+#define Z_DIR_PIN          48
57
+#define Z_ENABLE_PIN       63
58
+
59
+#define E0_STEP_PIN        26
60
+#define E0_DIR_PIN         28
61
+#define E0_ENABLE_PIN      24
62
+
63
+#define E1_STEP_PIN        32
64
+#define E1_DIR_PIN         34
65
+#define E1_ENABLE_PIN      30
66
+
67
+//
68
+// Temperature Sensors
69
+//
70
+#define TEMP_0_PIN         13
71
+
72
+//
73
+// Heaters / Fans
74
+//
75
+#define HEATER_0_PIN       10
76
+#define FAN_PIN             8
77
+#define CONTROLLER_FAN_PIN  9
78
+
79
+//
80
+// Misc. Functions
81
+//
82
+#define SDSS               25
83
+
84
+#define FIL_RUNOUT_PIN     69   // PK7
85
+#define KILL_PIN           20   // PD1
86
+
87
+//
88
+// LCD / Controller
89
+//
90
+#define SD_DETECT_PIN      21   // PD0
91
+#define LCD_SDSS           53
92
+#define BEEPER_PIN          6
93
+
94
+#define DOGLCD_CS          29
95
+#define DOGLCD_A0          27
96
+
97
+#define LCD_PINS_RS        27
98
+#define LCD_PINS_ENABLE    29
99
+#define LCD_PINS_D4        37
100
+#define LCD_PINS_D5        35
101
+#define LCD_PINS_D6        33
102
+#define LCD_PINS_D7        31
103
+
104
+#if ENABLED(NEWPANEL)
105
+  #define BTN_EN1          17
106
+  #define BTN_EN2          16
107
+  #define BTN_ENC          23
108
+#endif

Loading…
Cancel
Save