|
@@ -0,0 +1,511 @@
|
|
1
|
+/**
|
|
2
|
+ * Marlin 3D Printer Firmware
|
|
3
|
+ * Copyright (c) 2022 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 <https://www.gnu.org/licenses/>.
|
|
20
|
+ *
|
|
21
|
+ */
|
|
22
|
+#pragma once
|
|
23
|
+
|
|
24
|
+/**
|
|
25
|
+ * ZRIB V5.3 Based on MKS BASE v1.4 with A4982 stepper drivers and digital micro-stepping
|
|
26
|
+ */
|
|
27
|
+
|
|
28
|
+#include "env_validate.h"
|
|
29
|
+
|
|
30
|
+#if HOTENDS > 2
|
|
31
|
+ #error "ZRIB V5.3 only supports up to 2 hotends. Comment out this line to continue."
|
|
32
|
+#elif E_STEPPERS > 3
|
|
33
|
+ #error "ZRIB V5.3 only supports up to 3 E-steppers. Comment out this line to continue."
|
|
34
|
+#endif
|
|
35
|
+
|
|
36
|
+#define BOARD_INFO_NAME "ZRIB V5.3"
|
|
37
|
+
|
|
38
|
+//
|
|
39
|
+// PIN 12 Connector
|
|
40
|
+//
|
|
41
|
+#define PIN_12_PIN 12
|
|
42
|
+
|
|
43
|
+//
|
|
44
|
+// XS1 Connector
|
|
45
|
+//
|
|
46
|
+#define XS1_01_PIN 42
|
|
47
|
+#define XS1_03_PIN 43
|
|
48
|
+#define XS1_05_PIN 44
|
|
49
|
+#define XS1_07_PIN 45
|
|
50
|
+#define XS1_08_PIN 47
|
|
51
|
+
|
|
52
|
+//
|
|
53
|
+// XS6 Connector
|
|
54
|
+//
|
|
55
|
+#define XS6_01_PIN 20
|
|
56
|
+#define XS6_03_PIN 52
|
|
57
|
+#define XS6_05_PIN 51
|
|
58
|
+#define XS6_07_PIN 50
|
|
59
|
+#define XS6_08_PIN 21
|
|
60
|
+
|
|
61
|
+//
|
|
62
|
+// Servos / XS3 Connector
|
|
63
|
+//
|
|
64
|
+#ifndef SERVO0_PIN
|
|
65
|
+ #define SERVO0_PIN 11 // Analog Output
|
|
66
|
+#endif
|
|
67
|
+#ifndef SERVO1_PIN
|
|
68
|
+ #define SERVO1_PIN 12 // Analog Output
|
|
69
|
+#endif
|
|
70
|
+
|
|
71
|
+//
|
|
72
|
+// Limit Switches
|
|
73
|
+//
|
|
74
|
+#ifndef X_STOP_PIN
|
|
75
|
+ #ifndef X_MIN_PIN
|
|
76
|
+ #define X_MIN_PIN 3
|
|
77
|
+ #endif
|
|
78
|
+ #ifndef X_MAX_PIN
|
|
79
|
+ #define X_MAX_PIN 2
|
|
80
|
+ #endif
|
|
81
|
+#endif
|
|
82
|
+#ifndef Y_STOP_PIN
|
|
83
|
+ #ifndef Y_MIN_PIN
|
|
84
|
+ #define Y_MIN_PIN 14
|
|
85
|
+ #endif
|
|
86
|
+ #ifndef Y_MAX_PIN
|
|
87
|
+ #define Y_MAX_PIN 15
|
|
88
|
+ #endif
|
|
89
|
+#endif
|
|
90
|
+#ifndef Z_STOP_PIN
|
|
91
|
+ #ifndef Z_MIN_PIN
|
|
92
|
+ #define Z_MIN_PIN 18
|
|
93
|
+ #endif
|
|
94
|
+ #ifndef Z_MAX_PIN
|
|
95
|
+ #define Z_MAX_PIN 19
|
|
96
|
+ #endif
|
|
97
|
+#endif
|
|
98
|
+
|
|
99
|
+//
|
|
100
|
+// Z Probe (when not Z_MIN_PIN)
|
|
101
|
+//
|
|
102
|
+#ifndef Z_MIN_PROBE_PIN
|
|
103
|
+ #define Z_MIN_PROBE_PIN 19
|
|
104
|
+#endif
|
|
105
|
+
|
|
106
|
+//
|
|
107
|
+// Steppers
|
|
108
|
+//
|
|
109
|
+#define X_STEP_PIN 54
|
|
110
|
+#define X_DIR_PIN 55
|
|
111
|
+#define X_ENABLE_PIN 38
|
|
112
|
+
|
|
113
|
+#define Y_STEP_PIN 60
|
|
114
|
+#define Y_DIR_PIN 61
|
|
115
|
+#define Y_ENABLE_PIN 56
|
|
116
|
+
|
|
117
|
+#define Z_STEP_PIN 46
|
|
118
|
+#define Z_DIR_PIN 48
|
|
119
|
+#define Z_ENABLE_PIN 62
|
|
120
|
+
|
|
121
|
+#if NUM_Z_STEPPER_DRIVERS == 2
|
|
122
|
+ #define Z2_STEP_PIN 26 // E0 connector
|
|
123
|
+ #define Z2_DIR_PIN 28
|
|
124
|
+ #define Z2_ENABLE_PIN 24
|
|
125
|
+
|
|
126
|
+ #define E0_STEP_PIN 36 // E1 connector
|
|
127
|
+ #define E0_DIR_PIN 34
|
|
128
|
+ #define E0_ENABLE_PIN 30
|
|
129
|
+
|
|
130
|
+ #define E1_STEP_PIN 4 // E2 connector
|
|
131
|
+ #define E1_DIR_PIN 5
|
|
132
|
+ #define E1_ENABLE_PIN 22
|
|
133
|
+#else
|
|
134
|
+ #define E0_STEP_PIN 26
|
|
135
|
+ #define E0_DIR_PIN 28
|
|
136
|
+ #define E0_ENABLE_PIN 24
|
|
137
|
+
|
|
138
|
+ #define E1_STEP_PIN 36
|
|
139
|
+ #define E1_DIR_PIN 34
|
|
140
|
+ #define E1_ENABLE_PIN 30
|
|
141
|
+
|
|
142
|
+ #define E2_STEP_PIN 4
|
|
143
|
+ #define E2_DIR_PIN 5
|
|
144
|
+ #define E2_ENABLE_PIN 22
|
|
145
|
+#endif
|
|
146
|
+
|
|
147
|
+//
|
|
148
|
+// Temperature Sensors
|
|
149
|
+//
|
|
150
|
+#ifndef TEMP_0_PIN
|
|
151
|
+ #define TEMP_0_PIN 13 // Analog Input
|
|
152
|
+#endif
|
|
153
|
+#ifndef TEMP_1_PIN
|
|
154
|
+ #define TEMP_1_PIN 15 // Analog Input
|
|
155
|
+#endif
|
|
156
|
+#ifndef TEMP_BED_PIN
|
|
157
|
+ #define TEMP_BED_PIN 14 // Analog Input
|
|
158
|
+#endif
|
|
159
|
+
|
|
160
|
+//
|
|
161
|
+// Heaters / Fans Connectors
|
|
162
|
+//
|
|
163
|
+
|
|
164
|
+#define HEATER_0_PIN 10
|
|
165
|
+#define HEATER_1_PIN 7
|
|
166
|
+#define FAN_PIN 9
|
|
167
|
+#define HEATER_BED_PIN 8
|
|
168
|
+#define FAN1_PIN 6
|
|
169
|
+
|
|
170
|
+//
|
|
171
|
+// Misc. Functions
|
|
172
|
+//
|
|
173
|
+#ifndef SDSS
|
|
174
|
+ #define SDSS 53
|
|
175
|
+#endif
|
|
176
|
+
|
|
177
|
+#define LED_PIN 13
|
|
178
|
+
|
|
179
|
+#ifndef FIL_RUNOUT_PIN
|
|
180
|
+ #define FIL_RUNOUT_PIN XS1_01_PIN
|
|
181
|
+#endif
|
|
182
|
+
|
|
183
|
+#ifndef PS_ON_PIN
|
|
184
|
+ #define PS_ON_PIN XS1_03_PIN
|
|
185
|
+#endif
|
|
186
|
+
|
|
187
|
+#if HAS_TMC_UART
|
|
188
|
+ /**
|
|
189
|
+ * TMC2209 stepper drivers
|
|
190
|
+ *
|
|
191
|
+ * Hardware serial communication ports.
|
|
192
|
+ * If undefined software serial is used according to the pins below
|
|
193
|
+ *
|
|
194
|
+ * Serial2 -- AUX-4 Pin 18 (D16 TX2) and AUX-4 Pin 17 (D17 RX2)
|
|
195
|
+ * Serial1 -- Pins D18 and D19 are used for Z-MIN and Z-MAX
|
|
196
|
+ */
|
|
197
|
+ //#define X_HARDWARE_SERIAL Serial1
|
|
198
|
+ //#define X2_HARDWARE_SERIAL Serial1
|
|
199
|
+ //#define Y_HARDWARE_SERIAL Serial1
|
|
200
|
+ //#define Y2_HARDWARE_SERIAL Serial1
|
|
201
|
+ //#define Z_HARDWARE_SERIAL Serial1
|
|
202
|
+ //#define Z2_HARDWARE_SERIAL Serial1
|
|
203
|
+ //#define E0_HARDWARE_SERIAL Serial1
|
|
204
|
+ //#define E1_HARDWARE_SERIAL Serial1
|
|
205
|
+ //#define E2_HARDWARE_SERIAL Serial1
|
|
206
|
+ //#define E3_HARDWARE_SERIAL Serial1
|
|
207
|
+ //#define E4_HARDWARE_SERIAL Serial1
|
|
208
|
+
|
|
209
|
+ #ifndef X_SERIAL_TX_PIN
|
|
210
|
+ #define X_SERIAL_TX_PIN XS1_08_PIN
|
|
211
|
+ #endif
|
|
212
|
+ #ifndef X_SERIAL_RX_PIN
|
|
213
|
+ #define X_SERIAL_RX_PIN PIN_12_PIN
|
|
214
|
+ #endif
|
|
215
|
+ #ifndef X2_SERIAL_TX_PIN
|
|
216
|
+ #define X2_SERIAL_TX_PIN -1
|
|
217
|
+ #endif
|
|
218
|
+ #ifndef X2_SERIAL_RX_PIN
|
|
219
|
+ #define X2_SERIAL_RX_PIN -1
|
|
220
|
+ #endif
|
|
221
|
+
|
|
222
|
+ #ifndef Y_SERIAL_TX_PIN
|
|
223
|
+ #define Y_SERIAL_TX_PIN XS1_08_PIN
|
|
224
|
+ #endif
|
|
225
|
+ #ifndef Y_SERIAL_RX_PIN
|
|
226
|
+ #define Y_SERIAL_RX_PIN PIN_12_PIN
|
|
227
|
+ #endif
|
|
228
|
+ #ifndef Y2_SERIAL_TX_PIN
|
|
229
|
+ #define Y2_SERIAL_TX_PIN -1
|
|
230
|
+ #endif
|
|
231
|
+ #ifndef Y2_SERIAL_RX_PIN
|
|
232
|
+ #define Y2_SERIAL_RX_PIN -1
|
|
233
|
+ #endif
|
|
234
|
+
|
|
235
|
+ #ifndef Z_SERIAL_TX_PIN
|
|
236
|
+ #define Z_SERIAL_TX_PIN XS1_08_PIN
|
|
237
|
+ #endif
|
|
238
|
+ #ifndef Z_SERIAL_RX_PIN
|
|
239
|
+ #define Z_SERIAL_RX_PIN PIN_12_PIN
|
|
240
|
+ #endif
|
|
241
|
+ #ifndef Z2_SERIAL_TX_PIN
|
|
242
|
+ #define Z2_SERIAL_TX_PIN XS1_08_PIN
|
|
243
|
+ #endif
|
|
244
|
+ #ifndef Z2_SERIAL_RX_PIN
|
|
245
|
+ #define Z2_SERIAL_RX_PIN PIN_12_PIN
|
|
246
|
+ #endif
|
|
247
|
+
|
|
248
|
+ #ifndef E0_SERIAL_TX_PIN
|
|
249
|
+ #define E0_SERIAL_TX_PIN -1
|
|
250
|
+ #endif
|
|
251
|
+ #ifndef E0_SERIAL_RX_PIN
|
|
252
|
+ #define E0_SERIAL_RX_PIN -1
|
|
253
|
+ #endif
|
|
254
|
+ #ifndef E1_SERIAL_TX_PIN
|
|
255
|
+ #define E1_SERIAL_TX_PIN -1
|
|
256
|
+ #endif
|
|
257
|
+ #ifndef E1_SERIAL_RX_PIN
|
|
258
|
+ #define E1_SERIAL_RX_PIN -1
|
|
259
|
+ #endif
|
|
260
|
+ #ifndef E2_SERIAL_TX_PIN
|
|
261
|
+ #define E2_SERIAL_TX_PIN -1
|
|
262
|
+ #endif
|
|
263
|
+ #ifndef E2_SERIAL_RX_PIN
|
|
264
|
+ #define E2_SERIAL_RX_PIN -1
|
|
265
|
+ #endif
|
|
266
|
+ #ifndef E3_SERIAL_TX_PIN
|
|
267
|
+ #define E3_SERIAL_TX_PIN -1
|
|
268
|
+ #endif
|
|
269
|
+ #ifndef E3_SERIAL_RX_PIN
|
|
270
|
+ #define E3_SERIAL_RX_PIN -1
|
|
271
|
+ #endif
|
|
272
|
+ #ifndef E4_SERIAL_TX_PIN
|
|
273
|
+ #define E4_SERIAL_TX_PIN -1
|
|
274
|
+ #endif
|
|
275
|
+ #ifndef E4_SERIAL_RX_PIN
|
|
276
|
+ #define E4_SERIAL_RX_PIN -1
|
|
277
|
+ #endif
|
|
278
|
+ #ifndef E5_SERIAL_TX_PIN
|
|
279
|
+ #define E5_SERIAL_TX_PIN -1
|
|
280
|
+ #endif
|
|
281
|
+ #ifndef E5_SERIAL_RX_PIN
|
|
282
|
+ #define E5_SERIAL_RX_PIN -1
|
|
283
|
+ #endif
|
|
284
|
+ #ifndef E6_SERIAL_TX_PIN
|
|
285
|
+ #define E6_SERIAL_TX_PIN -1
|
|
286
|
+ #endif
|
|
287
|
+ #ifndef E6_SERIAL_RX_PIN
|
|
288
|
+ #define E6_SERIAL_RX_PIN -1
|
|
289
|
+ #endif
|
|
290
|
+ #ifndef E7_SERIAL_TX_PIN
|
|
291
|
+ #define E7_SERIAL_TX_PIN -1
|
|
292
|
+ #endif
|
|
293
|
+ #ifndef E7_SERIAL_RX_PIN
|
|
294
|
+ #define E7_SERIAL_RX_PIN -1
|
|
295
|
+ #endif
|
|
296
|
+#endif
|
|
297
|
+
|
|
298
|
+/**
|
|
299
|
+ * LCD adapter. NOTE: These come in two variants. The socket keys can be
|
|
300
|
+ * on either side, and may be backwards on some displays.
|
|
301
|
+ * ------ ------
|
|
302
|
+ * D37 |10 9 | D35 (MISO) D50 |10 9 | D52 (SCK)
|
|
303
|
+ * D17 | 8 7 | D16 D31 | 8 7 | D53
|
|
304
|
+ * D23 6 5 D25 D33 6 5 D51 (MOSI)
|
|
305
|
+ * D27 | 4 3 | D29 D49 | 4 3 | D41
|
|
306
|
+ * GND | 2 1 | 5V GND | 2 1 | --
|
|
307
|
+ * ------ ------
|
|
308
|
+ * EXP1 EXP2
|
|
309
|
+ */
|
|
310
|
+
|
|
311
|
+#ifndef EXP1_03_PIN
|
|
312
|
+ #define EXP1_03_PIN 29
|
|
313
|
+ #define EXP1_04_PIN 27
|
|
314
|
+ #define EXP1_05_PIN 25
|
|
315
|
+ #define EXP1_06_PIN 23
|
|
316
|
+ #define EXP1_07_PIN 16
|
|
317
|
+ #define EXP1_08_PIN 17
|
|
318
|
+ #define EXP1_09_PIN 35
|
|
319
|
+ #define EXP1_10_PIN 37
|
|
320
|
+
|
|
321
|
+ #define EXP2_03_PIN 41
|
|
322
|
+ #define EXP2_04_PIN 49
|
|
323
|
+ #define EXP2_05_PIN XS6_05_PIN
|
|
324
|
+ #define EXP2_06_PIN 33
|
|
325
|
+ #define EXP2_07_PIN 53
|
|
326
|
+ #define EXP2_08_PIN 31
|
|
327
|
+ #define EXP2_09_PIN XS6_03_PIN
|
|
328
|
+ #define EXP2_10_PIN XS6_07_PIN
|
|
329
|
+#endif
|
|
330
|
+
|
|
331
|
+//////////////////////////
|
|
332
|
+// LCDs and Controllers //
|
|
333
|
+//////////////////////////
|
|
334
|
+
|
|
335
|
+#if ENABLED(ZONESTAR_12864LCD)
|
|
336
|
+ #define LCDSCREEN_NAME "ZONESTAR LCD12864"
|
|
337
|
+ #define LCD_SDSS 16
|
|
338
|
+ #define LCD_PINS_RS 16 // ST7920_CS_PIN LCD_PIN_RS (PIN4 of LCD module)
|
|
339
|
+ #define LCD_PINS_ENABLE 23 // ST7920_DAT_PIN LCD_PIN_R/W (PIN5 of LCD module)
|
|
340
|
+ #define LCD_PINS_D4 17 // ST7920_CLK_PIN LCD_PIN_ENABLE (PIN6 of LCD module)
|
|
341
|
+ #define BTN_EN2 25
|
|
342
|
+ #define BTN_EN1 27
|
|
343
|
+ #define BTN_ENC 29
|
|
344
|
+ #define BEEPER_PIN 37
|
|
345
|
+ #define KILL_PIN 35
|
|
346
|
+#elif ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
|
347
|
+ #define LCDSCREEN_NAME "Reprap LCD12864"
|
|
348
|
+ // Use EXP1 & EXP2 connector
|
|
349
|
+ #define LCD_PINS_RS 16 // ST7920_CS_PIN LCD_PIN_RS
|
|
350
|
+ #define LCD_PINS_ENABLE 17 // ST7920_DAT_PIN LCD_PIN_ENABLE
|
|
351
|
+ #define LCD_PINS_D4 23 // ST7920_CLK_PIN LCD_PIN_R/W
|
|
352
|
+ #define BTN_EN1 31
|
|
353
|
+ #define BTN_EN2 33
|
|
354
|
+ #define BTN_ENC 35
|
|
355
|
+ #define BEEPER_PIN 37
|
|
356
|
+ #define KILL_PIN 41
|
|
357
|
+#endif
|
|
358
|
+
|
|
359
|
+//================================================================================
|
|
360
|
+// OLED 128x64
|
|
361
|
+//================================================================================
|
|
362
|
+
|
|
363
|
+#if EITHER(ZONESTAR_12864OLED, ZONESTAR_12864OLED_SSD1306)
|
|
364
|
+ #define LCDSCREEN_NAME "ZONESTAR 12864OLED"
|
|
365
|
+ #define LCD_SDSS 16
|
|
366
|
+ #define LCD_PINS_RS 23 // RESET Pull low for 1s to init
|
|
367
|
+ #define LCD_PINS_DC 17
|
|
368
|
+ #define DOGLCD_CS 16 // CS
|
|
369
|
+ #define BTN_EN2 25
|
|
370
|
+ #define BTN_EN1 27
|
|
371
|
+ #define BTN_ENC 29
|
|
372
|
+ #define BEEPER_PIN -1
|
|
373
|
+ #define KILL_PIN -1
|
|
374
|
+ #if EITHER(OLED_HW_IIC, OLED_HW_SPI)
|
|
375
|
+ #error "Oops! You must choose SW SPI for ZRIB V53 board and connect the OLED screen to EXP1 connector."
|
|
376
|
+ #else // SW_SPI
|
|
377
|
+ #define DOGLCD_A0 LCD_PINS_DC
|
|
378
|
+ #define DOGLCD_MOSI 35 // SDA
|
|
379
|
+ #define DOGLCD_SCK 37 // SCK
|
|
380
|
+ #endif
|
|
381
|
+#endif // OLED 128x64
|
|
382
|
+
|
|
383
|
+//================================================================================
|
|
384
|
+// LCD 2004 KEYPAD
|
|
385
|
+//================================================================================
|
|
386
|
+
|
|
387
|
+#if ENABLED(ZONESTAR_LCD)
|
|
388
|
+ #define LCDSCREEN_NAME "LCD2004 ADCKEY"
|
|
389
|
+ #define LCD_PINS_RS EXP1_07_PIN
|
|
390
|
+ #define LCD_PINS_ENABLE EXP1_08_PIN
|
|
391
|
+ #define LCD_PINS_D4 EXP1_06_PIN
|
|
392
|
+ #define LCD_PINS_D5 EXP1_05_PIN
|
|
393
|
+ #define LCD_PINS_D6 EXP1_04_PIN
|
|
394
|
+ #define LCD_PINS_D7 EXP1_03_PIN
|
|
395
|
+ #define ADC_KEYPAD_PIN 10 // A10 for ADCKEY
|
|
396
|
+ #define BEEPER_PIN EXP1_10_PIN
|
|
397
|
+#endif
|
|
398
|
+
|
|
399
|
+/**
|
|
400
|
+ * ZRIB V5.3 Main Board
|
|
401
|
+ *
|
|
402
|
+ * Available connectors on ZRIB V5.3
|
|
403
|
+ *
|
|
404
|
+ * =======
|
|
405
|
+ * | GND |
|
|
406
|
+ * |-----| E0
|
|
407
|
+ * | 10 | (10) PB4 ** Pin23 ** PWM10
|
|
408
|
+ * |-----|
|
|
409
|
+ * | GND |
|
|
410
|
+ * |-----| E1
|
|
411
|
+ * | 7 | ( 7) PH4 ** Pin16 ** PWM7
|
|
412
|
+ * |-----|
|
|
413
|
+ * | GND |
|
|
414
|
+ * |-----| FAN
|
|
415
|
+ * | 9 | ( 9) PH6 ** Pin18 ** PWM9
|
|
416
|
+ * =======
|
|
417
|
+ * =======
|
|
418
|
+ * | GND |
|
|
419
|
+ * |-----| Heated Bed
|
|
420
|
+ * | 8 | ( 8) PH5 ** Pin17 ** PWM8
|
|
421
|
+ * =======
|
|
422
|
+ * ==========
|
|
423
|
+ * | 12-24V |
|
|
424
|
+ * |--------| Power
|
|
425
|
+ * | GND |
|
|
426
|
+ * ==========
|
|
427
|
+ * XS3 Connector
|
|
428
|
+ * =================
|
|
429
|
+ * | 65 | GND | 5V | (65) PK3 ** Pin86 ** A11
|
|
430
|
+ * |----|-----|----|
|
|
431
|
+ * | 66 | GND | 5V | (66) PK4 ** Pin85 ** A12
|
|
432
|
+ * =================
|
|
433
|
+ * XS3/Servos Connector
|
|
434
|
+ * =================
|
|
435
|
+ * | 11 | GND | 5V | (11) PB5 ** Pin24 ** PWM11
|
|
436
|
+ * |----|-----|----|
|
|
437
|
+ * | 12 | GND | 5V | (12) PB6 ** Pin25 ** PWM12
|
|
438
|
+ * =================
|
|
439
|
+ * ICSP
|
|
440
|
+ * =================
|
|
441
|
+ * | 5V | 51 | GND | (51) PB2 ** Pin21 ** SPI_MOSI
|
|
442
|
+ * |----|----|-----|
|
|
443
|
+ * | 50 | 52 | RST | (50) PB3 ** Pin22 ** SPI_MISO
|
|
444
|
+ * ================= (52) PB1 ** Pin20 ** SPI_SCK
|
|
445
|
+ * XS6 Connector
|
|
446
|
+ * ======================
|
|
447
|
+ * | 5V | GND | NC | 20 | (20) PD1 ** Pin44 ** I2C_SDA
|
|
448
|
+ * |----|-----|----|----|
|
|
449
|
+ * | 50 | 51 | 52 | 21 | (50) PB3 ** Pin22 ** SPI_MISO
|
|
450
|
+ * ====================== (51) PB2 ** Pin21 ** SPI_MOSI
|
|
451
|
+ * (52) PB1 ** Pin20 ** SPI_SCK
|
|
452
|
+ * (21) PD0 ** Pin43 ** I2C_SCL
|
|
453
|
+ * XS1 Connector
|
|
454
|
+ * ======================
|
|
455
|
+ * | 5V | GND | NC | 47 | (47) PL2 ** Pin37 ** D47
|
|
456
|
+ * |----|-----|----|----|
|
|
457
|
+ * | 42 | 43 | 44 | 45 | (45) PL4 ** Pin39 ** D45
|
|
458
|
+ * ====================== (44) PL5 ** Pin40 ** D44
|
|
459
|
+ * (43) PL6 ** Pin41 ** D43
|
|
460
|
+ * (42) PL7 ** Pin42 ** D42
|
|
461
|
+ * Temperature
|
|
462
|
+ * ==================================
|
|
463
|
+ * | GND | 69 | GND | 68 | GND | 67 |
|
|
464
|
+ * ==================================
|
|
465
|
+ * (69) PK7 ** Pin82 ** A15
|
|
466
|
+ * (68) PK6 ** Pin83 ** A14
|
|
467
|
+ * (67) PK5 ** Pin84 ** A13
|
|
468
|
+ * Limit Switches
|
|
469
|
+ * ============
|
|
470
|
+ * | 2 | GND | X+ ( 2) PE4 ** Pin6 ** PWM2
|
|
471
|
+ * |----|-----|
|
|
472
|
+ * | 3 | GND | X- ( 3) PE5 ** Pin7 ** PWM3
|
|
473
|
+ * |----|-----|
|
|
474
|
+ * | 15 | GND | Y+ (15) PJ0 ** Pin63 ** USART3_RX
|
|
475
|
+ * |----|-----|
|
|
476
|
+ * | 14 | GND | Y- (14) PJ1 ** Pin64 ** USART3_TX
|
|
477
|
+ * |----|-----|
|
|
478
|
+ * | 19 | GND | Z+ (19) PD2 ** Pin45 ** USART1_RX
|
|
479
|
+ * |----|-----|
|
|
480
|
+ * | 18 | GND | Z- (18) PD3 ** Pin46 ** USART1_TX
|
|
481
|
+ * ============
|
|
482
|
+ * EXP1
|
|
483
|
+ * ============
|
|
484
|
+ * | 37 | 35 | (37) PC0 ** Pin53 ** D37
|
|
485
|
+ * |-----|----| (35) PC2 ** Pin55 ** D35
|
|
486
|
+ * | 17 | 16 | (17) PH0 ** Pin12 ** USART2_RX
|
|
487
|
+ * |-----|----| (16) PH1 ** Pin13 ** USART2_TX
|
|
488
|
+ * | 23 | 25 | (23) PA1 ** Pin77 ** D23
|
|
489
|
+ * |-----|----| (25) PA3 ** Pin75 ** D25
|
|
490
|
+ * | 27 | 29 | (27) PA5 ** Pin73 ** D27
|
|
491
|
+ * |-----|----| (29) PA7 ** Pin71 ** D29
|
|
492
|
+ * | GND | 5V |
|
|
493
|
+ * ============
|
|
494
|
+ * EXP2
|
|
495
|
+ * ============
|
|
496
|
+ * | 50 | 52 | (50) PB3 ** Pin22 ** SPI_MISO
|
|
497
|
+ * |-----|----| (52) PB1 ** Pin20 ** SPI_SCK
|
|
498
|
+ * | 31 | 53 | (31) PC6 ** Pin59 ** D31
|
|
499
|
+ * |-----|----| (53) PB0 ** Pin19 ** SPI_SS
|
|
500
|
+ * | 33 | 51 | (33) PC4 ** Pin57 ** D33
|
|
501
|
+ * |-----|----| (51) PB2 ** Pin21 ** SPI_MOSI
|
|
502
|
+ * | 49 | 41 | (49) PL0 ** Pin35 ** D49
|
|
503
|
+ * |-----|----| (41) PG0 ** Pin51 ** D41
|
|
504
|
+ * | GND | NC |
|
|
505
|
+ * ============
|
|
506
|
+ *
|
|
507
|
+ * PIN 12
|
|
508
|
+ * ======
|
|
509
|
+ * | 12 | (12) PB6 ** Pin25 ** D12
|
|
510
|
+ * ======
|
|
511
|
+*/
|