Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RAMPS_SMART.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
* Arduino Due with RAMPS-SMART pin assignments
26
*
27
* Applies to the following boards:
28
*
29
* RAMPS_SMART_EFB (Hotend, Fan, Bed)
30
* RAMPS_SMART_EEB (Hotend0, Hotend1, Bed)
31
* RAMPS_SMART_EFF (Hotend, Fan0, Fan1)
32
* RAMPS_SMART_EEF (Hotend0, Hotend1, Fan)
33
* RAMPS_SMART_SF (Spindle, Controller Fan)
34
*
35
* Differences between
36
* RAMPS_14 | RAMPS-SMART
37
* NONE | D16 (Additional AUX-3 pin(AUX3_2PIN), shares the same pin with AUX4_18PIN)
38
* NONE | D17 (Additional AUX-3 pin(AUX3_1PIN), shares the same pin with AUX4_17PIN)
39
* D0 | NONE
40
* D1 | NONE
41
* A3/D57 | NONE
42
* A4/D58 | NONE
43
* A5/D59 | A3/D57
44
* A9/D63 | A4/D58
45
* A10/D64 | A5/D59
46
* A11/D65 | D66
47
* A12/D66 | D67
48
* A13 | A9
49
* A14 | A10
50
* A15 | A11
51
*
52
*
53
* REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER works fine connected to AUX-4 with
54
* Smart Adapter, but requires removing the AUX3 pin header on the adapter to fit.
55
* To use the SD card reader, wire its pins to AUX-3 (and use Software SPI).
56
*
57
* To use Hardware SPI for SD, the SDSS pin must be set to 52 instead of 53.
58
* Hardware SPI also requires additional wiring because the board doesn't pass
59
* the 6-pin SPI header from the DUE board.
60
* (Search the web for "Arduino DUE Board Pinout" to see the correct header.)
61
*/
62
63
#ifndef __SAM3X8E__
64
#error "Oops! Select 'Arduino Due' in 'Tools > Board.'"
65
#endif
66
67
#define BOARD_INFO_NAME "RAMPS-SMART"
68
69
#define IS_RAMPS_SMART
70
#include "../ramps/pins_RAMPS.h"
71
72
// I2C EEPROM with 4K of space
73
#define I2C_EEPROM
74
#define E2END 0xFFF
75
76
#define RESET_PIN 42 // Resets the board if the jumper is attached
77
78
//
79
// Temperature Sensors
80
//
81
#undef TEMP_0_PIN
82
#define TEMP_0_PIN 9 // Analog Input
83
84
#undef TEMP_1_PIN
85
#define TEMP_1_PIN 10 // Analog Input
86
87
#undef TEMP_BED_PIN
88
#define TEMP_BED_PIN 11 // Analog Input
89
90
// SPI for Max6675 or Max31855 Thermocouple
91
#undef MAX6675_SS_PIN
92
#if DISABLED(SDSUPPORT)
93
#define MAX6675_SS_PIN 67 // Don't use 53 if there is even the remote possibility of using Display/SD card
94
#else
95
#define MAX6675_SS_PIN 67 // Don't use 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
96
#endif
97
98
//
99
// LCD / Controller
100
//
101
// Support for AZSMZ 12864 LCD with SD Card 3D printer smart controller control panel
102
#if ENABLED(AZSMZ_12864)
103
#define BEEPER_PIN 66 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 65
104
#define DOGLCD_A0 59
105
#define DOGLCD_CS 44
106
#define BTN_EN1 58
107
#define BTN_EN2 40
108
#define BTN_ENC 67 // Smart RAMPS 1.42 pinout diagram on RepRap WIKI erroneously says this should be pin 66
109
#define SD_DETECT_PIN 49 // Pin 49 for display sd interface, 72 for easy adapter board
110
#define KILL_PIN 42
111
#endif
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
sam
pins_RAMPS_SMART.h
Generated by
1.8.16