Browse Source

pins add old names

Bob-the-Kuhn 6 years ago
parent
commit
6f70e5618e
1 changed files with 123 additions and 121 deletions
  1. 123
    121
      Marlin/src/pins/pins_RAMPS_RE_ARM.h

+ 123
- 121
Marlin/src/pins/pins_RAMPS_RE_ARM.h View File

@@ -34,6 +34,8 @@
34 34
  *
35 35
  */
36 36
 
37
+// numbers in parenthesis () are the mega2560 equivalent pin numbers
38
+
37 39
 #ifndef TARGET_LPC1768
38 40
   #error "Oops!  Make sure you have LPC1768 selected."
39 41
 #endif
@@ -47,60 +49,60 @@
47 49
 //
48 50
 // Servos
49 51
 //
50
-#define SERVO0_PIN         P1_20
51
-#define SERVO1_PIN         P1_21  // also on J5-1
52
-#define SERVO2_PIN         P1_19
53
-#define SERVO3_PIN         P1_18  // 5V output - PWM capable
52
+#define SERVO0_PIN         P1_20  // (11)
53
+#define SERVO1_PIN         P1_21  // ( 6) also on J5-1
54
+#define SERVO2_PIN         P1_19  // ( 5)
55
+#define SERVO3_PIN         P1_18  // ( 4) 5V output - PWM capable
54 56
 
55 57
 //
56 58
 // Limit Switches
57 59
 //
58
-#define X_MIN_PIN          P1_24  //10k pullup to 3.3V, 1K series
59
-#define X_MAX_PIN          P1_25  //10k pullup to 3.3V, 1K series
60
-#define Y_MIN_PIN          P1_26  //10k pullup to 3.3V, 1K series
61
-#define Y_MAX_PIN          P1_27  //10k pullup to 3.3V, 1K series
62
-#define Z_MIN_PIN          P1_29  //10k pullup to 3.3V, 1K series
63
-#define Z_MAX_PIN          P1_28  //10k pullup to 3.3V, 1K series
60
+#define X_MIN_PIN          P1_24  // ( 3) 10k pullup to 3.3V, 1K series
61
+#define X_MAX_PIN          P1_25  // ( 2) 10k pullup to 3.3V, 1K series
62
+#define Y_MIN_PIN          P1_26  // (14) 10k pullup to 3.3V, 1K series
63
+#define Y_MAX_PIN          P1_27  // (15) 10k pullup to 3.3V, 1K series
64
+#define Z_MIN_PIN          P1_29  // (18) 10k pullup to 3.3V, 1K series
65
+#define Z_MAX_PIN          P1_28  // (19) 10k pullup to 3.3V, 1K series
64 66
 
65 67
 //
66 68
 // Steppers
67 69
 //
68
-#define X_STEP_PIN         P2_1
69
-#define X_DIR_PIN          P0_11
70
-#define X_ENABLE_PIN       P0_10
70
+#define X_STEP_PIN         P2_1   // (54)
71
+#define X_DIR_PIN          P0_11  // (55)
72
+#define X_ENABLE_PIN       P0_10  // (38)
71 73
 
72
-#define Y_STEP_PIN         P2_2
73
-#define Y_DIR_PIN          P0_20
74
-#define Y_ENABLE_PIN       P0_19
74
+#define Y_STEP_PIN         P2_2   // (60)
75
+#define Y_DIR_PIN          P0_20  // (61)
76
+#define Y_ENABLE_PIN       P0_19  // (56)
75 77
 
76
-#define Z_STEP_PIN         P2_3
77
-#define Z_DIR_PIN          P0_22
78
-#define Z_ENABLE_PIN       P0_21
78
+#define Z_STEP_PIN         P2_3   // (46)
79
+#define Z_DIR_PIN          P0_22  // (48)
80
+#define Z_ENABLE_PIN       P0_21  // (62)
79 81
 
