Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_EINSTART-S.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
* Einstart-S pin assignments
26
* PCB Silkscreen: 3DPrinterCon_v3.5
27
*/
28
29
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
30
#error "Oops! Select 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
31
#endif
32
33
#define BOARD_INFO_NAME "Einstart-S"
34
35
//
36
// Limit Switches
37
//
38
#define X_STOP_PIN 44
39
#define Y_STOP_PIN 43
40
#define Z_STOP_PIN 42
41
42
//
43
// Steppers
44
//
45
#define X_STEP_PIN 76
46
#define X_DIR_PIN 75
47
#define X_ENABLE_PIN 73
48
49
#define Y_STEP_PIN 31
50
#define Y_DIR_PIN 32
51
#define Y_ENABLE_PIN 72
52
53
#define Z_STEP_PIN 34
54
#define Z_DIR_PIN 35
55
#define Z_ENABLE_PIN 33
56
57
#define E0_STEP_PIN 36
58
#define E0_DIR_PIN 37
59
#define E0_ENABLE_PIN 30
60
61
//
62
// Temperature Sensors
63
//
64
#define TEMP_0_PIN 0 // Analog Input
65
#define TEMP_BED_PIN 1 // Analog Input
66
67
//
68
// Heaters / Fans
69
//
70
#define HEATER_0_PIN 83
71
#define HEATER_BED_PIN 38
72
73
#define FAN_PIN 82
74
75
//
76
// Misc. Functions
77
//
78
#define SDSS 53
79
#define LED_PIN 4
80
81
//////////////////////////
82
// LCDs and Controllers //
83
//////////////////////////
84
85
//
86
// LCD Display output pins
87
//
88
89
// Requires #define U8GLIB_SH1106_EINSTART in Configuration.h
90
// u8glib constructor
91
// U8GLIB_SH1106_128X64 u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, LCD_PINS_DC, LCD_PINS_RS);
92
93
#define LCD_PINS_DC 78
94
#define LCD_PINS_RS 79
95
// DOGM SPI LCD Support
96
#define DOGLCD_CS 3
97
#define DOGLCD_MOSI 2
98
#define DOGLCD_SCK 5
99
#define DOGLCD_A0 2
100
101
//
102
// LCD Display input pins
103
//
104
#define BTN_UP 25
105
#define BTN_DWN 26
106
#define BTN_LFT 27
107
#define BTN_RT 28
108
109
// 'OK' button
110
#define BTN_ENC 29
111
112
// Set Kill to right arrow, same as RIGID_PANEL
113
#define KILL_PIN 28
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
mega
pins_EINSTART-S.h
Generated by
1.8.16