|
@@ -23,10 +23,6 @@
|
23
|
23
|
|
24
|
24
|
/**
|
25
|
25
|
* Arduino Mega with RAMPS v1.4Plus, also known as 3DYMY version, pin assignments
|
26
|
|
- * The differences to the RAMPS v1.4 are:
|
27
|
|
- * - Swap heater E0 with E1
|
28
|
|
- * - Swap pins 8 and 10. Bed/Fan/Hotend as labeled on the board are on pins 8/9/10.
|
29
|
|
- * - Change pins 16->42, 17->44 and 29->53 used for display.
|
30
|
26
|
*
|
31
|
27
|
* Applies to the following boards:
|
32
|
28
|
*
|
|
@@ -35,6 +31,11 @@
|
35
|
31
|
* RAMPS_PLUS_EFF (Extruder, Fan, Fan)
|
36
|
32
|
* RAMPS_PLUS_EEF (Extruder, Extruder, Fan)
|
37
|
33
|
* RAMPS_PLUS_SF (Spindle, Controller Fan)
|
|
34
|
+ *
|
|
35
|
+ * Differences from RAMPS v1.4:
|
|
36
|
+ * - Swap heater E0 with E1
|
|
37
|
+ * - Swap pins 8 and 10. Bed/Fan/Hotend as labeled on the board are on pins 8/9/10.
|
|
38
|
+ * - Change EXP1/2 pins
|
38
|
39
|
*/
|
39
|
40
|
|
40
|
41
|
#include "env_validate.h"
|
|
@@ -62,15 +63,32 @@
|
62
|
63
|
#define E1_ENABLE_PIN 24
|
63
|
64
|
#define E1_CS_PIN -1
|
64
|
65
|
|
65
|
|
-#include "pins_RAMPS.h"
|
|
66
|
+/** 3DYMY Expansion Headers
|
|
67
|
+ * ------ ------
|
|
68
|
+ * 37 |10 9 | 35 (MISO) 50 |10 9 | 52 (SCK)
|
|
69
|
+ * 31 | 8 7 | 41 29 | 8 7 | 53
|
|
70
|
+ * 33 6 5 | 23 25 6 5 | 51 (MOSI)
|
|
71
|
+ * 42 | 4 3 | 44 49 | 4 3 | 27
|
|
72
|
+ * GND | 2 1 | 5V GND | 2 1 | --
|
|
73
|
+ * ------ ------
|
|
74
|
+ * EXP1 EXP2
|
|
75
|
+ */
|
|
76
|
+#define EXP1_03_PIN 44
|
|
77
|
+#define EXP1_04_PIN 42
|
|
78
|
+#define EXP1_05_PIN 23
|
|
79
|
+#define EXP1_06_PIN 33
|
|
80
|
+#define EXP1_07_PIN 41
|
|
81
|
+#define EXP1_08_PIN 31
|
|
82
|
+#define EXP1_09_PIN 35
|
|
83
|
+#define EXP1_10_PIN 37
|
66
|
84
|
|
67
|
|
-#if IS_ULTRA_LCD && NONE(REPRAPWORLD_GRAPHICAL_LCD, CR10_STOCKDISPLAY) && !BOTH(IS_NEWPANEL, PANEL_ONE)
|
68
|
|
- #if DISABLED(MKS_12864OLED) || ENABLED(MKS_12864OLED_SSD1306)
|
69
|
|
- #undef LCD_PINS_RS
|
70
|
|
- #define LCD_PINS_RS 42 // 3DYMY boards pin 16 -> 42
|
71
|
|
- #undef LCD_PINS_ENABLE
|
72
|
|
- #define LCD_PINS_ENABLE 44 // 3DYMY boards pin 17 -> 44
|
73
|
|
- #endif
|
74
|
|
- #undef LCD_PINS_D7
|
75
|
|
- #define LCD_PINS_D7 53 // 3DYMY boards pin 29 -> 53
|
76
|
|
-#endif
|
|
85
|
+#define EXP2_03_PIN 27
|
|
86
|
+#define EXP2_04_PIN 49
|
|
87
|
+#define EXP2_05_PIN 51
|
|
88
|
+#define EXP2_06_PIN 25
|
|
89
|
+#define EXP2_07_PIN 53
|
|
90
|
+#define EXP2_08_PIN 29
|
|
91
|
+#define EXP2_09_PIN 52
|
|
92
|
+#define EXP2_10_PIN 50
|
|
93
|
+
|
|
94
|
+#include "pins_RAMPS.h"
|