80
-#define E0_STEP_PIN        P2_0
81
-#define E0_DIR_PIN         P0_5
82
-#define E0_ENABLE_PIN      P0_4
82
+#define E0_STEP_PIN        P2_0   // (26)
83
+#define E0_DIR_PIN         P0_5   // (28)
84
+#define E0_ENABLE_PIN      P0_4   // (24)
83 85
 
84
-#define E1_STEP_PIN        P2_8
85
-#define E1_DIR_PIN         P2_13
86
-#define E1_ENABLE_PIN      P4_29
86
+#define E1_STEP_PIN        P2_8   // (36)
87
+#define E1_DIR_PIN         P2_13  // (34)
88
+#define E1_ENABLE_PIN      P4_29  // (30)
87 89
 
88
-#define E2_STEP_PIN        P2_8
89
-#define E2_DIR_PIN         P2_13
90
-#define E2_ENABLE_PIN      P4_29
90
+#define E2_STEP_PIN        P2_8   // (36)
91
+#define E2_DIR_PIN         P2_13  // (34)
92
+#define E2_ENABLE_PIN      P4_29  // (30)
91 93
 
92 94
 //
93 95
 // Temperature Sensors
94 96
 //  3.3V max when defined as an analog input
95 97
 //
96
-#define TEMP_0_PIN         0  //A0 (T0) - D67 - TEMP_0_PIN
97
-#define TEMP_BED_PIN       1  //A1 (T1) - D68 - TEMP_BED_PIN
98
-#define TEMP_1_PIN         2  //A2 (T2) - D69 - TEMP_1_PIN
99
-#define TEMP_2_PIN         3  //A3 - D63 - J5-3 & AUX-2
100
-#define TEMP_3_PIN         4  //A4 - D37 - BUZZER_PIN
101
-//#define TEMP_4_PIN         5  //A5 - D49 - SD_DETECT_PIN
102
-//#define ??               6  //A6 - D0  - RXD0 - J4-4 & AUX-1
103
-#define FILWIDTH_PIN       7  //A7 - D1  - TXD0 - J4-5 & AUX-1
98
+#define TEMP_0_PIN         0  //A0 (T0) - (67) - TEMP_0_PIN
99
+#define TEMP_BED_PIN       1  //A1 (T1) - (68) - TEMP_BED_PIN
100
+#define TEMP_1_PIN         2  //A2 (T2) - (69) - TEMP_1_PIN
101
+#define TEMP_2_PIN         3  //A3 - (63) - J5-3 & AUX-2
102
+#define TEMP_3_PIN         4  //A4 - (37) - BUZZER_PIN
103
+//#define TEMP_4_PIN         5  //A5 - (49) - SD_DETECT_PIN
104
+//#define ??               6  //A6 - ( 0)  - RXD0 - J4-4 & AUX-1
105
+#define FILWIDTH_PIN       7  //A7 - ( 1)  - TXD0 - J4-5 & AUX-1
104 106
 
105 107
 
106 108
 //
@@ -127,13 +129,13 @@
127 129
   #define MOSFET_D_PIN   -1
128 130
 #endif
129 131
 #ifndef RAMPS_D8_PIN
130
-  #define RAMPS_D8_PIN   P2_7
132
+  #define RAMPS_D8_PIN   P2_7  // (8)
131 133
 #endif
132 134
 #ifndef RAMPS_D9_PIN
133
-  #define RAMPS_D9_PIN   P2_4
135
+  #define RAMPS_D9_PIN   P2_4  // (9)
134 136
 #endif
135 137
 #ifndef RAMPS_D10_PIN
136
-  #define RAMPS_D10_PIN  P2_5
138
+  #define RAMPS_D10_PIN  P2_5  // (10)
137 139
 #endif
138 140
 
139 141
 #define HEATER_0_PIN     RAMPS_D10_PIN
@@ -163,22 +165,22 @@
163 165
 #endif
164 166
 
165 167
 #ifndef FAN_PIN
166
-  #define FAN_PIN         P1_18 // IO pin. Buffer needed
168
+  #define FAN_PIN         P1_18 // (4) IO pin. Buffer needed
167 169
 #endif
