Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RIGIDBOARD.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
* RIGIDBOARD Arduino Mega with RAMPS v1.4 pin assignments
26
*/
27
28
#ifndef BOARD_INFO_NAME
29
#define BOARD_INFO_NAME "RigidBoard"
30
#endif
31
32
//
33
// Z Probe (when not Z_MIN_PIN)
34
//
35
#ifndef Z_MIN_PROBE_PIN
36
#define Z_MIN_PROBE_PIN 19 // Z-MAX pin J14 End Stops
37
#endif
38
39
//
40
// MOSFET changes
41
//
42
#define RAMPS_D9_PIN 8 // FAN (by default)
43
#define RAMPS_D10_PIN 9 // EXTRUDER 1
44
#define MOSFET_D_PIN 12 // EXTRUDER 2 or FAN
45
46
#include "
pins_RAMPS.h
"
47
48
//
49
// Steppers
50
//
51
// RigidBot swaps E0 / E1 plugs vs RAMPS 1.3
52
#undef E0_STEP_PIN
53
#undef E0_DIR_PIN
54
#undef E0_ENABLE_PIN
55
#define E0_STEP_PIN 36
56
#define E0_DIR_PIN 34
57
#define E0_ENABLE_PIN 30
58
59
#undef E1_STEP_PIN
60
#undef E1_DIR_PIN
61
#undef E1_ENABLE_PIN
62
#define E1_STEP_PIN 26
63
#define E1_DIR_PIN 28
64
#define E1_ENABLE_PIN 24
65
66
#define STEPPER_RESET_PIN 41 // Stepper drivers have a reset on RigidBot
67
68
//
69
// Temperature Sensors
70
//
71
#undef TEMP_0_PIN
72
#undef TEMP_1_PIN
73
#undef TEMP_BED_PIN
74
#define TEMP_0_PIN 14 // Analog Input
75
#define TEMP_1_PIN 13 // Analog Input
76
#define TEMP_BED_PIN 15 // Analog Input
77
78
// SPI for Max6675 or Max31855 Thermocouple
79
#undef MAX6675_SS_PIN
80
#if DISABLED(SDSUPPORT)
81
#define MAX6675_SS_PIN 53 // Don't use pin 53 if there is even the remote possibility of using Display/SD card
82
#else
83
#define MAX6675_SS_PIN 49 // Don't use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
84
#endif
85
86
//
87
// Heaters / Fans
88
//
89
#undef HEATER_BED_PIN
90
#define HEATER_BED_PIN 10
91
92
#ifndef FAN_PIN
93
#define FAN_PIN 8 // Same as RAMPS_13_EEF
94
#endif
95
96
//
97
// Misc. Functions
98
//
99
#undef PS_ON_PIN
100
#define PS_ON_PIN -1
101
102
//
103
// LCD / Controller
104
//
105
// LCD Panel options for the RigidBoard
106
#if ENABLED(RIGIDBOT_PANEL)
107
108
#undef BEEPER_PIN
109
#define BEEPER_PIN -1
110
111
// Direction buttons
112
#define BTN_UP 37
113
#define BTN_DWN 35
114
#define BTN_LFT 33
115
#define BTN_RT 32
116
117
// 'R' button
118
#undef BTN_ENC
119
#define BTN_ENC 31
120
121
// Disable encoder
122
#undef BTN_EN1
123
#define BTN_EN1 -1
124
#undef BTN_EN2
125
#define BTN_EN2 -1
126
127
#undef SD_DETECT_PIN
128
#define SD_DETECT_PIN 22
129
130
#elif ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER)
131
132
#undef SD_DETECT_PIN
133
#define SD_DETECT_PIN 22
134
135
#undef KILL_PIN
136
#define KILL_PIN 32
137
138
#endif
pins_RAMPS.h
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
ramps
pins_RIGIDBOARD.h
Generated by
1.8.16