|
@@ -53,6 +53,83 @@
|
53
|
53
|
|
54
|
54
|
#endif /* 99 */
|
55
|
55
|
|
|
56
|
+/****************************************************************************************
|
|
57
|
+* Sethi 3D_1 pin assignment - www.sethi3d.com.br
|
|
58
|
+*
|
|
59
|
+****************************************************************************************/
|
|
60
|
+
|
|
61
|
+#if MOTHERBOARD == 20
|
|
62
|
+#define KNOWN_BOARD
|
|
63
|
+
|
|
64
|
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
|
|
65
|
+#error Oops! Make sure you have 'Sethi 3D' selected from the 'Tools -> Boards' menu.
|
|
66
|
+
|
|
67
|
+#endif
|
|
68
|
+
|
|
69
|
+#ifndef GEN7_VERSION
|
|
70
|
+#define GEN7_VERSION 12 // v1.x
|
|
71
|
+#endif
|
|
72
|
+
|
|
73
|
+//x axis pins
|
|
74
|
+#define X_STEP_PIN 19
|
|
75
|
+#define X_DIR_PIN 18
|
|
76
|
+#define X_ENABLE_PIN 24
|
|
77
|
+#define X_STOP_PIN 2
|
|
78
|
+
|
|
79
|
+//y axis pins
|
|
80
|
+#define Y_STEP_PIN 23
|
|
81
|
+#define Y_DIR_PIN 22
|
|
82
|
+#define Y_ENABLE_PIN 24
|
|
83
|
+#define Y_STOP_PIN 0
|
|
84
|
+
|
|
85
|
+//z axis pins
|
|
86
|
+#define Z_STEP_PIN 26
|
|
87
|
+#define Z_DIR_PIN 25
|
|
88
|
+#define Z_ENABLE_PIN 24
|
|
89
|
+#define Z_MIN_PIN 1
|
|
90
|
+#define Z_MAX_PIN 0
|
|
91
|
+
|
|
92
|
+//extruder pins
|
|
93
|
+#define E0_STEP_PIN 28
|
|
94
|
+#define E0_DIR_PIN 27
|
|
95
|
+#define E0_ENABLE_PIN 24
|
|
96
|
+
|
|
97
|
+#define TEMP_0_PIN 1
|
|
98
|
+#define TEMP_1_PIN -1
|
|
99
|
+#define TEMP_2_PIN -1
|
|
100
|
+#define TEMP_BED_PIN 2
|
|
101
|
+
|
|
102
|
+#define HEATER_0_PIN 4
|
|
103
|
+#define HEATER_1_PIN -1
|
|
104
|
+#define HEATER_2_PIN -1
|
|
105
|
+#define HEATER_BED_PIN 3
|
|
106
|
+
|
|
107
|
+#define KILL_PIN -1
|
|
108
|
+
|
|
109
|
+#define SDPOWER -1
|
|
110
|
+#define SDSS -1 // SCL pin of I2C header
|
|
111
|
+#define LED_PIN -1
|
|
112
|
+
|
|
113
|
+#if (GEN7_VERSION >= 13)
|
|
114
|
+// Gen7 v1.3 removed the fan pin
|
|
115
|
+#define FAN_PIN -1
|
|
116
|
+#else
|
|
117
|
+#define FAN_PIN 31
|
|
118
|
+#endif
|
|
119
|
+#define PS_ON_PIN 15
|
|
120
|
+
|
|
121
|
+//All these generations of Gen7 supply thermistor power
|
|
122
|
+//via PS_ON, so ignore bad thermistor readings
|
|
123
|
+#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
|
|
124
|
+
|
|
125
|
+//our pin for debugging.
|
|
126
|
+#define DEBUG_PIN 0
|
|
127
|
+
|
|
128
|
+//our RS485 pins
|
|
129
|
+#define TX_ENABLE_PIN 12
|
|
130
|
+#define RX_ENABLE_PIN 13
|
|
131
|
+
|
|
132
|
+#endif
|
56
|
133
|
|
57
|
134
|
/****************************************************************************************
|
58
|
135
|
* Gen7 v1.1, v1.2, v1.3 pin assignment
|