168 170
 
169 171
 //
170 172
 // Misc. Functions
171 173
 //
172
-#define LED_PIN           P4_28
174
+#define LED_PIN           P4_28 // (13)
173 175
 
174
-// define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
175
-#define FIL_RUNOUT_PIN    P1_18
176
+// define digital pin 4 for ther t filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
177
+#define FIL_RUNOUT_PIN    P1_18  // (4)
176 178
 
177
-#define PS_ON_PIN         P2_12
179
+#define PS_ON_PIN         P2_12 // (12)
178 180
 
179 181
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
180 182
   #if !defined(NUM_SERVOS) || NUM_SERVOS < 4 // try to use servo connector
181
-    #define CASE_LIGHT_PIN    P1_18 // MUST BE HARDWARE PWM
183
+    #define CASE_LIGHT_PIN    P1_18 // (4) MUST BE HARDWARE PWM
182 184
   #endif
183 185
 #endif
184 186
 
@@ -190,17 +192,17 @@
190 192
     #undef  SERVO1
191 193
     #undef  SERVO2
192 194
     #undef  SERVO3
193
-    #define SPINDLE_LASER_ENABLE_PIN  P1_21  // Pin should have a pullup/pulldown!
194
-    #define SPINDLE_LASER_PWM_PIN     P1_18  // MUST BE HARDWARE PWM
195
-    #define SPINDLE_DIR_PIN           P1_19
195
+    #define SPINDLE_LASER_ENABLE_PIN  P1_21   // (6) Pin should have a pullup/pulldown!
196
+    #define SPINDLE_LASER_PWM_PIN     P1_18   // (4) MUST BE HARDWARE PWM
197
+    #define SPINDLE_DIR_PIN           P1_19   // (5)
196 198
   #endif
197 199
 #endif
198 200
 //
199 201
 // Průša i3 MK2 Multiplexer Support
200 202
 //
201
-#define E_MUX0_PIN         P0_3    // Z_CS_PIN
202
-#define E_MUX1_PIN         P0_2    // E0_CS_PIN
203
-#define E_MUX2_PIN         P0_26   // E1_CS_PIN
203
+#define E_MUX0_PIN         P0_3    // ( 0) Z_CS_PIN
204
+#define E_MUX1_PIN         P0_2    // ( 1) E0_CS_PIN
205
+#define E_MUX2_PIN         P0_26   // (63) E1_CS_PIN
204 206
 
