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