|
@@ -0,0 +1,101 @@
|
|
1
|
+/**
|
|
2
|
+ * CartesioV11 pin assignments
|
|
3
|
+ */
|
|
4
|
+
|
|
5
|
+#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
|
|
6
|
+ #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
|
|
7
|
+#endif
|
|
8
|
+
|
|
9
|
+#define BOARD_NAME "CN Controls V11"
|
|
10
|
+
|
|
11
|
+//#define LARGE_FLASH true
|
|
12
|
+
|
|
13
|
+#define X_ENABLE_PIN 35
|
|
14
|
+#define X_STEP_PIN 34
|
|
15
|
+#define X_DIR_PIN 36
|
|
16
|
+#define X_MIN_PIN 43
|
|
17
|
+#define X_MAX_PIN -1
|
|
18
|
+
|
|
19
|
+#define Y_ENABLE_PIN 38
|
|
20
|
+#define Y_STEP_PIN 37
|
|
21
|
+#define Y_DIR_PIN 39
|
|
22
|
+#define Y_MIN_PIN 45
|
|
23
|
+#define Y_MAX_PIN -1
|
|
24
|
+
|
|
25
|
+#define Z_ENABLE_PIN 41
|
|
26
|
+#define Z_STEP_PIN 40
|
|
27
|
+#define Z_DIR_PIN 48
|
|
28
|
+#define Z_MIN_PIN 42
|
|
29
|
+#define Z_MAX_PIN -1
|
|
30
|
+
|
|
31
|
+#define E0_ENABLE_PIN 3
|
|
32
|
+#define E0_STEP_PIN 29
|
|
33
|
+#define E0_DIR_PIN 28
|
|
34
|
+#define HEATER_0_PIN 5
|
|
35
|
+#define TEMP_0_PIN 0 // ANALOG INPUT !!
|
|
36
|
+
|
|
37
|
+#define E1_ENABLE_PIN 60
|
|
38
|
+#define E1_STEP_PIN 61
|
|
39
|
+#define E1_DIR_PIN 62
|
|
40
|
+#define HEATER_1_PIN 58
|
|
41
|
+#define TEMP_1_PIN 3 // 3 for tool2 -> 2 for chambertemp
|
|
42
|
+
|
|
43
|
+#define E2_ENABLE_PIN 16
|
|
44
|
+#define E2_STEP_PIN 15
|
|
45
|
+#define E2_DIR_PIN 14
|
|
46
|
+#define HEATER_2_PIN 64
|
|
47
|
+#define TEMP_2_PIN 2 // 9 for tool3 -> 2 for chambertemp
|
|
48
|
+
|
|
49
|
+#define E3_ENABLE_PIN 47
|
|
50
|
+#define E3_STEP_PIN 44
|
|
51
|
+#define E3_DIR_PIN 49
|
|
52
|
+#define HEATER_3_PIN 46
|
|
53
|
+#define TEMP_3_PIN 11 // 11 for tool4 -> 2 for chambertemp
|
|
54
|
+
|
|
55
|
+#define HEATER_BED_PIN 2
|
|
56
|
+#define TEMP_BED_PIN 1 // ANALOG INPUT !!
|
|
57
|
+
|
|
58
|
+// Tools
|
|
59
|
+
|
|
60
|
+//#define TOOL_0_PIN 4
|
|
61
|
+//#define TOOL_1_PIN 59
|
|
62
|
+//#define TOOL_2_PIN 8
|
|
63
|
+//#define TOOL_3_PIN 30
|
|
64
|
+//#define TOOL_PWM_PIN 7 // common PWM pin for all tools
|
|
65
|
+
|
|
66
|
+// Common I/O
|
|
67
|
+
|
|
68
|
+//#define TEMP_CHAMBER_PIN 2 // ANALOG INPUT !!
|
|
69
|
+//#define FIL_RUNOUT_PIN -1
|
|
70
|
+//#define PWM_1_PIN 11
|
|
71
|
+//#define PWM_2_PIN 10
|
|
72
|
+//#define SPARE_IO 12
|
|
73
|
+//#define FAN_PIN 7 // common PWM pin for all tools
|
|
74
|
+
|
|
75
|
+// User interface
|
|
76
|
+#define BEEPER_PIN 6
|
|
77
|
+
|
|
78
|
+// Pins for DOGM SPI LCD Support
|
|
79
|
+#define DOGLCD_A0 26
|
|
80
|
+#define DOGLCD_CS 24
|
|
81
|
+#define DOGLCD_MOSI -1
|
|
82
|
+#define DOGLCD_SCK -1
|
|
83
|
+
|
|
84
|
+// The encoder and click button
|
|
85
|
+#define BTN_EN1 23
|
|
86
|
+#define BTN_EN2 25
|
|
87
|
+#define BTN_ENC 27
|
|
88
|
+
|
|
89
|
+// Hardware buttons for manual movement of XYZ
|
|
90
|
+#define SHIFT_OUT 19
|
|
91
|
+#define SHIFT_LD 18
|
|
92
|
+#define SHIFT_CLK 17
|
|
93
|
+
|
|
94
|
+//#define UI1 31
|
|
95
|
+//#define UI2 22
|
|
96
|
+
|
|
97
|
+// Other
|
|
98
|
+#define SDSS 53
|
|
99
|
+#define SD_DETECT_PIN 13
|
|
100
|
+#define STAT_LED_BLUE -1
|
|
101
|
+#define STAT_LED_RED 31
|