205 207
 /**
206 208
  * LCD / Controller
@@ -223,76 +225,76 @@
223 225
 
224 226
 #if ENABLED(ULTRA_LCD)
225 227
 
226
-  #define BEEPER_PIN          P1_30  // not 5V tolerant
228
+  #define BEEPER_PIN          P1_30  // (37) not 5V tolerant
227 229
 
228
-  #define BTN_EN1             P3_26  // J3-2 & AUX-4
229
-  #define BTN_EN2             P3_25  // J3-4 & AUX-4
230
-  #define BTN_ENC             P2_11  // J3-3 & AUX-4
230
+  #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
231
+  #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
232
+  #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
231 233
 
232
-  #define SD_DETECT_PIN       P1_31  // not 5V tolerant   J3-1 & AUX-3
233
-  #define KILL_PIN            P1_22  // J5-4 & AUX-4
234
-  #define LCD_PINS_RS         P0_16  // J3-7 & AUX-4
235
-  #define LCD_SDSS            P0_16  // J3-7 & AUX-4
236
-  #define LCD_BACKLIGHT_PIN   P0_16  // J3-7 & AUX-4 - only used on DOGLCD controllers
237
-  #define LCD_PINS_ENABLE     P0_18  // (MOSI) J3-10 & AUX-3
238
-  #define LCD_PINS_D4         P0_15  // (SCK)  J3-9 & AUX-3
234
+  #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
235
+  #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
236
+  #define LCD_PINS_RS         P0_16  // (16) J3-7 & AUX-4
237
+  #define LCD_SDSS            P0_16  // (16) J3-7 & AUX-4
238
+  #define LCD_BACKLIGHT_PIN   P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
239
+  #define LCD_PINS_ENABLE     P0_18  // (51) (MOSI) J3-10 & AUX-3
240
+  #define LCD_PINS_D4         P0_15  // (52) (SCK)  J3-9 & AUX-3
239 241
 
240
-  #define DOGLCD_A0           P2_6   // J3-8 & AUX-2
241
-  #define DOGLCD_CS           P0_26  // J5-3 & AUX-2
242
+  #define DOGLCD_A0           P2_6   // (59) J3-8 & AUX-2
243
+  #define DOGLCD_CS           P0_26  // (63) J5-3 & AUX-2
242 244
 
243 245
   #ifdef ULTIPANEL
244
-    #define LCD_PINS_D5       P1_17  // ENET_MDIO
245
-    #define LCD_PINS_D6       P1_14  // ENET_RX_ER
246
-    #define LCD_PINS_D7       P1_10  // ENET_RXD1
246
+    #define LCD_PINS_D5       P1_17  // (71) ENET_MDIO
247
+    #define LCD_PINS_D6       P1_14  // (73) ENET_RX_ER
248
+    #define LCD_PINS_D7       P1_10  // (75) ENET_RXD1
247 249
   #endif
248 250
 
249 251
   #if ENABLED(NEWPANEL)
250 252
     #if ENABLED(REPRAPWORLD_KEYPAD)
251
-      #define SHIFT_OUT         P0_18  // (MOSI) J3-10 & AUX-3
252
-      #define SHIFT_CLK         P0_15  // (SCK)  J3-9 & AUX-3
253
-      #define SHIFT_LD          P1_31  // not 5V tolerant   J3-1 & AUX-3
253
+      #define SHIFT_OUT         P0_18  // (51)  (MOSI) J3-10 & AUX-3
254
+      #define SHIFT_CLK         P0_15  // (52)  (SCK)  J3-9 & AUX-3
255
+      #define SHIFT_LD          P1_31  // (49)  not 5V tolerant   J3-1 & AUX-3
254 256
     #endif
255 257
   #else
256
-    //#define SHIFT_CLK           P3_26  // J3-2 & AUX-4
257
-    //#define SHIFT_LD            P3_25  // J3-4 & AUX-4
258
-    //#define SHIFT_OUT           P2_11  // J3-3 & AUX-4
259
-    //#define SHIFT_EN            P1_22  // J5-4 & AUX-4
258
+    //#define SHIFT_CLK           P3_26  // (31)  J3-2 & AUX-4
259
+    //#define SHIFT_LD            P3_25  // (33)  J3-4 & AUX-4
260
+    //#define SHIFT_OUT           P2_11  // (35)  J3-3 & AUX-4
261
+    //#define SHIFT_EN            P1_22  // (41)  J5-4 & AUX-4
260 262
   #endif
261 263
 
262 264
   #if ENABLED(VIKI2) || ENABLED(miniVIKI)
263 265
     // #define LCD_SCREEN_ROT_180
264 266
 
265 267
     #undef  BEEPER_PIN
266
-    #define BEEPER_PIN          P1_30  // may change if cable changes
268
+    #define BEEPER_PIN          P1_30  // (37) may change if cable changes
267 269
 
268
-    #define BTN_EN1             P3_26  // J3-2 & AUX-4
269
-    #define BTN_EN2             P3_25  // J3-4 & AUX-4
270
-    #define BTN_ENC             P2_11  // J3-3 & AUX-4
270
+    #define BTN_EN1             P3_26  // (31) J3-2 & AUX-4
271
+    #define BTN_EN2             P3_25  // (33) J3-4 & AUX-4
272
+    #define BTN_ENC             P2_11  // (35) J3-3 & AUX-4
271 273
 
272
-    #define SD_DETECT_PIN       P1_31  // not 5V tolerant   J3-1 & AUX-3
273
-    #define KILL_PIN            P1_22  // J5-4 & AUX-4
274
+    #define SD_DETECT_PIN       P1_31  // (49) not 5V tolerant   J3-1 & AUX-3
275
+    #define KILL_PIN            P1_22  // (41) J5-4 & AUX-4
274 276
 
275 277
     #undef  DOGLCD_CS
276
-    #define DOGLCD_CS           P0_16
277
-    #undef  LCD_BACKLIGHT_PIN   //P0_16  // J3-7 & AUX-4 - only used on DOGLCD controllers
278
-    #undef  LCD_PINS_ENABLE     //P0_18  // (MOSI) J3-10 & AUX-3
279
-    #undef  LCD_PINS_D4         //P0_15  // (SCK)  J3-9 & AUX-3
280
-
281
-    #undef  LCD_PINS_D5         //P2_6   // J3-8 & AUX-2
282
-    #define DOGLCD_A0           P2_6   // J3-8 & AUX-2
283
-    #undef  LCD_PINS_D6         //P0_26  // J5-3 & AUX-2
284
-    #undef  LCD_PINS_D7         //P1_21  // (SERVO1) J5-1 & SERVO connector
278
+    #define DOGLCD_CS           P0_16   // (16)
279
+    #undef  LCD_BACKLIGHT_PIN   //P0_16  // (16) J3-7 & AUX-4 - only used on DOGLCD controllers
280
+    #undef  LCD_PINS_ENABLE     //P0_18  // (51) (MOSI) J3-10 & AUX-3
281
+    #undef  LCD_PINS_D4         //P0_15  // (52) (SCK)  J3-9 & AUX-3
282
+
283
+    #undef  LCD_PINS_D5         //P2_6   // (59) J3-8 & AUX-2
284
+    #define DOGLCD_A0           P2_6   // (59) J3-8 & AUX-2
285
+    #undef  LCD_PINS_D6         //P0_26  // (63) J5-3 & AUX-2
286
+    #undef  LCD_PINS_D7         //P1_21  // ( 6) (SERVO1) J5-1 & SERVO connector
285 287
     #define DOGLCD_SCK          SCK_PIN
286 288
     #define DOGLCD_MOSI         MOSI_PIN
287 289
 
288
-    #define STAT_LED_BLUE_PIN   P0_26  // may change if cable changes
289
-    #define STAT_LED_RED_PIN    P1_21  // may change if cable changes
290
+    #define STAT_LED_BLUE_PIN   P0_26  // (63)  may change if cable changes
291
+    #define STAT_LED_RED_PIN    P1_21  // ( 6)  may change if cable changes
290 292
   #endif
291 293
 
292
-  //#define MISO_PIN            P0_17  // system defined J3-10 & AUX-3
293
-  //#define MOSI_PIN            P0_18  // system defined J3-10 & AUX-3
294
-  //#define SCK_PIN             P0_15  // system defined J3-9 & AUX-3
295
-  //#define SS_PIN              P1_23  // system defined J3-5 & AUX-3 - sometimes called SDSS
294
+  //#define MISO_PIN            P0_17  // (50)  system defined J3-10 & AUX-3
295
+  //#define MOSI_PIN            P0_18  // (51)  system defined J3-10 & AUX-3
296
+  //#define SCK_PIN             P0_15  // (52)  system defined J3-9 & AUX-3
297
+  //#define SS_PIN              P1_23  // (53)  system defined J3-5 & AUX-3 - sometimes called SDSS
296 298
 
297 299
   #if ENABLED(MINIPANEL)
298 300
     // GLCD features
@@ -309,17 +311,17 @@
309 311
 // Ethernet pins
310 312
 //
311 313
 #ifndef ULTIPANEL
312
-  #define ENET_MDIO   P1_17  // J12-4
313
-  #define ENET_RX_ER  P1_14  // J12-6
314
-  #define ENET_RXD1   P1_10  // J12-8
314
+  #define ENET_MDIO   P1_17  // (71)  J12-4
315
+  #define ENET_RX_ER  P1_14  // (73)  J12-6
316
+  #define ENET_RXD1   P1_10  // (75)  J12-8
315 317
 #endif
316
-#define ENET_MOC      P1_16  // J12-3
317
-#define REF_CLK       P1_15  // J12-5
318
-#define ENET_RXD0     P1_9   // J12-7
319
-#define ENET_CRS      P1_8   // J12-9
320
-#define ENET_TX_EN    P1_4   // J12-10
321
-#define ENET_TXD0     P1_0   // J12-11
322
-#define ENET_TXD1     P1_1   // J12-12
318
+#define ENET_MOC      P1_16  // (70)  J12-3
319
+#define REF_CLK       P1_15  // (72)  J12-5
320
+#define ENET_RXD0     P1_9   // (74)  J12-7
321
+#define ENET_CRS      P1_8   // (76)  J12-9
322
+#define ENET_TX_EN    P1_4   // (77)  J12-10
323
+#define ENET_TXD0     P1_0   // (78)  J12-11
324
+#define ENET_TXD1     P1_1   // (79)  J12-12
323 325
 
324 326
 /**
325 327
  *  PWMS
@@ -328,25 +330,25 @@
328 330
  *
329 331
  *  SERVO2 does NOT have a PWM assigned to it.
330 332
  *
331
- *  PWM1.1   P0_18   SERVO3_PIN       FIL_RUNOUT_PIN   5V output, PWM
332
- *  PWM1.1   P2_0    E0_STEP_PIN
333
- *  PWM1.2   P1_20   SERVO0_PIN
334
- *  PWM1.2   P2_1    X_STEP_PIN
335
- *  PWM1.3   P1_21   SERVO1_PIN       J5-1
336
- *  PWM1.3   P2_2    Y_STEP_PIN
337
- *  PWM1.4   P1_23   SDSS(SSEL0)      J3-5  AUX-3
338
- *  PWM1.4   P2_3    Z_STEP_PIN
339
- *  PWM1.5   P1_24   X_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
340
- *  PWM1.5   P2_4    RAMPS_D9_PIN
341
- *  PWM1.6   P1_26   Y_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
342
- *  PWM1.6   P2_5    RAMPS_D10_PIN
333
+ *  PWM1.1   P0_18 ( 4)   SERVO3_PIN       FIL_RUNOUT_PIN   5V output, PWM
334
+ *  PWM1.1   P2_0  (26)   E0_STEP_PIN
335
+ *  PWM1.2   P1_20 (11)   SERVO0_PIN
336
+ *  PWM1.2   P2_1  (54)   X_STEP_PIN
337
+ *  PWM1.3   P1_21 ( 6)   SERVO1_PIN       J5-1
338
+ *  PWM1.3   P2_2  (60)   Y_STEP_PIN
339
+ *  PWM1.4   P1_23 (53)   SDSS(SSEL0)      J3-5  AUX-3
340
+ *  PWM1.4   P2_3  (46)   Z_STEP_PIN
341
+ *  PWM1.5   P1_24 ( 3)   X_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
342
+ *  PWM1.5   P2_4  ( 9)   RAMPS_D9_PIN
343
+ *  PWM1.6   P1_26 (14)   Y_MIN_PIN        10K PULLUP TO 3.3v, 1K SERIES
344
+ *  PWM1.6   P2_5  (10)   RAMPS_D10_PIN
343 345
  */
344 346
 
345 347
  /**
346 348
   * special pins
347
-  *   P1_30 - not 5V tolerant
348
-  *   P1_31 - not 5V tolerant
349
-  *   P0_27 - open collector
350
-  *   P0_28 - open collector
349
+  *   P1_30  (37) - not 5V tolerant
350
+  *   P1_31  (49) - not 5V tolerant
351
+  *   P0_27  (57) - open collector
352
+  *   P0_28  (58) - open collector
351 353
   *
352 354
  */

Loading…
Cancel
Save