Pārlūkot izejas kodu

Split up pins to make it more manageable

Hopefully this is helpful to organization and future expansion….
Scott Lahteine 9 gadus atpakaļ
vecāks
revīzija
86f1d1cfc3
44 mainītis faili ar 3018 papildinājumiem un 2940 dzēšanām
  1. 1
    1
      Marlin/boards.h
  2. 101
    2939
      Marlin/pins.h
  3. 39
    0
      Marlin/pins_3DRAG.h
  4. 75
    0
      Marlin/pins_5DPRINT.h
  5. 38
    0
      Marlin/pins_99.h
  6. 7
    0
      Marlin/pins_AZTEEG_X1.h
  7. 15
    0
      Marlin/pins_AZTEEG_X3.h
  8. 30
    0
      Marlin/pins_AZTEEG_X3_PRO.h
  9. 61
    0
      Marlin/pins_BRAINWAVE.h
  10. 95
    0
      Marlin/pins_CHEAPTRONIC.h
  11. 43
    0
      Marlin/pins_DUEMILANOVE_328P.h
  12. 116
    0
      Marlin/pins_ELEFU_3.h
  13. 61
    0
      Marlin/pins_GEN3_MONOLITHIC.h
  14. 45
    0
      Marlin/pins_GEN3_PLUS.h
  15. 62
    0
      Marlin/pins_GEN6.h
  16. 5
    0
      Marlin/pins_GEN6_DELUXE.h
  17. 72
    0
      Marlin/pins_GEN7_12.h
  18. 8
    0
      Marlin/pins_GEN7_13.h
  19. 60
    0
      Marlin/pins_GEN7_14.h
  20. 76
    0
      Marlin/pins_GEN7_CUSTOM.h
  21. 6
    0
      Marlin/pins_K8200.h
  22. 62
    0
      Marlin/pins_LEAPFROG.h
  23. 92
    0
      Marlin/pins_MEGATRONICS.h
  24. 88
    0
      Marlin/pins_MEGATRONICS_1.h
  25. 103
    0
      Marlin/pins_MEGATRONICS_2.h
  26. 11
    0
      Marlin/pins_MELZI.h
  27. 15
    0
      Marlin/pins_MELZI_1284.h
  28. 91
    0
      Marlin/pins_OMCA.h
  29. 78
    0
      Marlin/pins_OMCA_A.h
  30. 88
    0
      Marlin/pins_PRINTRBOARD.h
  31. 165
    0
      Marlin/pins_RAMBO.h
  32. 227
    0
      Marlin/pins_RAMPS_13.h
  33. 69
    0
      Marlin/pins_RAMPS_OLD.h
  34. 110
    0
      Marlin/pins_RUMBA.h
  35. 172
    0
      Marlin/pins_SANGUINOLOLU_11.h
  36. 19
    0
      Marlin/pins_SANGUINOLOLU_12.h
  37. 88
    0
      Marlin/pins_SAV_MKI.h
  38. 71
    0
      Marlin/pins_SETHI.h
  39. 11
    0
      Marlin/pins_STB_11.h
  40. 115
    0
      Marlin/pins_TEENSY2.h
  41. 85
    0
      Marlin/pins_TEENSYLU.h
  42. 80
    0
      Marlin/pins_ULTIMAIN_2.h
  43. 100
    0
      Marlin/pins_ULTIMAKER.h
  44. 62
    0
      Marlin/pins_ULTIMAKER_OLD.h

+ 1
- 1
Marlin/boards.h Parādīt failu

@@ -14,7 +14,7 @@
14 14
 #define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
15 15
 #define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
16 16
 #define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
17
-#define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignment
17
+#define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
18 18
 #define BOARD_GEN6              5    // Gen6
19 19
 #define BOARD_GEN6_DELUXE       51   // Gen6 deluxe
20 20
 #define BOARD_SANGUINOLOLU_11   6    // Sanguinololu < 1.2

+ 101
- 2939
Marlin/pins.h
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 39
- 0
Marlin/pins_3DRAG.h Parādīt failu

@@ -0,0 +1,39 @@
1
+/**
2
+ * 3DRAG (and K8200) Arduino Mega with RAMPS v1.3 pin assignments
3
+ */
4
+
5
+#include "pins_RAMPS_13.h"
6
+
7
+#define X_MAX_PIN           -1   //2 //Max endstops default to disabled "-1", set to commented value to enable.
8
+
9
+#define Y_MAX_PIN          -1   //15
10
+
11
+#define Z_MAX_PIN          -1
12
+
13
+#define SDSS               25//53
14
+
15
+#define BEEPER             33
16
+
17
+#define FAN_PIN            8
18
+
19
+#define HEATER_0_PIN       10
20
+#define HEATER_1_PIN       12
21
+#define HEATER_2_PIN       6
22
+
23
+#define HEATER_BED_PIN     9    // BED
24
+
25
+#if defined(ULTRA_LCD) && defined(NEWPANEL)
26
+  #define BEEPER -1
27
+
28
+  #define LCD_PINS_RS 27
29
+  #define LCD_PINS_ENABLE 29
30
+  #define LCD_PINS_D4 37
31
+  #define LCD_PINS_D5 35
32
+  #define LCD_PINS_D6 33
33
+  #define LCD_PINS_D7 31
34
+
35
+  // Buttons
36
+  #define BTN_EN1 16
37
+  #define BTN_EN2 17
38
+  #define BTN_ENC 23 //the click
39
+#endif // ULTRA_LCD && NEWPANEL

+ 75
- 0
Marlin/pins_5DPRINT.h Parādīt failu

@@ -0,0 +1,75 @@
1
+/**
2
+ * 5DPrint D8 Driver board pin assignments
3
+ *
4
+ * https://bitbucket.org/makible/5dprint-d8-controller-board
5
+ */
6
+
7
+#ifndef __AVR_AT90USB1286__
8
+  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
9
+#endif
10
+
11
+#define AT90USB 1286  // Disable MarlinSerial etc.
12
+
13
+#define LARGE_FLASH        true
14
+
15
+#define X_STEP_PIN          0
16
+#define X_DIR_PIN           1
17
+#define X_ENABLE_PIN       23
18
+#define X_STOP_PIN         37
19
+
20
+#define Y_STEP_PIN          2
21
+#define Y_DIR_PIN           3
22
+#define Y_ENABLE_PIN       19
23
+#define Y_STOP_PIN         36
24
+
25
+#define Z_STEP_PIN          4
26
+#define Z_DIR_PIN           5
27
+#define Z_ENABLE_PIN       18
28
+#define Z_STOP_PIN         39
29
+
30
+#define E0_STEP_PIN         6
31
+#define E0_DIR_PIN          7
32
+#define E0_ENABLE_PIN      17
33
+
34
+#define HEATER_0_PIN       21  // Extruder
35
+#define HEATER_1_PIN       -1
36
+#define HEATER_2_PIN       -1
37
+#define HEATER_BED_PIN     20  // Bed
38
+// You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
39
+// for the fan and Teensyduino uses a different pin mapping.
40
+#define FAN_PIN            16  // Fan
41
+
42
+#define TEMP_0_PIN          1  // Extruder / Analog pin numbering
43
+#define TEMP_BED_PIN        0  // Bed / Analog pin numbering
44
+
45
+#define TEMP_1_PIN         -1
46
+#define TEMP_2_PIN         -1
47
+
48
+#define SDPOWER            -1
49
+#define LED_PIN            -1
50
+#define PS_ON_PIN          -1
51
+#define KILL_PIN           -1
52
+#define ALARM_PIN          -1
53
+
54
+// The SDSS pin uses a different pin mapping from file Sd2PinMap.h
55
+#define SDSS               20
56
+
57
+#ifndef SDSUPPORT
58
+// these pins are defined in the SD library if building with SD support
59
+  #define SCK_PIN           9
60
+  #define MISO_PIN         11
61
+  #define MOSI_PIN         10
62
+#endif
63
+
64
+// Microstepping pins
65
+// Note that the pin mapping is not from fastio.h
66
+// See Sd2PinMap.h for the pin configurations
67
+#define X_MS1_PIN 25
68
+#define X_MS2_PIN 26
69
+#define Y_MS1_PIN 9
70
+#define Y_MS2_PIN 8
71
+#define Z_MS1_PIN 7
72
+#define Z_MS2_PIN 6
73
+#define E0_MS1_PIN 5
74
+#define E0_MS2_PIN 4
75
+

+ 38
- 0
Marlin/pins_99.h Parādīt failu

@@ -0,0 +1,38 @@
1
+/**
2
+ * Board 99 pin assignments
3
+ */
4
+
5
+#define X_STEP_PIN          2
6
+#define X_DIR_PIN           3
7
+#define X_ENABLE_PIN        -1
8
+#define X_STOP_PIN          16
9
+
10
+#define Y_STEP_PIN          5
11
+#define Y_DIR_PIN           6
12
+#define Y_ENABLE_PIN       -1
13
+#define Y_STOP_PIN          67
14
+
15
+#define Z_STEP_PIN          62
16
+#define Z_DIR_PIN           63
17
+#define Z_ENABLE_PIN       -1
18
+#define Z_STOP_PIN          59
19
+
20
+#define E0_STEP_PIN         65
21
+#define E0_DIR_PIN          66
22
+#define E0_ENABLE_PIN      -1
23
+
24
+#define SDPOWER            -1
25
+#define SDSS               53
26
+#define LED_PIN            -1
27
+#define FAN_PIN            -1
28
+#define PS_ON_PIN           9
29
+#define KILL_PIN           -1
30
+
31
+#define HEATER_0_PIN        13
32
+#define HEATER_1_PIN       -1
33
+#define HEATER_2_PIN       -1
34
+#define TEMP_0_PIN          6   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
35
+#define TEMP_1_PIN         -1   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
36
+#define TEMP_2_PIN         -1   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
37
+#define HEATER_BED_PIN      4
38
+#define TEMP_BED_PIN       10

+ 7
- 0
Marlin/pins_AZTEEG_X1.h Parādīt failu

@@ -0,0 +1,7 @@
1
+/**
2
+ * Azteeg X1 pin assignments
3
+ */
4
+
5
+#define SANGUINOLOLU_V_1_2
6
+
7
+#include "pins_SANGUINOLOLU_11.h"

+ 15
- 0
Marlin/pins_AZTEEG_X3.h Parādīt failu

@@ -0,0 +1,15 @@
1
+/**
2
+ * Arduino Mega pin assignments
3
+ *
4
+ * RAMPS_OLD 
5
+ * RAMPS_13_EFB 
6
+ * RAMPS_13_EEB 
7
+ * RAMPS_13_EFF 
8
+ * RAMPS_13_EEF
9
+ * 3DRAG
10
+ * K8200
11
+ * AZTEEG_X3
12
+ * AZTEEG_X3_PRO
13
+ */
14
+
15
+#include "pins_RAMPS_13.h"

+ 30
- 0
Marlin/pins_AZTEEG_X3_PRO.h Parādīt failu

@@ -0,0 +1,30 @@
1
+/**
2
+ * AZTEEG_X3_PRO (Arduino Mega) pin assignments
3
+ */
4
+
5
+#include "pins_RAMPS_13.h"
6
+
7
+#define E2_STEP_PIN        23
8
+#define E2_DIR_PIN         25
9
+#define E2_ENABLE_PIN      40
10
+
11
+#define E3_STEP_PIN        27
12
+#define E3_DIR_PIN         29
13
+#define E3_ENABLE_PIN      41
14
+
15
+#define E4_STEP_PIN        43
16
+#define E4_DIR_PIN         37
17
+#define E4_ENABLE_PIN      42
18
+
19
+#define HEATER_2_PIN       16
20
+#define HEATER_3_PIN       17
21
+#define HEATER_4_PIN       4
22
+#define HEATER_5_PIN       5
23
+#define HEATER_6_PIN       6
24
+#define HEATER_7_PIN       11
25
+
26
+#define TEMP_2_PIN         12   // ANALOG NUMBERING
27
+#define TEMP_3_PIN         11   // ANALOG NUMBERING
28
+#define TEMP_4_PIN         10   // ANALOG NUMBERING
29
+#define TC1                4    // ANALOG NUMBERING Thermo couple on Azteeg X3Pro
30
+#define TC2                5    // ANALOG NUMBERING Thermo couple on Azteeg X3Pro

+ 61
- 0
Marlin/pins_BRAINWAVE.h Parādīt failu

@@ -0,0 +1,61 @@
1
+/**
2
+ * Brainwave 1.0 pin assignments (AT90USB646)
3
+ *
4
+ * Requires hardware bundle for Arduino:
5
+ * https://github.com/unrepentantgeek/brainwave-arduino
6
+ */
7
+
8
+#ifndef __AVR_AT90USB646__
9
+  #error Oops!  Make sure you have 'Brainwave' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+#define AT90USB 646  // Disable MarlinSerial etc.
13
+
14
+#define X_STEP_PIN         27
15
+#define X_DIR_PIN          29
16
+#define X_ENABLE_PIN       28
17
+#define X_STOP_PIN          7
18
+#define X_ATT_PIN          26
19
+
20
+#define Y_STEP_PIN         31
21
+#define Y_DIR_PIN          33
22
+#define Y_ENABLE_PIN       32
23
+#define Y_STOP_PIN          6
24
+#define Y_ATT_PIN          30
25
+
26
+#define Z_STEP_PIN         17
27
+#define Z_DIR_PIN          19
28
+#define Z_ENABLE_PIN       18
29
+#define Z_STOP_PIN          5
30
+#define Z_ATT_PIN          16
31
+
32
+#define E0_STEP_PIN        21
33
+#define E0_DIR_PIN         23
34
+#define E0_ENABLE_PIN      22
35
+#define E0_ATT_PIN         20
36
+
37
+#define HEATER_0_PIN        4  // Extruder
38
+#define HEATER_1_PIN       -1
39
+#define HEATER_2_PIN       -1
40
+#define HEATER_BED_PIN     38  // Bed
41
+#define FAN_PIN             3  // Fan
42
+
43
+#define TEMP_0_PIN          7  // Extruder / Analog pin numbering
44
+#define TEMP_1_PIN         -1
45
+#define TEMP_2_PIN         -1
46
+#define TEMP_BED_PIN        6  // Bed / Analog pin numbering
47
+
48
+#define SDPOWER            -1
49
+#define SDSS               -1
50
+#define LED_PIN            39
51
+#define PS_ON_PIN          -1
52
+#define KILL_PIN           -1
53
+#define ALARM_PIN          -1
54
+
55
+#ifndef SDSUPPORT
56
+  // these pins are defined in the SD library if building with SD support
57
+  #define SCK_PIN           9
58
+  #define MISO_PIN         11
59
+  #define MOSI_PIN         10
60
+#endif
61
+

+ 95
- 0
Marlin/pins_CHEAPTRONIC.h Parādīt failu

@@ -0,0 +1,95 @@
1
+/**
2
+ * Cheaptronic v1.0 pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH        true
10
+
11
+// X motor stepper
12
+#define X_STEP_PIN 14
13
+#define X_DIR_PIN 15
14
+#define X_ENABLE_PIN 24
15
+
16
+// X endstop
17
+#define X_MIN_PIN 3
18
+#define X_MAX_PIN -1
19
+
20
+// Y motor stepper
21
+#define Y_STEP_PIN 35
22
+#define Y_DIR_PIN 36
23
+#define Y_ENABLE_PIN 31
24
+
25
+// Y endstop
26
+#define Y_MIN_PIN 2
27
+#define Y_MAX_PIN -1
28
+
29
+// Z motor stepper
30
+#define Z_STEP_PIN 40
31
+#define Z_DIR_PIN 41
32
+#define Z_ENABLE_PIN 37
33
+
34
+// Z endstop
35
+#define Z_MIN_PIN 5
36
+#define Z_MAX_PIN -1
37
+
38
+// Extruder 0 stepper
39
+#define E0_STEP_PIN 26
40
+#define E0_DIR_PIN 28
41
+#define E0_ENABLE_PIN 25
42
+
43
+// Extruder 1 stepper
44
+#define E1_STEP_PIN 33
45
+#define E1_DIR_PIN 34
46
+#define E1_ENABLE_PIN 30
47
+
48
+#define SDPOWER -1
49
+#define SDSS -1
50
+#define LED_PIN -1
51
+
52
+// FAN
53
+#define FAN_PIN -1
54
+
55
+#define PS_ON_PIN -1
56
+#define KILL_PIN -1
57
+
58
+#define HEATER_0_PIN 19 // EXTRUDER 1
59
+#define HEATER_1_PIN 23 // EXTRUDER 2
60
+// HeatedBad
61
+#define HEATER_BED_PIN 22
62
+// Cheaptronic v1.0 hasent EXTRUDER 3
63
+#define HEATER_2_PIN -1
64
+
65
+// Temperature sensors
66
+#define TEMP_0_PIN 15
67
+#define TEMP_1_PIN 14
68
+#define TEMP_2_PIN -1
69
+#define TEMP_BED_PIN 13
70
+
71
+// Cheaptronic v1.0 doesn't support LCD
72
+#define LCD_PINS_RS -1
73
+#define LCD_PINS_ENABLE -1
74
+#define LCD_PINS_D4 -1
75
+#define LCD_PINS_D5 -1
76
+#define LCD_PINS_D6 -1
77
+#define LCD_PINS_D7 -1
78
+
79
+// Cheaptronic v1.0 doesn't support keypad
80
+#define BTN_EN1 -1
81
+#define BTN_EN2 -1
82
+#define BTN_ENC -1
83
+
84
+#define BLEN_C 2
85
+#define BLEN_B 1
86
+#define BLEN_A 0
87
+
88
+// Cheaptronic v1.0 does not use this port
89
+#define SDCARDDETECT -1
90
+
91
+// Encoder rotation values
92
+#define encrot0 0
93
+#define encrot1 2
94
+#define encrot2 3
95
+#define encrot3 1

+ 43
- 0
Marlin/pins_DUEMILANOVE_328P.h Parādīt failu

@@ -0,0 +1,43 @@
1
+/**
2
+ * Duemilanove w/ ATMega328P pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega328P__
6
+  #error Oops!  Make sure you have 'Arduino Duemilanove w/ ATMega328' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN         19
10
+#define X_DIR_PIN          18
11
+#define X_ENABLE_PIN       -1
12
+#define X_STOP_PIN         17
13
+
14
+#define Y_STEP_PIN         10
15
+#define Y_DIR_PIN           7
16
+#define Y_ENABLE_PIN       -1
17
+#define Y_STOP_PIN          8
18
+
19
+#define Z_STEP_PIN         13
20
+#define Z_DIR_PIN           3
21
+#define Z_ENABLE_PIN        2
22
+#define Z_STOP_PIN          4
23
+
24
+#define E0_STEP_PIN         11
25
+#define E0_DIR_PIN          12
26
+#define E0_ENABLE_PIN       -1
27
+
28
+#define SDPOWER          -1
29
+#define SDSS          -1
30
+#define LED_PIN            -1
31
+#define FAN_PIN             5
32
+#define PS_ON_PIN          -1
33
+#define KILL_PIN           -1
34
+
35
+#define HEATER_0_PIN        6
36
+#define HEATER_1_PIN        -1
37
+#define HEATER_2_PIN        -1
38
+#define TEMP_0_PIN          0    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
39
+#define TEMP_1_PIN          -1
40
+#define TEMP_2_PIN          -1
41
+#define HEATER_BED_PIN      -1
42
+#define TEMP_BED_PIN        -1
43
+

+ 116
- 0
Marlin/pins_ELEFU_3.h Parādīt failu

@@ -0,0 +1,116 @@
1
+/**
2
+ * Elefu RA Board Pin Assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN         49
10
+#define X_DIR_PIN          13
11
+#define X_ENABLE_PIN       48
12
+#define X_MIN_PIN          35
13
+#define X_MAX_PIN          -1 //34
14
+
15
+#define Y_STEP_PIN         11
16
+#define Y_DIR_PIN          9
17
+#define Y_ENABLE_PIN       12
18
+#define Y_MIN_PIN          33
19
+#define Y_MAX_PIN          -1 //32
20
+
21
+#define Z_STEP_PIN         7
22
+#define Z_DIR_PIN          6
23
+#define Z_ENABLE_PIN       8
24
+#define Z_MIN_PIN          31
25
+#define Z_MAX_PIN          -1 //30
26
+
27
+#define E2_STEP_PIN        43
28
+#define E2_DIR_PIN         47
29
+#define E2_ENABLE_PIN      42
30
+
31
+#define E1_STEP_PIN        18
32
+#define E1_DIR_PIN         19
33
+#define E1_ENABLE_PIN      38
34
+
35
+#define E0_STEP_PIN        40
36
+#define E0_DIR_PIN         41
37
+#define E0_ENABLE_PIN      37
38
+
39
+#define SDPOWER            -1
40
+#define LED_PIN            -1 //Use +12V Aux port for LED Ring
41
+
42
+#define FAN_PIN            16 //5V PWM
43
+
44
+#define PS_ON_PIN          10 //Set to -1 if using a manual switch on the PWRSW Connector
45
+#define SLEEP_WAKE_PIN     26 //This feature still needs work
46
+
47
+#define HEATER_0_PIN       45 //12V PWM1
48
+#define HEATER_1_PIN       46 //12V PWM2
49
+#define HEATER_2_PIN       17 //12V PWM3
50
+#define HEATER_BED_PIN     44 //DOUBLE 12V PWM
51
+#define TEMP_0_PIN         3  //ANALOG NUMBERING
52
+#define TEMP_1_PIN         2  //ANALOG NUMBERING
53
+#define TEMP_2_PIN         1  //ANALOG NUMBERING
54
+#define TEMP_BED_PIN       0  //ANALOG NUMBERING
55
+
56
+#define BEEPER             36
57
+
58
+#define KILL_PIN           -1
59
+
60
+// M240  Triggers a camera by emulating a Canon RC-1 Remote
61
+// Data from: http://www.doc-diy.net/photo/rc-1_hacked/
62
+#define PHOTOGRAPH_PIN     29
63
+
64
+#ifdef RA_CONTROL_PANEL
65
+
66
+  #define SDSS             53
67
+  #define SDCARDDETECT     28
68
+
69
+  #define BTN_EN1          14
70
+  #define BTN_EN2          39
71
+  #define BTN_ENC          15  //the click
72
+
73
+  #define BLEN_C           2
74
+  #define BLEN_B           1
75
+  #define BLEN_A           0
76
+
77
+  //encoder rotation values
78
+  #define encrot0          0
79
+  #define encrot1          2
80
+  #define encrot2          3
81
+  #define encrot3          1
82
+
83
+#endif // RA_CONTROL_PANEL
84
+
85
+#ifdef RA_DISCO
86
+  //variables for which pins the TLC5947 is using
87
+  #define TLC_CLOCK_PIN    25
88
+  #define TLC_BLANK_PIN    23
89
+  #define TLC_XLAT_PIN     22
90
+  #define TLC_DATA_PIN     24
91
+
92
+  //We also need to define pin to port number mapping for the 2560 to match the pins listed above. If you change the TLC pins, update this as well per the 2560 datasheet!
93
+  //This currently only works with the RA Board.
94
+  #define TLC_CLOCK_BIT 3 //bit 3 on port A
95
+  #define TLC_CLOCK_PORT &PORTA //bit 3 on port A
96
+
97
+  #define TLC_BLANK_BIT 1 //bit 1 on port A
98
+  #define TLC_BLANK_PORT &PORTA //bit 1 on port A
99
+
100
+  #define TLC_DATA_BIT 2 //bit 2 on port A
101
+  #define TLC_DATA_PORT &PORTA //bit 2 on port A
102
+
103
+  #define TLC_XLAT_BIT 0 //bit 0 on port A
104
+  #define TLC_XLAT_PORT &PORTA //bit 0 on port A
105
+
106
+  //change this to match your situation. Lots of TLCs takes up the arduino SRAM very quickly, so be careful
107
+  //Leave it at at least 1 if you have enabled RA_LIGHTING
108
+  //The number of TLC5947 boards chained together for use with the animation, additional ones will repeat the animation on them, but are not individually addressable and mimic those before them. You can leave the default at 2 even if you only have 1 TLC5947 module.
109
+  #define NUM_TLCS 2
110
+
111
+  //These TRANS_ARRAY values let you change the order the LEDs on the lighting modules will animate for chase functions.
112
+  //Modify them according to your specific situation.
113
+  //NOTE: the array should be 8 long for every TLC you have. These defaults assume (2) TLCs.
114
+  #define TRANS_ARRAY {0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8} //forwards
115
+  //#define TRANS_ARRAY {7, 6, 5, 4, 3, 2, 1, 0, 8, 9, 10, 11, 12, 13, 14, 15} //backwards
116
+#endif // RA_DISCO

+ 61
- 0
Marlin/pins_GEN3_MONOLITHIC.h Parādīt failu

@@ -0,0 +1,61 @@
1
+/**
2
+ * Gen3 Monolithic Electronics pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega644P__
6
+  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define DEBUG_PIN 0
10
+
11
+// x axis
12
+#define X_STEP_PIN 15
13
+#define X_DIR_PIN 18
14
+#define X_MIN_PIN 20
15
+// Alex Checar #define X_STOP_PIN         20
16
+#define X_ENABLE_PIN 24 // actually uses Y_enable_pin
17
+#define X_MAX_PIN -1
18
+
19
+// y axis
20
+#define Y_STEP_PIN 23
21
+#define Y_DIR_PIN 22
22
+#define Y_MIN_PIN 25
23
+// Alex Checar #define Y_STOP_PIN         25
24
+#define Y_ENABLE_PIN 24 // shared with X_enable_pin
25
+#define Y_MAX_PIN -1
26
+
27
+// z axis
28
+#define Z_STEP_PIN 27
29
+#define Z_DIR_PIN 28
30
+#define Z_MIN_PIN 30
31
+// Alex Checar #define Z_STOP_PIN         30
32
+#define Z_ENABLE_PIN 29
33
+#define Z_MAX_PIN -1
34
+
35
+// extruder pins
36
+#define E0_STEP_PIN         12
37
+#define E0_DIR_PIN          17
38
+#define E0_ENABLE_PIN       3
39
+
40
+#define HEATER_0_PIN 16
41
+#define TEMP_0_PIN 0
42
+
43
+#define FAN_PIN -1
44
+
45
+// bed pins
46
+#define HEATER_BED_PIN -1
47
+#define TEMP_BED_PIN -1
48
+
49
+
50
+#define SDSS     -1
51
+#define SDPOWER          -1
52
+#define LED_PIN          -1
53
+
54
+// pin for controlling the PSU.
55
+#define PS_ON_PIN       14  // Alex, Do this work on the card?
56
+
57
+// Alex extras from Gen3+
58
+#define KILL_PIN           -1
59
+#define TEMP_1_PIN         -1
60
+#define TEMP_2_PIN         -1
61
+#define HEATER_2_PIN       -1

+ 45
- 0
Marlin/pins_GEN3_PLUS.h Parādīt failu

@@ -0,0 +1,45 @@
1
+/**
2
+ * Gen3+ pin assignments
3
+ */
4
+
5
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
6
+  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN         15
10
+#define X_DIR_PIN          18
11
+#define X_STOP_PIN         20
12
+
13
+#define Y_STEP_PIN         23
14
+#define Y_DIR_PIN          22
15
+#define Y_STOP_PIN         25
16
+
17
+#define Z_STEP_PIN         27
18
+#define Z_DIR_PIN          28
19
+#define Z_STOP_PIN         30
20
+
21
+#define E0_STEP_PIN        17
22
+#define E0_DIR_PIN         21
23
+
24
+#define LED_PIN            -1
25
+
26
+#define FAN_PIN            -1
27
+
28
+#define PS_ON_PIN         14
29
+#define KILL_PIN           -1
30
+
31
+#define HEATER_0_PIN       12 // (extruder)
32
+
33
+#define HEATER_BED_PIN     16 // (bed)
34
+#define X_ENABLE_PIN       19
35
+#define Y_ENABLE_PIN       24
36
+#define Z_ENABLE_PIN       29
37
+#define E0_ENABLE_PIN      13
38
+
39
+#define TEMP_0_PIN          0   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
40
+#define TEMP_1_PIN         -1   
41
+#define TEMP_2_PIN         -1
42
+#define TEMP_BED_PIN        5   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)  
43
+#define SDPOWER            -1
44
+#define SDSS               4
45
+#define HEATER_2_PIN       -1

+ 62
- 0
Marlin/pins_GEN6.h Parādīt failu

@@ -0,0 +1,62 @@
1
+/**
2
+ * Gen6 pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega644P__
6
+  #ifndef __AVR_ATmega1284P__
7
+    #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
8
+  #endif
9
+#endif
10
+
11
+//x axis pins
12
+#define X_STEP_PIN      15
13
+#define X_DIR_PIN       18
14
+#define X_ENABLE_PIN    19
15
+#define X_STOP_PIN      20
16
+
17
+//y axis pins
18
+#define Y_STEP_PIN      23
19
+#define Y_DIR_PIN       22
20
+#define Y_ENABLE_PIN    24
21
+#define Y_STOP_PIN      25
22
+
23
+//z axis pins
24
+#define Z_STEP_PIN      27
25
+#define Z_DIR_PIN       28
26
+#define Z_ENABLE_PIN    29
27
+#define Z_STOP_PIN      30
28
+
29
+//extruder pins
30
+#define E0_STEP_PIN      4    //Edited @ EJE Electronics 20100715
31
+#define E0_DIR_PIN       2    //Edited @ EJE Electronics 20100715
32
+#define E0_ENABLE_PIN    3    //Added @ EJE Electronics 20100715
33
+#define TEMP_0_PIN      5     //changed @ rkoeppl 20110410
34
+#define TEMP_1_PIN      -1    //changed @ rkoeppl 20110410
35
+
36
+
37
+#define TEMP_2_PIN      -1    //changed @ rkoeppl 20110410
38
+#define HEATER_0_PIN    14    //changed @ rkoeppl 20110410
39
+#define HEATER_1_PIN    -1
40
+#define HEATER_2_PIN    -1
41
+
42
+#if MB(GEN6)
43
+  #define HEATER_BED_PIN  -1    //changed @ rkoeppl 20110410
44
+  #define TEMP_BED_PIN    -1    //changed @ rkoeppl 20110410
45
+#else
46
+  #define HEATER_BED_PIN   1    //changed @ rkoeppl 20110410
47
+  #define TEMP_BED_PIN     0    //changed @ rkoeppl 20110410
48
+#endif
49
+
50
+#define SDPOWER          -1
51
+#define SDSS          17
52
+#define LED_PIN         -1    //changed @ rkoeppl 20110410
53
+#define FAN_PIN         -1    //changed @ rkoeppl 20110410
54
+#define PS_ON_PIN       -1    //changed @ rkoeppl 20110410
55
+#define KILL_PIN        -1    //changed @ drakelive 20120830
56
+//our pin for debugging.
57
+
58
+#define DEBUG_PIN        0
59
+
60
+//our RS485 pins
61
+#define TX_ENABLE_PIN 12
62
+#define RX_ENABLE_PIN 13

+ 5
- 0
Marlin/pins_GEN6_DELUXE.h Parādīt failu

@@ -0,0 +1,5 @@
1
+/**
2
+ * Gen6 Deluxe pin assignments
3
+ */
4
+
5
+#include "pins_GEN6.h"

+ 72
- 0
Marlin/pins_GEN7_12.h Parādīt failu

@@ -0,0 +1,72 @@
1
+/**
2
+ * Gen7 v1.1, v1.2, v1.3 pin assignments
3
+ */
4
+
5
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
6
+  #error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#ifndef GEN7_VERSION
10
+  #define GEN7_VERSION 12 // v1.x
11
+#endif
12
+
13
+//x axis pins
14
+#define X_STEP_PIN 19
15
+#define X_DIR_PIN 18
16
+#define X_ENABLE_PIN 24
17
+#define X_STOP_PIN 7
18
+
19
+//y axis pins
20
+#define Y_STEP_PIN 23
21
+#define Y_DIR_PIN 22
22
+#define Y_ENABLE_PIN 24
23
+#define Y_STOP_PIN 5
24
+
25
+//z axis pins
26
+#define Z_STEP_PIN 26
27
+#define Z_DIR_PIN 25
28
+#define Z_ENABLE_PIN 24
29
+#define Z_MIN_PIN 1
30
+#define Z_MAX_PIN 0
31
+
32
+//extruder pins
33
+#define E0_STEP_PIN 28
34
+#define E0_DIR_PIN 27
35
+#define E0_ENABLE_PIN 24
36
+
37
+#define TEMP_0_PIN 1
38
+#define TEMP_1_PIN -1
39
+#define TEMP_2_PIN -1
40
+#define TEMP_BED_PIN 2
41
+
42
+#define HEATER_0_PIN 4
43
+#define HEATER_1_PIN -1
44
+#define HEATER_2_PIN -1
45
+#define HEATER_BED_PIN 3
46
+
47
+#define KILL_PIN -1
48
+
49
+#define SDPOWER -1
50
+#define SDSS -1 // SCL pin of I2C header
51
+#define LED_PIN -1
52
+
53
+#if (GEN7_VERSION >= 13)
54
+  // Gen7 v1.3 removed the fan pin
55
+  #define FAN_PIN -1
56
+#else
57
+  #define FAN_PIN 31
58
+#endif
59
+
60
+#define PS_ON_PIN 15
61
+
62
+//All these generations of Gen7 supply thermistor power
63
+//via PS_ON, so ignore bad thermistor readings
64
+#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
65
+
66
+//our pin for debugging.
67
+#define DEBUG_PIN 0
68
+
69
+//our RS485 pins
70
+#define TX_ENABLE_PIN 12
71
+#define RX_ENABLE_PIN 13
72
+

+ 8
- 0
Marlin/pins_GEN7_13.h Parādīt failu

@@ -0,0 +1,8 @@
1
+/**
2
+ * Gen7 v1.3 pin assignments
3
+ */
4
+
5
+#define MOTHERBOARD BOARD_GEN7_12
6
+#define GEN7_VERSION 13 // v1.3
7
+
8
+#include "pins_GEN7_12.h"

+ 60
- 0
Marlin/pins_GEN7_14.h Parādīt failu

@@ -0,0 +1,60 @@
1
+/**
2
+ * Gen7 v1.4 pin assignments
3
+ */
4
+
5
+#define GEN7_VERSION 14 // v1.4
6
+
7
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
8
+  #error Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
9
+#endif
10
+
11
+//x axis pins
12
+#define X_STEP_PIN 29
13
+#define X_DIR_PIN 28
14
+#define X_ENABLE_PIN 25
15
+#define X_STOP_PIN 0
16
+
17
+//y axis pins
18
+#define Y_STEP_PIN 27
19
+#define Y_DIR_PIN 26
20
+#define Y_ENABLE_PIN 25
21
+#define Y_STOP_PIN 1
22
+
23
+//z axis pins
24
+#define Z_STEP_PIN 23
25
+#define Z_DIR_PIN 22
26
+#define Z_ENABLE_PIN 25
27
+#define Z_STOP_PIN 2
28
+
29
+//extruder pins
30
+#define E0_STEP_PIN 19
31
+#define E0_DIR_PIN 18
32
+#define E0_ENABLE_PIN 25
33
+
34
+#define TEMP_0_PIN 1
35
+#define TEMP_1_PIN -1
36
+#define TEMP_2_PIN -1
37
+#define TEMP_BED_PIN 0
38
+
39
+#define HEATER_0_PIN 4
40
+#define HEATER_1_PIN -1
41
+#define HEATER_2_PIN -1
42
+#define HEATER_BED_PIN 3
43
+
44
+#define KILL_PIN -1
45
+
46
+#define SDPOWER -1
47
+#define SDSS -1 // SCL pin of I2C header
48
+#define LED_PIN -1
49
+
50
+#define FAN_PIN -1
51
+
52
+#define PS_ON_PIN 15
53
+
54
+//our pin for debugging.
55
+#define DEBUG_PIN 0
56
+
57
+//our RS485 pins
58
+#define TX_ENABLE_PIN 12
59
+#define RX_ENABLE_PIN 13
60
+

+ 76
- 0
Marlin/pins_GEN7_CUSTOM.h Parādīt failu

@@ -0,0 +1,76 @@
1
+/**
2
+ * Gen7 Alfons3 board pin assignments
3
+ *
4
+ * These Pins are assigned for the modified GEN7 Board from Alfons3.
5
+ * Please review the pins and adjust them for your needs.
6
+ */ 
7
+
8
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
9
+  #error Oops!  Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+//x axis pins
13
+#define X_STEP_PIN      21                  // different from standard GEN7
14
+#define X_DIR_PIN       20                  // different from standard GEN7
15
+#define X_ENABLE_PIN    24
16
+#define X_STOP_PIN      0
17
+
18
+//y axis pins
19
+#define Y_STEP_PIN      23
20
+#define Y_DIR_PIN       22
21
+#define Y_ENABLE_PIN    24
22
+#define Y_STOP_PIN      1
23
+
24
+//z axis pins
25
+#define Z_STEP_PIN      26
26
+#define Z_DIR_PIN       25
27
+#define Z_ENABLE_PIN    24
28
+#define Z_STOP_PIN      2
29
+
30
+//extruder pins
31
+#define E0_STEP_PIN     28
32
+#define E0_DIR_PIN      27
33
+#define E0_ENABLE_PIN   24
34
+
35
+#define TEMP_0_PIN      2
36
+#define TEMP_1_PIN      -1
37
+#define TEMP_2_PIN      -1
38
+#define TEMP_BED_PIN    1   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
39
+
40
+#define HEATER_0_PIN    4
41
+#define HEATER_1_PIN    -1
42
+#define HEATER_2_PIN    -1
43
+#define HEATER_BED_PIN  3  // (bed)
44
+
45
+#define SDPOWER         -1
46
+#define SDSS            31                  // SCL pin of I2C header || CS Pin for SD Card support
47
+#define LED_PIN         -1
48
+
49
+#define FAN_PIN         -1
50
+#define PS_ON_PIN       19
51
+//our pin for debugging.
52
+
53
+#define DEBUG_PIN       -1
54
+
55
+//our RS485 pins
56
+//#define TX_ENABLE_PIN       12
57
+//#define RX_ENABLE_PIN       13
58
+
59
+#define BEEPER -1
60
+#define SDCARDDETECT -1
61
+#define SUICIDE_PIN -1    //has to be defined; otherwise Power_off doesn't work
62
+
63
+#define KILL_PIN -1
64
+//Pins for 4bit LCD Support
65
+#define LCD_PINS_RS 18
66
+#define LCD_PINS_ENABLE 17
67
+#define LCD_PINS_D4 16
68
+#define LCD_PINS_D5 15
69
+#define LCD_PINS_D6 13
70
+#define LCD_PINS_D7 14
71
+
72
+//buttons are directly attached
73
+#define BTN_EN1 11
74
+#define BTN_EN2 10
75
+#define BTN_ENC 12  //the click
76
+

+ 6
- 0
Marlin/pins_K8200.h Parādīt failu

@@ -0,0 +1,6 @@
1
+/**
2
+ * K8200 Arduino Mega with RAMPS v1.3 pin assignments
3
+ * Identical to 3DRAG
4
+ */
5
+
6
+#include "pins_3DRAG.h"

+ 62
- 0
Marlin/pins_LEAPFROG.h Parādīt failu

@@ -0,0 +1,62 @@
1
+/**
2
+ * Leapfrog Driver board 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 X_STEP_PIN         28
10
+#define X_DIR_PIN          63
11
+#define X_ENABLE_PIN       29
12
+#define X_MIN_PIN          47
13
+#define X_MAX_PIN          -1   //2 //Max endstops default to disabled "-1", set to commented value to enable.
14
+
15
+#define Y_STEP_PIN         14 // A6
16
+#define Y_DIR_PIN          15 // A0
17
+#define Y_ENABLE_PIN       39
18
+#define Y_MIN_PIN          48
19
+#define Y_MAX_PIN          -1   //15
20
+
21
+#define Z_STEP_PIN         31 // A2
22
+#define Z_DIR_PIN          32 // A6
23
+#define Z_ENABLE_PIN       30 // A1
24
+#define Z_MIN_PIN          49
25
+#define Z_MAX_PIN          -1
26
+
27
+#define E0_STEP_PIN         34  //34
28
+#define E0_DIR_PIN          35 //35
29
+#define E0_ENABLE_PIN       33 //33
30
+
31
+#define E1_STEP_PIN         37 //37
32
+#define E1_DIR_PIN          40 //40
33
+#define E1_ENABLE_PIN       36 //36
34
+
35
+#define Y2_STEP_PIN         37
36
+#define Y2_DIR_PIN          40
37
+#define Y2_ENABLE_PIN       36
38
+
39
+#define Z2_STEP_PIN         37
40
+#define Z2_DIR_PIN          40
41
+#define Z2_ENABLE_PIN       36
42
+
43
+#define SDPOWER            -1
44
+#define SDSS               11
45
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
46
+#define LED_PIN            13
47
+#define FAN_PIN            7
48
+#define PS_ON_PIN          -1
49
+#define KILL_PIN           -1
50
+#define SOL1_PIN   16
51
+#define SOL2_PIN    17
52
+
53
+#define HEATER_0_PIN       9
54
+#define HEATER_1_PIN       8 // 12
55
+#define HEATER_2_PIN       11 //-1 // 13
56
+#define TEMP_0_PIN         13 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
57
+#define TEMP_1_PIN         15 // 1
58
+#define TEMP_2_PIN         -1 // 2
59
+#define HEATER_BED_PIN     10 // 14/15
60
+#define TEMP_BED_PIN       14 // 1,2 or I2C
61
+/*  Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31)  */
62
+

+ 92
- 0
Marlin/pins_MEGATRONICS.h Parādīt failu

@@ -0,0 +1,92 @@
1
+/**
2
+ * MegaTronics pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH        true
10
+
11
+#define X_STEP_PIN         26
12
+#define X_DIR_PIN          28
13
+#define X_ENABLE_PIN       24
14
+#define X_MIN_PIN          41
15
+#define X_MAX_PIN          37
16
+
17
+#define Y_STEP_PIN         60 // A6
18
+#define Y_DIR_PIN          61 // A7
19
+#define Y_ENABLE_PIN       22
20
+#define Y_MIN_PIN          14
21
+#define Y_MAX_PIN          15
22
+
23
+#define Z_STEP_PIN         54 // A0
24
+#define Z_DIR_PIN          55 // A1
25
+#define Z_ENABLE_PIN       56 // A2
26
+#define Z_MIN_PIN          18
27
+#define Z_MAX_PIN          19
28
+
29
+#define E0_STEP_PIN        31
30
+#define E0_DIR_PIN         32
31
+#define E0_ENABLE_PIN      38
32
+
33
+#define E1_STEP_PIN        34
34
+#define E1_DIR_PIN         36
35
+#define E1_ENABLE_PIN      30
36
+
37
+#define SDPOWER            -1
38
+#define SDSS               53
39
+#define LED_PIN            13
40
+
41
+
42
+#define FAN_PIN            7 // IO pin. Buffer needed
43
+#define PS_ON_PIN          12
44
+#define KILL_PIN           -1
45
+
46
+#define HEATER_0_PIN       9    // EXTRUDER 1
47
+#define HEATER_1_PIN       8    // EXTRUDER 2 (FAN On Sprinter)
48
+#define HEATER_2_PIN       -1
49
+
50
+#if TEMP_SENSOR_0 == -1
51
+#define TEMP_0_PIN         8   // ANALOG NUMBERING
52
+#else
53
+#define TEMP_0_PIN         13   // ANALOG NUMBERING
54
+
55
+#endif
56
+
57
+#define TEMP_1_PIN         15   // ANALOG NUMBERING
58
+#define TEMP_2_PIN         -1   // ANALOG NUMBERING
59
+#define HEATER_BED_PIN     10   // BED
60
+#define TEMP_BED_PIN       14   // ANALOG NUMBERING
61
+
62
+#define BEEPER 33     // Beeper on AUX-4
63
+
64
+
65
+#if defined(ULTRA_LCD) && defined(NEWPANEL)
66
+  //arduino pin which triggers an piezzo beeper
67
+
68
+  #define LCD_PINS_RS 16
69
+  #define LCD_PINS_ENABLE 17
70
+  #define LCD_PINS_D4 23
71
+  #define LCD_PINS_D5 25
72
+  #define LCD_PINS_D6 27
73
+  #define LCD_PINS_D7 29
74
+
75
+  //buttons are directly attached using AUX-2
76
+  #define BTN_EN1 59
77
+  #define BTN_EN2 64
78
+  #define BTN_ENC 43  //the click
79
+
80
+  #define BLEN_C 2
81
+  #define BLEN_B 1
82
+  #define BLEN_A 0
83
+
84
+  #define SDCARDDETECT -1   // Ramps does not use this port
85
+
86
+    //encoder rotation values
87
+  #define encrot0 0
88
+  #define encrot1 2
89
+  #define encrot2 3
90
+  #define encrot3 1
91
+
92
+#endif // ULTRA_LCD && NEWPANEL

+ 88
- 0
Marlin/pins_MEGATRONICS_1.h Parādīt failu

@@ -0,0 +1,88 @@
1
+/**
2
+ * Minitronics v1.0 pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega1281__
6
+  #error Oops! Make sure you have 'Minitronics ' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH        true
10
+
11
+#define X_STEP_PIN 48
12
+#define X_DIR_PIN 47
13
+#define X_ENABLE_PIN 49
14
+#define X_MIN_PIN 5
15
+#define X_MAX_PIN -1 // 2 // Max endstops default to disabled "-1", set to commented value to enable.
16
+
17
+#define Y_STEP_PIN 39 // A6
18
+#define Y_DIR_PIN 40 // A0
19
+#define Y_ENABLE_PIN 38
20
+#define Y_MIN_PIN 2
21
+#define Y_MAX_PIN -1 // 15
22
+
23
+#define Z_STEP_PIN 42 // A2
24
+#define Z_DIR_PIN 43 // A6
25
+#define Z_ENABLE_PIN 41 // A1
26
+#define Z_MIN_PIN 6
27
+#define Z_MAX_PIN -1
28
+
29
+#define E0_STEP_PIN 45
30
+#define E0_DIR_PIN 44
31
+#define E0_ENABLE_PIN 27
32
+
33
+#define E1_STEP_PIN 36
34
+#define E1_DIR_PIN 35
35
+#define E1_ENABLE_PIN 37
36
+
37
+#define E2_STEP_PIN -1
38
+#define E2_DIR_PIN -1
39
+#define E2_ENABLE_PIN -1
40
+
41
+#define SDPOWER -1
42
+#define SDSS 16
43
+#define LED_PIN 46
44
+
45
+#define FAN_PIN 9
46
+#define FAN2_PIN -1
47
+#define PS_ON_PIN -1
48
+#define KILL_PIN -1
49
+
50
+#define HEATER_0_PIN 7 // EXTRUDER 1
51
+#define HEATER_1_PIN 8 // EXTRUDER 2
52
+#define HEATER_2_PIN -1
53
+
54
+
55
+#define TEMP_0_PIN 7 // ANALOG NUMBERING
56
+#define TEMP_1_PIN 6 // ANALOG NUMBERING
57
+#define TEMP_2_PIN -1 // ANALOG NUMBERING
58
+
59
+#define HEATER_BED_PIN 3 // BED
60
+#define TEMP_BED_PIN 6 // ANALOG NUMBERING
61
+
62
+#define BEEPER -1
63
+
64
+
65
+#define LCD_PINS_RS -1
66
+#define LCD_PINS_ENABLE -1
67
+#define LCD_PINS_D4 -1
68
+#define LCD_PINS_D5 -1
69
+#define LCD_PINS_D6 -1
70
+#define LCD_PINS_D7 -1
71
+
72
+
73
+// Buttons are directly attached using keypad
74
+#define BTN_EN1 -1
75
+#define BTN_EN2 -1
76
+#define BTN_ENC -1 // the click
77
+
78
+#define BLEN_C 2
79
+#define BLEN_B 1
80
+#define BLEN_A 0
81
+
82
+#define SDCARDDETECT -1  // Megatronics does not use this port
83
+
84
+// Encoder rotation values
85
+#define encrot0 0
86
+#define encrot1 2
87
+#define encrot2 3
88
+#define encrot3 1

+ 103
- 0
Marlin/pins_MEGATRONICS_2.h Parādīt failu

@@ -0,0 +1,103 @@
1
+/**
2
+ * MegaTronics v2.0 pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH        true
10
+
11
+#define X_STEP_PIN 26
12
+#define X_DIR_PIN 27
13
+#define X_ENABLE_PIN 25
14
+#define X_MIN_PIN 37
15
+#define X_MAX_PIN 40 //2 //Max endstops default to disabled "-1", set to commented value to enable.
16
+
17
+#define Y_STEP_PIN 4 // A6
18
+#define Y_DIR_PIN 54 // A0
19
+#define Y_ENABLE_PIN 5
20
+#define Y_MIN_PIN 41
21
+#define Y_MAX_PIN 38 //15
22
+
23
+#define Z_STEP_PIN 56 // A2
24
+#define Z_DIR_PIN 60 // A6
25
+#define Z_ENABLE_PIN 55 // A1
26
+#define Z_MIN_PIN 18
27
+#define Z_MAX_PIN 19
28
+
29
+#define E0_STEP_PIN 35
30
+#define E0_DIR_PIN 36
31
+#define E0_ENABLE_PIN 34
32
+
33
+#define E1_STEP_PIN 29
34
+#define E1_DIR_PIN 39
35
+#define E1_ENABLE_PIN 28
36
+
37
+#define E2_STEP_PIN 23
38
+#define E2_DIR_PIN 24
39
+#define E2_ENABLE_PIN 22
40
+
41
+#define SDPOWER -1
42
+#define SDSS 53
43
+#define LED_PIN 13
44
+
45
+#define FAN_PIN 7
46
+#define FAN2_PIN 6
47
+#define PS_ON_PIN 12
48
+#define KILL_PIN -1
49
+
50
+#define HEATER_0_PIN 9 // EXTRUDER 1
51
+#define HEATER_1_PIN 8 // EXTRUDER 2
52
+#define HEATER_2_PIN -1
53
+
54
+#if TEMP_SENSOR_0 == -1
55
+  #define TEMP_0_PIN 4 // ANALOG NUMBERING
56
+#else
57
+  #define TEMP_0_PIN 13 // ANALOG NUMBERING
58
+#endif
59
+
60
+
61
+#if TEMP_SENSOR_1 == -1
62
+  #define TEMP_1_PIN 8 // ANALOG NUMBERING
63
+#else
64
+  #define TEMP_1_PIN 15 // ANALOG NUMBERING
65
+#endif
66
+
67
+#define TEMP_2_PIN -1 // ANALOG NUMBERING
68
+
69
+#define HEATER_BED_PIN 10 // BED
70
+
71
+#if TEMP_SENSOR_BED == -1
72
+  #define TEMP_BED_PIN 8 // ANALOG NUMBERING
73
+#else
74
+  #define TEMP_BED_PIN 14 // ANALOG NUMBERING
75
+#endif
76
+
77
+#define BEEPER 64
78
+
79
+
80
+#define LCD_PINS_RS 14
81
+#define LCD_PINS_ENABLE 15
82
+#define LCD_PINS_D4 30
83
+#define LCD_PINS_D5 31
84
+#define LCD_PINS_D6 32
85
+#define LCD_PINS_D7 33
86
+
87
+
88
+// Buttons are directly attached using keypad
89
+#define BTN_EN1 61
90
+#define BTN_EN2 59
91
+#define BTN_ENC 43 //the click
92
+
93
+#define BLEN_C 2
94
+#define BLEN_B 1
95
+#define BLEN_A 0
96
+
97
+#define SDCARDDETECT -1  // Megatronics does not use this port
98
+
99
+// Encoder rotation values
100
+#define encrot0 0
101
+#define encrot1 2
102
+#define encrot2 3
103
+#define encrot3 1

+ 11
- 0
Marlin/pins_MELZI.h Parādīt failu

@@ -0,0 +1,11 @@
1
+/**
2
+ * Melzi pin assignments
3
+ */
4
+
5
+#define SANGUINOLOLU_V_1_2
6
+
7
+#if defined(__AVR_ATmega1284P__)
8
+  #define LARGE_FLASH true
9
+#endif
10
+
11
+#include "pins_SANGUINOLOLU_11.h"

+ 15
- 0
Marlin/pins_MELZI_1284.h Parādīt failu

@@ -0,0 +1,15 @@
1
+/**
2
+ * Melzi with ATmega1284 (MaKr3d version) pin assignments
3
+ */
4
+
5
+#define MELZI
6
+
7
+#undef MOTHERBOARD
8
+#define MOTHERBOARD BOARD_SANGUINOLOLU_11
9
+#define SANGUINOLOLU_V_1_2
10
+
11
+#if defined(__AVR_ATmega1284P__)
12
+  #define LARGE_FLASH true
13
+#endif
14
+
15
+#include "pins_SANGUINOLOLU_11.h"

+ 91
- 0
Marlin/pins_OMCA.h Parādīt failu

@@ -0,0 +1,91 @@
1
+/**
2
+ * Open Motion controller with enable based extruders (Final!)
3
+ *
4
+ *                        ATMega644
5
+ *
6
+ *                        +---\/---+
7
+ *            (D 0) PB0  1|        |40  PA0 (AI 0 / D31)
8
+ *            (D 1) PB1  2|        |39  PA1 (AI 1 / D30)
9
+ *       INT2 (D 2) PB2  3|        |38  PA2 (AI 2 / D29)
10
+ *        PWM (D 3) PB3  4|        |37  PA3 (AI 3 / D28)
11
+ *        PWM (D 4) PB4  5|        |36  PA4 (AI 4 / D27)
12
+ *       MOSI (D 5) PB5  6|        |35  PA5 (AI 5 / D26)
13
+ *       MISO (D 6) PB6  7|        |34  PA6 (AI 6 / D25)
14
+ *        SCK (D 7) PB7  8|        |33  PA7 (AI 7 / D24)
15
+ *                  RST  9|        |32  AREF
16
+ *                  VCC 10|        |31  GND
17
+ *                  GND 11|        |30  AVCC
18
+ *                XTAL2 12|        |29  PC7 (D 23)
19
+ *                XTAL1 13|        |28  PC6 (D 22)
20
+ *       RX0 (D 8)  PD0 14|        |27  PC5 (D 21) TDI
21
+ *       TX0 (D 9)  PD1 15|        |26  PC4 (D 20) TDO
22
+ *  INT0 RX1 (D 10) PD2 16|        |25  PC3 (D 19) TMS
23
+ *  INT1 TX1 (D 11) PD3 17|        |24  PC2 (D 18) TCK
24
+ *       PWM (D 12) PD4 18|        |23  PC1 (D 17) SDA
25
+ *       PWM (D 13) PD5 19|        |22  PC0 (D 16) SCL
26
+ *       PWM (D 14) PD6 20|        |21  PD7 (D 15) PWM
27
+ *                        +--------+
28
+ *
29
+ * REF http://sanguino.cc/hardware
30
+ */
31
+
32
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__)
33
+  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. (Final OMCA board)
34
+#endif
35
+
36
+#define X_STEP_PIN         26
37
+#define X_DIR_PIN          25
38
+#define X_ENABLE_PIN       10
39
+#define X_STOP_PIN         0
40
+
41
+#define Y_STEP_PIN         28
42
+#define Y_DIR_PIN          27
43
+#define Y_ENABLE_PIN       10
44
+#define Y_STOP_PIN         1
45
+
46
+#define Z_STEP_PIN         23
47
+#define Z_DIR_PIN          22
48
+#define Z_ENABLE_PIN       10
49
+#define Z_STOP_PIN         2
50
+
51
+#define E0_STEP_PIN         24
52
+#define E0_DIR_PIN          21
53
+#define E0_ENABLE_PIN       10
54
+
55
+// future proofing
56
+#define __FS  20
57
+#define __FD  19
58
+#define __GS  18
59
+#define __GD  13
60
+
61
+#define UNUSED_PWM           14 // PWM on LEFT connector
62
+
63
+#define E1_STEP_PIN         -1 // 21
64
+#define E1_DIR_PIN          -1 // 20
65
+#define E1_ENABLE_PIN       -1 // 19
66
+
67
+#define E2_STEP_PIN         -1 // 21
68
+#define E2_DIR_PIN          -1 // 20
69
+#define E2_ENABLE_PIN       -1 // 18
70
+
71
+#define SDPOWER            -1
72
+#define SDSS               11
73
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
74
+#define LED_PIN            -1
75
+#define FAN_PIN            14 // PWM on MIDDLE connector
76
+#define PS_ON_PIN          -1
77
+#define KILL_PIN           -1
78
+
79
+#define HEATER_0_PIN        3 // DONE PWM on RIGHT connector
80
+#define HEATER_1_PIN       -1
81
+#define HEATER_2_PIN       -1
82
+#define HEATER_1_PIN       -1
83
+#define HEATER_2_PIN       -1
84
+#define TEMP_0_PIN          0 // ANALOG INPUT NUMBERING
85
+#define TEMP_1_PIN          1 // ANALOG
86
+#define TEMP_2_PIN         -1 // 2
87
+#define HEATER_BED_PIN      4
88
+#define TEMP_BED_PIN        2 // 1,2 or I2C
89
+
90
+#define I2C_SCL       16
91
+#define I2C_SDA       17

+ 78
- 0
Marlin/pins_OMCA_A.h Parādīt failu

@@ -0,0 +1,78 @@
1
+/**
2
+ * Open Motion controller with enable based extruders (Alpha!)
3
+ *
4
+ *                        ATMega644
5
+ *
6
+ *                        +---\/---+
7
+ *            (D 0) PB0  1|        |40  PA0 (AI 0 / D31)
8
+ *            (D 1) PB1  2|        |39  PA1 (AI 1 / D30)
9
+ *       INT2 (D 2) PB2  3|        |38  PA2 (AI 2 / D29)
10
+ *        PWM (D 3) PB3  4|        |37  PA3 (AI 3 / D28)
11
+ *        PWM (D 4) PB4  5|        |36  PA4 (AI 4 / D27)
12
+ *       MOSI (D 5) PB5  6|        |35  PA5 (AI 5 / D26)
13
+ *       MISO (D 6) PB6  7|        |34  PA6 (AI 6 / D25)
14
+ *        SCK (D 7) PB7  8|        |33  PA7 (AI 7 / D24)
15
+ *                  RST  9|        |32  AREF
16
+ *                  VCC 10|        |31  GND
17
+ *                  GND 11|        |30  AVCC
18
+ *                XTAL2 12|        |29  PC7 (D 23)
19
+ *                XTAL1 13|        |28  PC6 (D 22)
20
+ *       RX0 (D 8)  PD0 14|        |27  PC5 (D 21) TDI
21
+ *       TX0 (D 9)  PD1 15|        |26  PC4 (D 20) TDO
22
+ *  INT0 RX1 (D 10) PD2 16|        |25  PC3 (D 19) TMS
23
+ *  INT1 TX1 (D 11) PD3 17|        |24  PC2 (D 18) TCK
24
+ *       PWM (D 12) PD4 18|        |23  PC1 (D 17) SDA
25
+ *       PWM (D 13) PD5 19|        |22  PC0 (D 16) SCL
26
+ *       PWM (D 14) PD6 20|        |21  PD7 (D 15) PWM
27
+ *                        +--------+
28
+ *
29
+ */
30
+
31
+#ifndef __AVR_ATmega644__
32
+  #error Oops!  Make sure you have 'SanguinoA' selected from the 'Tools -> Boards' menu.
33
+#endif
34
+
35
+#define X_STEP_PIN         21
36
+#define X_DIR_PIN          20
37
+#define X_ENABLE_PIN       24
38
+#define X_STOP_PIN         0
39
+
40
+#define Y_STEP_PIN         23
41
+#define Y_DIR_PIN          22
42
+#define Y_ENABLE_PIN       24
43
+#define Y_STOP_PIN         1
44
+
45
+#define Z_STEP_PIN         26
46
+#define Z_DIR_PIN          25
47
+#define Z_ENABLE_PIN       24
48
+#define Z_STOP_PIN         2
49
+
50
+#define E0_STEP_PIN         28
51
+#define E0_DIR_PIN          27
52
+#define E0_ENABLE_PIN       24
53
+
54
+#define E1_STEP_PIN         -1 // 19
55
+#define E1_DIR_PIN          -1 // 18
56
+#define E1_ENABLE_PIN       24
57
+
58
+#define E2_STEP_PIN         -1 // 17
59
+#define E2_DIR_PIN          -1 // 16
60
+#define E2_ENABLE_PIN       24
61
+
62
+#define SDPOWER            -1
63
+#define SDSS               11
64
+#define SDCARDDETECT       -1 // 10 optional also used as mode pin
65
+#define LED_PIN            -1
66
+#define FAN_PIN            3
67
+#define PS_ON_PIN          -1
68
+#define KILL_PIN           -1
69
+
70
+#define HEATER_0_PIN       4
71
+#define HEATER_1_PIN       -1 // 12
72
+#define HEATER_2_PIN       -1 // 13
73
+#define TEMP_0_PIN          0 //D27   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
74
+#define TEMP_1_PIN         -1 // 1
75
+#define TEMP_2_PIN         -1 // 2
76
+#define HEATER_BED_PIN     -1 // 14/15
77
+#define TEMP_BED_PIN       -1 // 1,2 or I2C
78
+/*  Unused (1) (2) (3) 4 5 6 7 8 9 10 11 12 13 (14) (15) (16) 17 (18) (19) (20) (21) (22) (23) 24 (25) (26) (27) 28 (29) (30) (31)  */

+ 88
- 0
Marlin/pins_PRINTRBOARD.h Parādīt failu

@@ -0,0 +1,88 @@
1
+/**
2
+ * Printrboard pin assignments (AT90USB1286)
3
+ * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
4
+ * http://www.pjrc.com/teensy/teensyduino.html
5
+ * See http://reprap.org/wiki/Printrboard for more info
6
+ */
7
+
8
+#ifndef __AVR_AT90USB1286__
9
+  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+#ifdef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
13
+  #error These Printrboard assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
14
+#endif
15
+
16
+#define AT90USB 1286  // Disable MarlinSerial etc.
17
+
18
+#define LARGE_FLASH        true
19
+
20
+#define X_STEP_PIN          0
21
+#define X_DIR_PIN           1
22
+#define X_ENABLE_PIN       39
23
+
24
+#define Y_STEP_PIN          2
25
+#define Y_DIR_PIN           3
26
+#define Y_ENABLE_PIN       38
27
+
28
+#define Z_STEP_PIN          4
29
+#define Z_DIR_PIN           5
30
+#define Z_ENABLE_PIN       23
31
+
32
+#define E0_STEP_PIN         6
33
+#define E0_DIR_PIN          7
34
+#define E0_ENABLE_PIN      19
35
+
36
+#define HEATER_0_PIN       21  // Extruder
37
+#define HEATER_1_PIN       46
38
+#define HEATER_2_PIN       47
39
+#define HEATER_BED_PIN     20
40
+
41
+// If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
42
+// fastio pin numbering otherwise
43
+#ifdef FAN_SOFT_PWM || FAST_PWM_FAN
44
+  #define FAN_PIN          22
45
+#else
46
+  #define FAN_PIN          16
47
+#endif
48
+
49
+#define X_STOP_PIN         35
50
+#define Y_STOP_PIN          8
51
+#define Z_STOP_PIN         36
52
+#define TEMP_0_PIN          1  // Extruder / Analog pin numbering
53
+#define TEMP_BED_PIN        0  // Bed / Analog pin numbering
54
+
55
+#ifdef FILAMENT_SENSOR
56
+  #define FILWIDTH_PIN      2
57
+#endif
58
+
59
+#define TEMP_1_PIN         -1
60
+#define TEMP_2_PIN         -1
61
+
62
+#define SDPOWER            -1
63
+#define SDSS                8
64
+#define LED_PIN            -1
65
+#define PS_ON_PIN          -1
66
+#define KILL_PIN           -1
67
+#define ALARM_PIN          -1
68
+
69
+#ifndef SDSUPPORT
70
+// these pins are defined in the SD library if building with SD support
71
+  #define SCK_PIN           9
72
+  #define MISO_PIN         11
73
+  #define MOSI_PIN         10
74
+#endif
75
+
76
+#if defined(ULTRA_LCD) && defined(NEWPANEL)
77
+  //we have no buzzer installed
78
+  #define BEEPER -1
79
+  //LCD Pins
80
+  #ifdef LCD_I2C_PANELOLU2
81
+    #define BTN_EN1 27  //RX1 - fastio.h pin mapping 27
82
+    #define BTN_EN2 26  //TX1 - fastio.h pin mapping 26
83
+    #define BTN_ENC 43 //A3 - fastio.h pin mapping 43
84
+    #define SDSS   40 //use SD card on Panelolu2 (Teensyduino pin mapping)
85
+  #endif // LCD_I2C_PANELOLU2
86
+  //not connected to a pin
87
+  #define SDCARDDETECT -1    
88
+#endif // ULTRA_LCD && NEWPANEL

+ 165
- 0
Marlin/pins_RAMBO.h Parādīt failu

@@ -0,0 +1,165 @@
1
+/**
2
+ * Rambo pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH true
10
+
11
+// Servo support
12
+#ifdef NUM_SERVOS
13
+  #define SERVO0_PIN       22 //motor header MX1
14
+  #if NUM_SERVOS > 1
15
+    #define SERVO1_PIN     23 //Motor header MX2
16
+    #if NUM_SERVOS > 2
17
+      #define SERVO2_PIN   24 //Motor header MX3
18
+      #if NUM_SERVOS > 3
19
+        #define SERVO2_PIN  5 //pwm header pin 5
20
+      #endif
21
+    #endif
22
+  #endif
23
+#endif
24
+
25
+#define X_STEP_PIN 37
26
+#define X_DIR_PIN 48
27
+#define X_MIN_PIN 12
28
+#define X_MAX_PIN 24
29
+#define X_ENABLE_PIN 29
30
+#define X_MS1_PIN 40
31
+#define X_MS2_PIN 41
32
+
33
+#define Y_STEP_PIN 36
34
+#define Y_DIR_PIN 49
35
+#define Y_MIN_PIN 11
36
+#define Y_MAX_PIN 23
37
+#define Y_ENABLE_PIN 28
38
+#define Y_MS1_PIN 69
39
+#define Y_MS2_PIN 39
40
+
41
+#define Z_STEP_PIN 35
42
+#define Z_DIR_PIN 47
43
+#define Z_MIN_PIN 10
44
+#define Z_MAX_PIN 30
45
+#define Z_ENABLE_PIN 27
46
+#define Z_MS1_PIN 68
47
+#define Z_MS2_PIN 67
48
+
49
+#define HEATER_BED_PIN 3
50
+#define TEMP_BED_PIN 2
51
+
52
+#define HEATER_0_PIN  9
53
+#define TEMP_0_PIN 0
54
+
55
+#define HEATER_1_PIN 7
56
+#define TEMP_1_PIN 1
57
+
58
+#ifdef BARICUDA
59
+  #define HEATER_2_PIN 6
60
+#else
61
+  #define HEATER_2_PIN -1
62
+#endif
63
+
64
+#define TEMP_2_PIN -1
65
+
66
+#define E0_STEP_PIN         34
67
+#define E0_DIR_PIN          43
68
+#define E0_ENABLE_PIN       26
69
+#define E0_MS1_PIN 65
70
+#define E0_MS2_PIN 66
71
+
72
+#define E1_STEP_PIN         33
73
+#define E1_DIR_PIN          42
74
+#define E1_ENABLE_PIN       25
75
+#define E1_MS1_PIN 63
76
+#define E1_MS2_PIN 64
77
+
78
+#define DIGIPOTSS_PIN 38
79
+#define DIGIPOT_CHANNELS {4,5,3,0,1} // X Y Z E0 E1 digipot channels to stepper driver mapping
80
+
81
+#define SDPOWER            -1
82
+#define SDSS               53
83
+#define LED_PIN            13
84
+#define FAN_PIN            8  
85
+
86
+/**********************************************************
87
+  Fan Pins
88
+  Fan_0 8
89
+  Fan_1 6
90
+  Fan_2 2
91
+***********************************************************/
92
+#define PS_ON_PIN          4
93
+#define KILL_PIN           -1 //80 with Smart Controller LCD
94
+#define SUICIDE_PIN        -1  //PIN that has to be turned on right after start, to keep power flowing.
95
+
96
+#ifdef ULTRA_LCD
97
+  #define KILL_PIN 80
98
+  #ifdef NEWPANEL
99
+   //arduino pin which triggers an piezzo beeper
100
+    #define BEEPER 79      // Beeper on AUX-4
101
+    #define LCD_PINS_RS 70
102
+    #define LCD_PINS_ENABLE 71
103
+    #define LCD_PINS_D4 72
104
+    #define LCD_PINS_D5 73
105
+    #define LCD_PINS_D6 74
106
+    #define LCD_PINS_D7 75
107
+
108
+    //buttons are directly attached using AUX-2
109
+    #define BTN_EN1 76
110
+    #define BTN_EN2 77
111
+    #define BTN_ENC 78  //the click
112
+
113
+    #define BLEN_C 2
114
+    #define BLEN_B 1
115
+    #define BLEN_A 0
116
+
117
+    #define SDCARDDETECT 81    // Ramps does not use this port
118
+
119
+    //encoder rotation values
120
+    #define encrot0 0
121
+    #define encrot1 2
122
+    #define encrot2 3
123
+    #define encrot3 1
124
+  #else //!NEWPANEL - old style panel with shift register
125
+    //arduino pin witch triggers an piezzo beeper
126
+    #define BEEPER 33    No Beeper added
127
+    //buttons are attached to a shift register
128
+    // Not wired this yet
129
+    // #define SHIFT_CLK 38
130
+    // #define SHIFT_LD 42
131
+    // #define SHIFT_OUT 40
132
+    // #define SHIFT_EN 17
133
+
134
+    #define LCD_PINS_RS 75
135
+    #define LCD_PINS_ENABLE 17
136
+    #define LCD_PINS_D4 23
137
+    #define LCD_PINS_D5 25
138
+    #define LCD_PINS_D6 27
139
+    #define LCD_PINS_D7 29
140
+
141
+    //encoder rotation values
142
+    #define encrot0 0
143
+    #define encrot1 2
144
+    #define encrot2 3
145
+    #define encrot3 1
146
+
147
+    //bits in the shift register that carry the buttons for:
148
+    // left up center down right red
149
+    #define BL_LE 7
150
+    #define BL_UP 6
151
+    #define BL_MI 5
152
+    #define BL_DW 4
153
+    #define BL_RI 3
154
+    #define BL_ST 2
155
+    #define BLEN_B 1
156
+    #define BLEN_A 0
157
+
158
+  #endif // !NEWPANEL
159
+
160
+#endif // ULTRA_LCD
161
+
162
+#ifdef FILAMENT_SENSOR
163
+  //Filip added pin for Filament sensor analog input 
164
+  #define FILWIDTH_PIN        3
165
+#endif

+ 227
- 0
Marlin/pins_RAMPS_13.h Parādīt failu

@@ -0,0 +1,227 @@
1
+/**
2
+ * Arduino Mega with RAMPS v1.3 pin assignments
3
+ *
4
+ * Applies to the following boards:
5
+ *
6
+ *  RAMPS_13_EFB (Extruder, Fan, Bed)
7
+ *  RAMPS_13_EEB (Extruder, Extruder, Bed)
8
+ *  RAMPS_13_EFF (Extruder, Fan, Fan)
9
+ *  RAMPS_13_EEF (Extruder, Extruder, Fan)
10
+ *  3DRAG
11
+ *  K8200
12
+ *  AZTEEG_X3
13
+ *  AZTEEG_X3_PRO
14
+ */
15
+
16
+#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
17
+  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
18
+#endif
19
+
20
+#define LARGE_FLASH true
21
+
22
+#define X_STEP_PIN         54
23
+#define X_DIR_PIN          55
24
+#define X_ENABLE_PIN       38
25
+#define X_MIN_PIN           3
26
+#define X_MAX_PIN           2
27
+
28
+#define Y_STEP_PIN         60
29
+#define Y_DIR_PIN          61
30
+#define Y_ENABLE_PIN       56
31
+#define Y_MIN_PIN          14
32
+#define Y_MAX_PIN          15
33
+
34
+#define Z_STEP_PIN         46
35
+#define Z_DIR_PIN          48
36
+#define Z_ENABLE_PIN       62
37
+#define Z_MIN_PIN          18
38
+#define Z_MAX_PIN          19
39
+
40
+#define Y2_STEP_PIN        36
41
+#define Y2_DIR_PIN         34
42
+#define Y2_ENABLE_PIN      30
43
+
44
+#define Z2_STEP_PIN        36
45
+#define Z2_DIR_PIN         34
46
+#define Z2_ENABLE_PIN      30
47
+
48
+#define E0_STEP_PIN        26
49
+#define E0_DIR_PIN         28
50
+#define E0_ENABLE_PIN      24
51
+
52
+#define E1_STEP_PIN        36
53
+#define E1_DIR_PIN         34
54
+#define E1_ENABLE_PIN      30
55
+
56
+#define SDPOWER            -1
57
+#define SDSS               53
58
+#define LED_PIN            13
59
+
60
+#if MB(RAMPS_13_EEB) && defined(FILAMENT_SENSOR)  // FMM added for Filament Extruder
61
+  // define analog pin for the filament width sensor input
62
+  // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
63
+  #define FILWIDTH_PIN        5
64
+#endif
65
+
66
+#if MB(RAMPS_13_EFB) || MB(RAMPS_13_EFF) || MB(AZTEEG_X3) || MB(AZTEEG_X3_PRO)
67
+  #define FAN_PIN            9 // (Sprinter config)
68
+  #if MB(RAMPS_13_EFF)
69
+    #define CONTROLLERFAN_PIN  -1 // Pin used for the fan to cool controller
70
+  #endif
71
+#elif MB(RAMPS_13_EEF)
72
+  #define FAN_PIN            8
73
+#else
74
+  #define FAN_PIN            4 // IO pin. Buffer needed
75
+#endif
76
+
77
+#define PS_ON_PIN          12
78
+
79
+#if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)
80
+  #define KILL_PIN           41
81
+#else
82
+  #define KILL_PIN           -1
83
+#endif
84
+
85
+#if MB(RAMPS_13_EFF)
86
+  #define HEATER_0_PIN       8
87
+#else
88
+  #define HEATER_0_PIN       10   // EXTRUDER 1
89
+#endif
90
+
91
+#if MB(RAMPS_13_EFB) || MB(AZTEEG_X3)
92
+  #define HEATER_1_PIN       -1
93
+#else
94
+  #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)
95
+#endif
96
+
97
+#define HEATER_2_PIN       -1
98
+
99
+#define TEMP_0_PIN         13   // ANALOG NUMBERING
100
+#define TEMP_1_PIN         15   // ANALOG NUMBERING
101
+#define TEMP_2_PIN         -1   // ANALOG NUMBERING
102
+
103
+#if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
104
+  #define HEATER_BED_PIN     -1    // NO BED
105
+#else
106
+  #define HEATER_BED_PIN     8    // BED
107
+#endif
108
+
109
+#define TEMP_BED_PIN       14   // ANALOG NUMBERING
110
+
111
+#ifdef NUM_SERVOS
112
+  #define SERVO0_PIN         11
113
+
114
+  #if NUM_SERVOS > 1
115
+    #define SERVO1_PIN         6
116
+  #endif
117
+
118
+  #if NUM_SERVOS > 2
119
+    #define SERVO2_PIN         5
120
+  #endif
121
+
122
+  #if NUM_SERVOS > 3
123
+    #define SERVO3_PIN         4
124
+  #endif
125
+#endif
126
+
127
+#if MB(AZTEEG_X3_PRO)
128
+  #define BEEPER 33
129
+#endif
130
+
131
+#ifdef TEMP_STAT_LEDS
132
+  #if MB(AZTEEG_X3)
133
+    #define STAT_LED_RED       6
134
+    #define STAT_LED_BLUE     11
135
+  #endif
136
+#endif
137
+
138
+#ifdef ULTRA_LCD
139
+
140
+  #ifdef NEWPANEL
141
+    #define LCD_PINS_RS 16
142
+    #define LCD_PINS_ENABLE 17
143
+    #define LCD_PINS_D4 23
144
+    #define LCD_PINS_D5 25
145
+    #define LCD_PINS_D6 27
146
+    #define LCD_PINS_D7 29
147
+
148
+    #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER
149
+      #define BEEPER 37
150
+
151
+      #define BTN_EN1 31
152
+      #define BTN_EN2 33
153
+      #define BTN_ENC 35
154
+
155
+      #define SDCARDDETECT 49
156
+    #elif defined(LCD_I2C_PANELOLU2)
157
+      #define BTN_EN1 47  // reverse if the encoder turns the wrong way.
158
+      #define BTN_EN2 43
159
+      #define BTN_ENC 32
160
+      #define LCD_SDSS 53
161
+      #define SDCARDDETECT -1
162
+      #define KILL_PIN 41
163
+    #elif defined(LCD_I2C_VIKI)
164
+      #define BTN_EN1 22  // reverse if the encoder turns the wrong way.
165
+      #define BTN_EN2 7
166
+      #define BTN_ENC -1
167
+      #define LCD_SDSS 53
168
+      #define SDCARDDETECT 49
169
+    #else
170
+      // arduino pin which triggers an piezzo beeper
171
+      #define BEEPER 33  // Beeper on AUX-4
172
+
173
+      // buttons are directly attached using AUX-2
174
+      #ifdef REPRAPWORLD_KEYPAD
175
+        #define BTN_EN1 64 // encoder
176
+        #define BTN_EN2 59 // encoder
177
+        #define BTN_ENC 63 // enter button
178
+        #define SHIFT_OUT 40 // shift register
179
+        #define SHIFT_CLK 44 // shift register
180
+        #define SHIFT_LD 42 // shift register
181
+      #else
182
+        #define BTN_EN1 37
183
+        #define BTN_EN2 35
184
+        #define BTN_ENC 31  // the click
185
+      #endif
186
+
187
+      #ifdef G3D_PANEL
188
+        #define SDCARDDETECT 49
189
+      #else
190
+        #define SDCARDDETECT -1  // Ramps does not use this port
191
+      #endif
192
+
193
+    #endif
194
+
195
+  #else // Old-style panel with shift register
196
+    // Arduino pin witch triggers an piezzo beeper
197
+    #define BEEPER 33   // No Beeper added
198
+
199
+    // Buttons are attached to a shift register
200
+    // Not wired yet
201
+    // #define SHIFT_CLK 38
202
+    // #define SHIFT_LD 42
203
+    // #define SHIFT_OUT 40
204
+    // #define SHIFT_EN 17
205
+
206
+    #define LCD_PINS_RS 16
207
+    #define LCD_PINS_ENABLE 17
208
+    #define LCD_PINS_D4 23
209
+    #define LCD_PINS_D5 25
210
+    #define LCD_PINS_D6 27
211
+    #define LCD_PINS_D7 29
212
+  #endif
213
+#endif // ULTRA_LCD
214
+
215
+// SPI for Max6675 Thermocouple
216
+#ifndef SDSUPPORT
217
+  #define MAX6675_SS       66 // Do not use pin 53 if there is even the remote possibility of using Display/SD card
218
+#else
219
+  #define MAX6675_SS       66 // Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
220
+#endif
221
+
222
+#ifndef SDSUPPORT
223
+  // these pins are defined in the SD library if building with SD support
224
+  #define SCK_PIN          52
225
+  #define MISO_PIN         50
226
+  #define MOSI_PIN         51
227
+#endif

+ 69
- 0
Marlin/pins_RAMPS_OLD.h Parādīt failu

@@ -0,0 +1,69 @@
1
+/**
2
+ * Arduino Mega with RAMPS v1.0, v1.1, v1.2 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
+// Uncomment the following line for RAMPS v1.0
10
+//#define RAMPS_V_1_0
11
+
12
+#define X_STEP_PIN         26
13
+#define X_DIR_PIN          28
14
+#define X_ENABLE_PIN       24
15
+#define X_MIN_PIN           3
16
+#define X_MAX_PIN          -1    //2
17
+
18
+#define Y_STEP_PIN         38
19
+#define Y_DIR_PIN          40
20
+#define Y_ENABLE_PIN       36
21
+#define Y_MIN_PIN          16
22
+#define Y_MAX_PIN          -1    //17
23
+
24
+#define Z_STEP_PIN         44
25
+#define Z_DIR_PIN          46
26
+#define Z_ENABLE_PIN       42
27
+#define Z_MIN_PIN          18
28
+#define Z_MAX_PIN          -1    //19
29
+
30
+#define E0_STEP_PIN         32
31
+#define E0_DIR_PIN          34
32
+#define E0_ENABLE_PIN       30
33
+
34
+#define SDPOWER            48
35
+#define SDSS               53
36
+#define LED_PIN            13
37
+#define PS_ON_PIN          -1
38
+#define KILL_PIN           -1
39
+
40
+#ifdef RAMPS_V_1_0 // RAMPS_V_1_0
41
+  #define HEATER_0_PIN     12    // RAMPS 1.0
42
+  #define HEATER_BED_PIN   -1    // RAMPS 1.0
43
+  #define FAN_PIN          11    // RAMPS 1.0
44
+#else // RAMPS_V_1_1 or RAMPS_V_1_2
45
+  #define HEATER_0_PIN     10    // RAMPS 1.1
46
+  #define HEATER_BED_PIN    8    // RAMPS 1.1
47
+  #define FAN_PIN           9    // RAMPS 1.1
48
+#endif
49
+
50
+#define HEATER_1_PIN        -1
51
+#define HEATER_2_PIN        -1
52
+#define TEMP_0_PIN          2    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
53
+#define TEMP_1_PIN          -1
54
+#define TEMP_2_PIN          -1
55
+#define TEMP_BED_PIN        1    // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
56
+
57
+// SPI for Max6675 Thermocouple
58
+#ifndef SDSUPPORT
59
+  #define MAX6675_SS       66// Do not use pin 53 if there is even the remote possibility of using Display/SD card
60
+#else
61
+  #define MAX6675_SS       66// Do not use pin 49 as this is tied to the switch inside the SD card socket to detect if there is an SD card present
62
+#endif
63
+
64
+#ifndef SDSUPPORT
65
+  // these pins are defined in the SD library if building with SD support
66
+  #define SCK_PIN          52
67
+  #define MISO_PIN         50
68
+  #define MOSI_PIN         51
69
+#endif

+ 110
- 0
Marlin/pins_RUMBA.h Parādīt failu

@@ -0,0 +1,110 @@
1
+/**
2
+ * RUMBA pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN         17
10
+#define X_DIR_PIN          16
11
+#define X_ENABLE_PIN       48
12
+#define X_MIN_PIN          37
13
+#define X_MAX_PIN          36
14
+
15
+#define Y_STEP_PIN         54
16
+#define Y_DIR_PIN          47
17
+#define Y_ENABLE_PIN       55
18
+#define Y_MIN_PIN          35
19
+#define Y_MAX_PIN          34
20
+
21
+#define Z_STEP_PIN         57
22
+#define Z_DIR_PIN          56
23
+#define Z_ENABLE_PIN       62
24
+#define Z_MIN_PIN          33
25
+#define Z_MAX_PIN          32
26
+
27
+#define E0_STEP_PIN        23
28
+#define E0_DIR_PIN         22
29
+#define E0_ENABLE_PIN      24
30
+
31
+#define E1_STEP_PIN        26
32
+#define E1_DIR_PIN         25
33
+#define E1_ENABLE_PIN      27
34
+
35
+#define E2_STEP_PIN        29
36
+#define E2_DIR_PIN         28
37
+#define E2_ENABLE_PIN      39
38
+
39
+#define LED_PIN            13
40
+
41
+#define FAN_PIN            7
42
+//additional FAN1 PIN (e.g. useful for electronics fan or light on/off) on PIN 8
43
+
44
+#define PS_ON_PIN          45
45
+#define KILL_PIN           46
46
+
47
+#if (TEMP_SENSOR_0==0)
48
+  #define TEMP_0_PIN         -1
49
+  #define HEATER_0_PIN       -1
50
+#else
51
+  #define HEATER_0_PIN        2    // EXTRUDER 1
52
+  #if (TEMP_SENSOR_0==-1)
53
+    #define TEMP_0_PIN         6    // ANALOG NUMBERING - connector *K1* on RUMBA thermocouple ADD ON is used
54
+  #else
55
+    #define TEMP_0_PIN         15   // ANALOG NUMBERING - default connector for thermistor *T0* on rumba board is used
56
+  #endif
57
+#endif
58
+
59
+#if (TEMP_SENSOR_1==0)
60
+  #define TEMP_1_PIN         -1
61
+  #define HEATER_1_PIN       -1
62
+#else
63
+  #define HEATER_1_PIN        3    // EXTRUDER 2
64
+  #if (TEMP_SENSOR_1==-1)
65
+    #define TEMP_1_PIN         5    // ANALOG NUMBERING - connector *K2* on RUMBA thermocouple ADD ON is used
66
+  #else
67
+    #define TEMP_1_PIN         14   // ANALOG NUMBERING - default connector for thermistor *T1* on rumba board is used
68
+  #endif
69
+#endif
70
+
71
+#if (TEMP_SENSOR_2==0)
72
+  #define TEMP_2_PIN         -1
73
+  #define HEATER_2_PIN       -1
74
+#else
75
+  #define HEATER_2_PIN        6    // EXTRUDER 3
76
+  #if (TEMP_SENSOR_2==-1)
77
+    #define TEMP_2_PIN         7    // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_BED is defined as thermocouple
78
+  #else
79
+    #define TEMP_2_PIN         13   // ANALOG NUMBERING - default connector for thermistor *T2* on rumba board is used
80
+  #endif
81
+#endif
82
+
83
+//optional for extruder 4 or chamber: #define TEMP_X_PIN         12   // ANALOG NUMBERING - default connector for thermistor *T3* on rumba board is used
84
+//optional FAN1 can be used as 4th heater output: #define HEATER_3_PIN       8    // EXTRUDER 4
85
+
86
+#if (TEMP_SENSOR_BED==0)
87
+  #define TEMP_BED_PIN       -1
88
+  #define HEATER_BED_PIN     -1
89
+#else
90
+  #define HEATER_BED_PIN      9    // BED
91
+  #if (TEMP_SENSOR_BED==-1)
92
+    #define TEMP_BED_PIN       7    // ANALOG NUMBERING - connector *K3* on RUMBA thermocouple ADD ON is used <-- this can not be used when TEMP_SENSOR_2 is defined as thermocouple
93
+  #else
94
+    #define TEMP_BED_PIN       11   // ANALOG NUMBERING - default connector for thermistor *THB* on rumba board is used
95
+  #endif
96
+#endif
97
+
98
+#define SDPOWER            -1
99
+#define SDSS               53
100
+#define SDCARDDETECT       49
101
+#define BEEPER             44
102
+#define LCD_PINS_RS        19
103
+#define LCD_PINS_ENABLE    42
104
+#define LCD_PINS_D4        18
105
+#define LCD_PINS_D5        38
106
+#define LCD_PINS_D6        41
107
+#define LCD_PINS_D7        40
108
+#define BTN_EN1            11
109
+#define BTN_EN2            12
110
+#define BTN_ENC            43

+ 172
- 0
Marlin/pins_SANGUINOLOLU_11.h Parādīt failu

@@ -0,0 +1,172 @@
1
+/**
2
+ * Sanguinololu board pin assignments
3
+ */
4
+
5
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__)
6
+  #error Oops!  Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN         15
10
+#define X_DIR_PIN          21
11
+#define X_STOP_PIN         18
12
+
13
+#define Y_STEP_PIN         22
14
+#define Y_DIR_PIN          23
15
+#define Y_STOP_PIN         19
16
+
17
+#define Z_STEP_PIN         3
18
+#define Z_DIR_PIN          2
19
+#define Z_STOP_PIN         20
20
+
21
+#define E0_STEP_PIN         1
22
+#define E0_DIR_PIN          0
23
+
24
+#define LED_PIN            -1
25
+
26
+#define FAN_PIN            -1
27
+
28
+// #if FAN_PIN == 12 || FAN_PIN ==13
29
+//   #define FAN_SOFT_PWM
30
+// #endif
31
+
32
+#if MB(MELZI)
33
+  #define LED_PIN            27 /* On some broken versions of the Sanguino libraries the pin definitions are wrong, which then needs LED_PIN as pin 28. But you better upgrade your Sanguino libraries! See #368. */
34
+  #define FAN_PIN            4 // Works for Panelolu2 too
35
+#endif
36
+
37
+#if MB(STB_11)
38
+  #define FAN_PIN            4
39
+  //  Uncomment this if you have the first generation (V1.10) of STBs board
40
+  #define LCD_PIN_BL         17 // LCD backlight LED
41
+#endif
42
+
43
+#if MB(AZTEEG_X1)
44
+  #define FAN_PIN            4
45
+#endif
46
+
47
+#ifdef NUM_SERVOS
48
+  #define SERVO0_PIN          -1
49
+
50
+  #if NUM_SERVOS > 1
51
+    #define SERVO1_PIN        -1
52
+  #endif
53
+
54
+  #if NUM_SERVOS > 2
55
+    #define SERVO2_PIN        -1
56
+  #endif
57
+
58
+  #if NUM_SERVOS > 3
59
+    #define SERVO3_PIN        -1
60
+  #endif
61
+#endif
62
+
63
+#define PS_ON_PIN          -1
64
+#define KILL_PIN           -1
65
+
66
+#define HEATER_0_PIN       13 // (extruder)
67
+#define HEATER_1_PIN       -1
68
+#define HEATER_2_PIN       -1
69
+
70
+#ifdef SANGUINOLOLU_V_1_2
71
+
72
+  #define HEATER_BED_PIN     12 // (bed)
73
+  #define X_ENABLE_PIN       14
74
+  #define Y_ENABLE_PIN       14
75
+  #define Z_ENABLE_PIN       26
76
+  #define E0_ENABLE_PIN      14
77
+
78
+  #ifdef LCD_I2C_PANELOLU2
79
+    #define FAN_PIN          4 // Uses Transistor1 (PWM) on Panelolu2's Sanguino Adapter Board to drive the fan
80
+  #endif
81
+
82
+#else
83
+
84
+  #define HEATER_BED_PIN      14  // (bed)
85
+  #define X_ENABLE_PIN       -1
86
+  #define Y_ENABLE_PIN       -1
87
+  #define Z_ENABLE_PIN       -1
88
+  #define E0_ENABLE_PIN      -1
89
+
90
+#endif
91
+
92
+#define TEMP_0_PIN          7   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 33 extruder)
93
+#define TEMP_1_PIN         -1
94
+#define TEMP_2_PIN         -1
95
+#define TEMP_BED_PIN        6   // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! (pin 34 bed)
96
+#define SDPOWER            -1
97
+#define SDSS               31
98
+
99
+/* On some broken versions of the Sanguino libraries the pin definitions are wrong, which then needs SDSS as pin 24. But you better upgrade your Sanguino libraries! See #368. */
100
+//#define SDSS               24
101
+
102
+#ifdef ULTRA_LCD
103
+ #ifdef NEWPANEL
104
+   //we have no buzzer installed
105
+   #define BEEPER -1
106
+   //LCD Pins
107
+   #ifdef DOGLCD
108
+   #ifdef U8GLIB_ST7920 //SPI GLCD 12864 ST7920 ( like [www.digole.com] ) For Melzi V2.0
109
+     #define LCD_PINS_RS 30 //CS chip select /SS chip slave select
110
+     #define LCD_PINS_ENABLE 29 //SID (MOSI)
111
+     #define LCD_PINS_D4 17 //SCK (CLK) clock
112
+     #define BEEPER 27 // Pin 27 is take by LED_Pin, but Melzi LED do nothing with Marlin and I take this pin for BEEPER.... See here > [github.com] , If you want use this pin with Gcode M42 instead BEEPER
113
+   #else
114
+     // Pins for DOGM SPI LCD Support
115
+     #define DOGLCD_A0 30
116
+     #define DOGLCD_CS 29
117
+     #define LCD_CONTRAST 1
118
+   #endif
119
+     // Uncomment screen orientation
120
+     #define LCD_SCREEN_ROT_0
121
+       // #define LCD_SCREEN_ROT_90
122
+       // #define LCD_SCREEN_ROT_180
123
+       // #define LCD_SCREEN_ROT_270
124
+     #else // standard Hitachi LCD controller
125
+     #define LCD_PINS_RS        4
126
+     #define LCD_PINS_ENABLE    17
127
+     #define LCD_PINS_D4        30
128
+     #define LCD_PINS_D5        29
129
+     #define LCD_PINS_D6        28
130
+     #define LCD_PINS_D7        27
131
+   #endif
132
+   //The encoder and click button
133
+   #define BTN_EN1 11
134
+   #define BTN_EN2 10
135
+   #ifdef LCD_I2C_PANELOLU2
136
+     #if MB(MELZI)
137
+       #define BTN_ENC 29 //the click switch
138
+       #define LCD_SDSS 30 //to use the SD card reader on the Panelolu2 rather than the melzi board
139
+     #else
140
+       #define BTN_ENC 30 //the click switch
141
+     #endif
142
+   #else
143
+     #define BTN_ENC 16  //the click switch
144
+     #define LCD_SDSS 28 //to use the SD card reader on the smart controller rather than the melzi board
145
+   #endif //Panelolu2
146
+   //not connected to a pin
147
+   #define SDCARDDETECT -1
148
+
149
+ #endif //NEWPANEL
150
+#endif //ULTRA_LCD
151
+
152
+#ifdef MAKRPANEL
153
+  #define BEEPER 29
154
+  // Pins for DOGM SPI LCD Support
155
+  #define DOGLCD_A0  30
156
+  #define DOGLCD_CS  17
157
+  #define LCD_PIN_BL 28  // backlight LED on PA3
158
+  // GLCD features
159
+  #define LCD_CONTRAST 1
160
+  // Uncomment screen orientation
161
+  #define LCD_SCREEN_ROT_0
162
+  // #define LCD_SCREEN_ROT_90
163
+  // #define LCD_SCREEN_ROT_180
164
+  // #define LCD_SCREEN_ROT_270
165
+  //The encoder and click button
166
+  #define BTN_EN1 11
167
+  #define BTN_EN2 10
168
+  #define BTN_ENC 16  //the click switch
169
+  //not connected to a pin
170
+  #define SDCARDDETECT -1
171
+#endif //Makrpanel
172
+

+ 19
- 0
Marlin/pins_SANGUINOLOLU_12.h Parādīt failu

@@ -0,0 +1,19 @@
1
+/**
2
+ * Sanguinololu V1.2 pin assignments
3
+ *
4
+ * Applies to the following boards:
5
+ *
6
+ *  AZTEEG_X1
7
+ *  MELZI
8
+ *  MELZI_1284
9
+ *  SANGUINOLOLU_12
10
+ *  STB_11
11
+ */
12
+
13
+#define SANGUINOLOLU_V_1_2
14
+
15
+#if defined(__AVR_ATmega1284P__)
16
+  #define LARGE_FLASH true
17
+#endif
18
+
19
+#include "pins_SANGUINOLOLU_11.h"

+ 88
- 0
Marlin/pins_SAV_MKI.h Parādīt failu

@@ -0,0 +1,88 @@
1
+/**
2
+ * SAV MkI pin assignments (AT90USB1286)
3
+ * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
4
+ * http://www.pjrc.com/teensy/teensyduino.html
5
+ * RepRap Clone Wars project board.
6
+ */
7
+
8
+#ifndef __AVR_AT90USB1286__
9
+  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+#define AT90USB 1286  // Disable MarlinSerial etc.
13
+
14
+#define LARGE_FLASH        true
15
+
16
+#define X_STEP_PIN         0
17
+#define X_DIR_PIN          1
18
+#define X_ENABLE_PIN       39
19
+
20
+#define Y_STEP_PIN         2
21
+#define Y_DIR_PIN          3
22
+#define Y_ENABLE_PIN       38
23
+
24
+#define Z_STEP_PIN         4
25
+#define Z_DIR_PIN          5
26
+#define Z_ENABLE_PIN       23
27
+
28
+#define E0_STEP_PIN         6
29
+#define E0_DIR_PIN          7
30
+#define E0_ENABLE_PIN       19
31
+
32
+#define HEATER_0_PIN       21  // Extruder
33
+#define HEATER_1_PIN       -1
34
+#define HEATER_2_PIN       -1
35
+#define HEATER_BED_PIN     20  // Bed
36
+#define FAN_PIN            16  // Fan   -- from Teensyduino environment.
37
+                               // For the fan and Teensyduino uses a different pin mapping.
38
+
39
+#define X_STOP_PIN         13
40
+#define Y_STOP_PIN         14
41
+#define Z_STOP_PIN         15
42
+//#define Z_STOP_PIN         36  // For inductive sensor.
43
+
44
+#define TEMP_0_PIN          7  // Extruder / Analog pin numbering
45
+#define TEMP_BED_PIN        6  // Bed / Analog pin numbering
46
+
47
+#define TEMP_1_PIN         -1
48
+#define TEMP_2_PIN         -1
49
+
50
+#define SDPOWER            -1
51
+#define SDSS               20  // PB0 - 8 in marlin env.
52
+#define LED_PIN            -1
53
+#define PS_ON_PIN          -1
54
+#define ALARM_PIN          -1
55
+#define SDCARDDETECT       -1
56
+
57
+#ifndef SDSUPPORT
58
+   // these pins are defined in the SD library if building with SD support
59
+  #define SCK_PIN          9
60
+  #define MISO_PIN         11
61
+  #define MOSI_PIN         10
62
+#endif
63
+
64
+#define BEEPER             -1
65
+#define LCD_PINS_RS        -1
66
+#define LCD_PINS_ENABLE    -1
67
+#define LCD_PINS_D4        -1
68
+#define LCD_PINS_D5        -1
69
+#define LCD_PINS_D6        -1
70
+#define LCD_PINS_D7        -1
71
+
72
+#ifdef SAV_3DLCD
73
+  // For LCD SHIFT register LCD
74
+  #define SR_DATA_PIN         1
75
+  #define SR_CLK_PIN          0
76
+
77
+  #define BTN_EN1            41
78
+  #define BTN_EN2            40
79
+  #define BTN_ENC            12
80
+
81
+  #define KILL_PIN           42 // A2 = 42 - teensy = 40
82
+  #define HOME_PIN          -1 // A4 = marlin 44 - teensy = 42
83
+
84
+  #ifdef NUM_SERVOS
85
+    #define SERVO0_PIN       41 // In teensy's pin definition for pinMode (in Servo.cpp)
86
+  #endif
87
+
88
+#endif // SAV_3DLCD

+ 71
- 0
Marlin/pins_SETHI.h Parādīt failu

@@ -0,0 +1,71 @@
1
+/**
2
+ * Sethi 3D_1 pin assignments - www.sethi3d.com.br
3
+ */
4
+
5
+#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
6
+  #error Oops! Make sure you have 'Sethi 3D' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#ifndef GEN7_VERSION
10
+  #define GEN7_VERSION 12 // v1.x
11
+#endif
12
+
13
+//x axis pins
14
+#define X_STEP_PIN 19
15
+#define X_DIR_PIN 18
16
+#define X_ENABLE_PIN 24
17
+#define X_STOP_PIN 2
18
+
19
+//y axis pins
20
+#define Y_STEP_PIN 23
21
+#define Y_DIR_PIN 22
22
+#define Y_ENABLE_PIN 24
23
+#define Y_STOP_PIN 0
24
+
25
+//z axis pins
26
+#define Z_STEP_PIN 26
27
+#define Z_DIR_PIN 25
28
+#define Z_ENABLE_PIN 24
29
+#define Z_MIN_PIN 1
30
+#define Z_MAX_PIN 0
31
+
32
+//extruder pins
33
+#define E0_STEP_PIN 28
34
+#define E0_DIR_PIN 27
35
+#define E0_ENABLE_PIN 24
36
+
37
+#define TEMP_0_PIN 1
38
+#define TEMP_1_PIN -1
39
+#define TEMP_2_PIN -1
40
+#define TEMP_BED_PIN 2
41
+
42
+#define HEATER_0_PIN 4
43
+#define HEATER_1_PIN -1
44
+#define HEATER_2_PIN -1
45
+#define HEATER_BED_PIN 3
46
+
47
+#define KILL_PIN -1
48
+
49
+#define SDPOWER -1
50
+#define SDSS -1 // SCL pin of I2C header
51
+#define LED_PIN -1
52
+
53
+#if (GEN7_VERSION >= 13)
54
+  // Gen7 v1.3 removed the fan pin
55
+  #define FAN_PIN -1
56
+#else
57
+  #define FAN_PIN 31
58
+#endif
59
+
60
+#define PS_ON_PIN 15
61
+
62
+//All these generations of Gen7 supply thermistor power
63
+//via PS_ON, so ignore bad thermistor readings
64
+#define BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE
65
+
66
+//our pin for debugging.
67
+#define DEBUG_PIN 0
68
+
69
+//our RS485 pins
70
+#define TX_ENABLE_PIN 12
71
+#define RX_ENABLE_PIN 13

+ 11
- 0
Marlin/pins_STB_11.h Parādīt failu

@@ -0,0 +1,11 @@
1
+/**
2
+ * STB V1.1 pin assignments
3
+ */
4
+
5
+#define SANGUINOLOLU_V_1_2
6
+
7
+#if defined(__AVR_ATmega1284P__)
8
+  #define LARGE_FLASH true
9
+#endif
10
+
11
+#include "pins_SANGUINOLOLU_11.h"

+ 115
- 0
Marlin/pins_TEENSY2.h Parādīt failu

@@ -0,0 +1,115 @@
1
+/**
2
+ * Teensy++ 2.0 Breadboard pin assignments (AT90USB1286)
3
+ * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
4
+ * http://www.pjrc.com/teensy/teensyduino.html
5
+ * See http://reprap.org/wiki/Printrboard for more info
6
+ *
7
+ * CLI build: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84 make
8
+ *
9
+ *  DaveX plan for Teensylu/printrboard-type pinouts for a TeensyBreadboard:
10
+ *  (ref teensylu & sprinter)
11
+ *
12
+ *                               USB
13
+ *           GND       GND |-----#####-----| +5V              ATX +5SB
14
+ *     ATX PS_ON    PWM 27 |b7   #####   b6| 26    PWM*       Stepper Enable 
15
+ *                  PWM  0 |d0           b5| 25    PWM*        
16
+ *                  PWM  1 |d1           b4| 24    PWM        
17
+ *         X_MIN         2 |d2           b3| 23               MISO_PIN
18
+ *         Y_MIN         3 |d3           b2| 22               MOSI_PIN
19
+ *         Z_MIN         4 |d4  * *      b1| 21               SCK_PIN       
20
+ *                       5 |d5  e e      b0| 20               SDSS              
21
+ *                LED    6 |d6  5 4      e7| 19               
22
+ *                       7 |d7           e6| 18               
23
+ *       LCD  RS         8 |e0             | GND              
24
+ *       LCD  EN         9 |e1   a4 a0    R| AREF             
25
+ *       LCD  D4        10 |c0   a5 a1   f0| 38 A0            ENC_1           
26
+ *       LCD  D5        11 |c1   a6 a2   f1| 39 A1            ENC_2
27
+ *       LCD  D6        12 |c2   a7 a3   f2| 40 A2            ENC_CLK
28
+ *       LCD  D6        13 |c3           f3| 41 A3            
29
+ *      Bed Heat    PWM 14 |c4   V G R   f4| 42 A4            
30
+ * Extruder Heat    PWM 15 |c5   c n S   f5| 43 A5            
31
+ *           Fan    PWM 16 |c6   c d T   f6| 44 A6            Bed TC
32
+ *                      17 |c7   * * *   f7| 45 A7            Extruder TC * 4.7k * +5        
33
+ *                         -----------------                  
34
+ *
35
+ *      Interior E4: 36, INT4
36
+ *      Interior E5: 37, INT5
37
+ *      Interior PA0-7: 28-35  -- Printrboard and Teensylu use these pins for step & direction:
38
+ *             T++ PA Signal  Marlin
39
+ *    
40
+ *       Z STEP  32 a4  a0 28 X STEP
41
+ *       Z DIR   33 a5  a1 29 X DIR
42
+ *       E STEP  34 a6  a2 30 Y STEP
43
+ *       E DIR   35 a7  a3 31 Y DIR
44
+ */
45
+
46
+#ifndef __AVR_AT90USB1286__
47
+  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
48
+#endif
49
+
50
+#ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
51
+  #error  Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config
52
+  // (or build from command line)
53
+#endif
54
+
55
+#define AT90USB 1286  // Disable MarlinSerial etc.
56
+
57
+#define LARGE_FLASH        true
58
+
59
+#define X_STEP_PIN         28 //  0 Marlin
60
+#define X_DIR_PIN          29 //  1 Marlin
61
+#define X_ENABLE_PIN       26 
62
+
63
+#define Y_STEP_PIN         30 //  2 Marlin
64
+#define Y_DIR_PIN          31 //  3
65
+#define Y_ENABLE_PIN       26     // Shared w/x
66
+
67
+#define Z_STEP_PIN         32 //  4
68
+#define Z_DIR_PIN          33 //  5
69
+#define Z_ENABLE_PIN       26 // Shared w/x
70
+
71
+#define E0_STEP_PIN        34 //  6
72
+#define E0_DIR_PIN         35 //  7
73
+#define E0_ENABLE_PIN      26 // Shared w/x
74
+
75
+#define HEATER_0_PIN       15 //  21  // Extruder
76
+#define HEATER_1_PIN       -1
77
+#define HEATER_2_PIN       -1
78
+#define HEATER_BED_PIN     14 // 20  // Bed
79
+#define FAN_PIN            16 // 22  // Fan
80
+
81
+#define X_STOP_PIN          2
82
+#define Y_STOP_PIN          3
83
+#define Z_STOP_PIN          4
84
+
85
+#define TEMP_0_PIN          7 // Extruder / Analog pin numbering
86
+#define TEMP_BED_PIN        6 // Bed / Analog pin numbering
87
+#define TEMP_1_PIN         -1
88
+#define TEMP_2_PIN         -1
89
+
90
+#define SDPOWER            -1
91
+#define SDCARDDETECT       -1   
92
+#define SDSS               20 // 8
93
+#define LED_PIN             6
94
+#define PS_ON_PIN          27
95
+#define KILL_PIN           -1
96
+#define ALARM_PIN          -1
97
+
98
+#ifndef SDSUPPORT
99
+// these pins are defined in the SD library if building with SD support
100
+  #define SCK_PIN         21 // 9
101
+  #define MISO_PIN        23 // 11
102
+  #define MOSI_PIN        22 // 10
103
+#endif
104
+
105
+#ifdef ULTIPANEL
106
+  #define LCD_PINS_RS         8
107
+  #define LCD_PINS_ENABLE     9
108
+  #define LCD_PINS_D4        10
109
+  #define LCD_PINS_D5        11
110
+  #define LCD_PINS_D6        12
111
+  #define LCD_PINS_D7        13
112
+  #define BTN_EN1            38
113
+  #define BTN_EN2            39
114
+  #define BTN_ENC            40
115
+#endif

+ 85
- 0
Marlin/pins_TEENSYLU.h Parādīt failu

@@ -0,0 +1,85 @@
1
+/**
2
+ * Teensylu 0.7 pin assignments (AT90USB1286)
3
+ * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
4
+ * http://www.pjrc.com/teensy/teensyduino.html
5
+ * See http://reprap.org/wiki/Printrboard for more info
6
+ */
7
+
8
+#ifndef __AVR_AT90USB1286__
9
+  #error Oops!  Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
10
+#endif
11
+
12
+#ifdef AT90USBxx_TEENSYPP_ASSIGNMENTS  // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
13
+  #error These Teensylu assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
14
+#endif
15
+
16
+#define AT90USB 1286  // Disable MarlinSerial etc.
17
+
18
+#define LARGE_FLASH        true
19
+
20
+#define X_STEP_PIN          0
21
+#define X_DIR_PIN           1
22
+#define X_ENABLE_PIN       39
23
+
24
+#define Y_STEP_PIN          2
25
+#define Y_DIR_PIN           3
26
+#define Y_ENABLE_PIN       38
27
+
28
+#define Z_STEP_PIN          4
29
+#define Z_DIR_PIN           5
30
+#define Z_ENABLE_PIN       23
31
+
32
+#define E0_STEP_PIN         6
33
+#define E0_DIR_PIN          7
34
+#define E0_ENABLE_PIN      19
35
+
36
+#define HEATER_0_PIN       21  // Extruder
37
+#define HEATER_1_PIN       46
38
+#define HEATER_2_PIN       47
39
+#define HEATER_BED_PIN     20
40
+
41
+// If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
42
+// fastio pin numbering otherwise
43
+#ifdef FAN_SOFT_PWM || FAST_PWM_FAN
44
+  #define FAN_PIN          22
45
+#else
46
+  #define FAN_PIN          16
47
+#endif
48
+
49
+#define X_STOP_PIN         13
50
+#define Y_STOP_PIN         14
51
+#define Z_STOP_PIN         15
52
+#define TEMP_0_PIN          7  // Extruder / Analog pin numbering
53
+#define TEMP_BED_PIN        6  // Bed / Analog pin numbering
54
+
55
+#define TEMP_1_PIN         -1
56
+#define TEMP_2_PIN         -1
57
+
58
+#define SDPOWER            -1
59
+#define SDSS                8
60
+#define LED_PIN            -1
61
+#define PS_ON_PIN          -1
62
+#define KILL_PIN           -1
63
+#define ALARM_PIN          -1
64
+
65
+#ifndef SDSUPPORT
66
+// these pins are defined in the SD library if building with SD support
67
+  #define SCK_PIN           9
68
+  #define MISO_PIN         11
69
+  #define MOSI_PIN         10
70
+#endif
71
+
72
+#if defined(ULTRA_LCD) && defined(NEWPANEL)
73
+  //we have no buzzer installed
74
+  #define BEEPER -1
75
+  //LCD Pins
76
+  #ifdef LCD_I2C_PANELOLU2
77
+    #define BTN_EN1 27  //RX1 - fastio.h pin mapping 27
78
+    #define BTN_EN2 26  //TX1 - fastio.h pin mapping 26
79
+    #define BTN_ENC 43 //A3 - fastio.h pin mapping 43
80
+    #define SDSS   40 //use SD card on Panelolu2 (Teensyduino pin mapping)
81
+  #endif // LCD_I2C_PANELOLU2
82
+  //not connected to a pin
83
+  #define SDCARDDETECT -1    
84
+#endif // ULTRA_LCD && NEWPANEL
85
+

+ 80
- 0
Marlin/pins_ULTIMAIN_2.h Parādīt failu

@@ -0,0 +1,80 @@
1
+/**
2
+ * Ultiboard v2.0 pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+  #error Oops!  Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define X_STEP_PIN 25
10
+#define X_DIR_PIN 23
11
+#define X_STOP_PIN 22
12
+#define X_ENABLE_PIN 27
13
+
14
+#define Y_STEP_PIN 32
15
+#define Y_DIR_PIN 33
16
+#define Y_STOP_PIN 26
17
+#define Y_ENABLE_PIN 31
18
+
19
+#define Z_STEP_PIN 35
20
+#define Z_DIR_PIN 36
21
+#define Z_STOP_PIN 29
22
+#define Z_ENABLE_PIN 34
23
+
24
+#define HEATER_BED_PIN 4
25
+#define TEMP_BED_PIN 10
26
+
27
+#define HEATER_0_PIN  2
28
+#define TEMP_0_PIN 8
29
+
30
+#define HEATER_1_PIN 3
31
+#define TEMP_1_PIN 9
32
+
33
+#define HEATER_2_PIN -1
34
+#define TEMP_2_PIN -1
35
+
36
+#define E0_STEP_PIN         42
37
+#define E0_DIR_PIN          43
38
+#define E0_ENABLE_PIN       37
39
+
40
+#define E1_STEP_PIN         49
41
+#define E1_DIR_PIN          47
42
+#define E1_ENABLE_PIN       48
43
+
44
+#define SDPOWER            -1
45
+#define SDSS               53
46
+#define LED_PIN            8
47
+#define FAN_PIN            7
48
+#define PS_ON_PIN          -1
49
+#define KILL_PIN           -1
50
+#define SUICIDE_PIN        -1  //PIN that has to be turned on right after start, to keep power flowing.
51
+#define SAFETY_TRIGGERED_PIN     28 //PIN to detect the safety circuit has triggered
52
+#define MAIN_VOLTAGE_MEASURE_PIN 14 //Analogue PIN to measure the main voltage, with a 100k - 4k7 resitor divider.
53
+
54
+#define MOTOR_CURRENT_PWM_XY_PIN 44
55
+#define MOTOR_CURRENT_PWM_Z_PIN 45
56
+#define MOTOR_CURRENT_PWM_E_PIN 46
57
+//Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
58
+#define MOTOR_CURRENT_PWM_RANGE 2000
59
+#define DEFAULT_PWM_MOTOR_CURRENT  {1300, 1300, 1250}
60
+
61
+//arduino pin witch triggers an piezzo beeper
62
+#define BEEPER 18
63
+
64
+#define LCD_PINS_RS 20
65
+#define LCD_PINS_ENABLE 15
66
+#define LCD_PINS_D4 14
67
+#define LCD_PINS_D5 21
68
+#define LCD_PINS_D6 5
69
+#define LCD_PINS_D7 6
70
+
71
+//buttons are directly attached
72
+#define BTN_EN1 40
73
+#define BTN_EN2 41
74
+#define BTN_ENC 19  //the click
75
+
76
+#define BLEN_C 2
77
+#define BLEN_B 1
78
+#define BLEN_A 0
79
+
80
+#define SDCARDDETECT 39

+ 100
- 0
Marlin/pins_ULTIMAKER.h Parādīt failu

@@ -0,0 +1,100 @@
1
+/**
2
+ * Ultimaker 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 LARGE_FLASH true
10
+
11
+#define X_STEP_PIN 25
12
+#define X_DIR_PIN 23
13
+#define X_MIN_PIN 22
14
+#define X_MAX_PIN 24
15
+#define X_ENABLE_PIN 27
16
+
17
+#define Y_STEP_PIN 31
18
+#define Y_DIR_PIN 33
19
+#define Y_MIN_PIN 26
20
+#define Y_MAX_PIN 28
21
+#define Y_ENABLE_PIN 29
22
+
23
+#define Z_STEP_PIN 37
24
+#define Z_DIR_PIN 39
25
+#define Z_MIN_PIN 30
26
+#define Z_MAX_PIN 32
27
+#define Z_ENABLE_PIN 35
28
+
29
+#define HEATER_BED_PIN 4
30
+#define TEMP_BED_PIN 10
31
+
32
+#define HEATER_0_PIN  2
33
+#define TEMP_0_PIN 8
34
+
35
+#define HEATER_1_PIN 3
36
+#define TEMP_1_PIN 9
37
+
38
+#define HEATER_2_PIN -1
39
+#define TEMP_2_PIN -1
40
+
41
+#define E0_STEP_PIN         43
42
+#define E0_DIR_PIN          45
43
+#define E0_ENABLE_PIN       41
44
+
45
+#define E1_STEP_PIN         49
46
+#define E1_DIR_PIN          47
47
+#define E1_ENABLE_PIN       48
48
+
49
+#define SDPOWER            -1
50
+#define SDSS               53
51
+#define LED_PIN            13
52
+#define FAN_PIN            7
53
+#define PS_ON_PIN          12
54
+#define KILL_PIN           -1
55
+#define SUICIDE_PIN        54  //PIN that has to be turned on right after start, to keep power flowing.
56
+#define SERVO0_PIN         13  // untested
57
+
58
+#ifdef ULTRA_LCD
59
+
60
+  #ifdef NEWPANEL
61
+  //arduino pin witch triggers an piezzo beeper
62
+    #define BEEPER 18
63
+
64
+    #define LCD_PINS_RS 20
65
+    #define LCD_PINS_ENABLE 17
66
+    #define LCD_PINS_D4 16
67
+    #define LCD_PINS_D5 21
68
+    #define LCD_PINS_D6 5
69
+    #define LCD_PINS_D7 6
70
+
71
+    //buttons are directly attached
72
+    #define BTN_EN1 40
73
+    #define BTN_EN2 42
74
+    #define BTN_ENC 19  //the click
75
+
76
+    #define SDCARDDETECT 38
77
+
78
+  #else //!NEWPANEL - Old style panel with shift register
79
+
80
+    //arduino pin witch triggers an piezzo beeper
81
+    #define BEEPER 18
82
+
83
+    //buttons are attached to a shift register
84
+    #define SHIFT_CLK 38
85
+    #define SHIFT_LD 42
86
+    #define SHIFT_OUT 40
87
+    #define SHIFT_EN 17
88
+
89
+    #define LCD_PINS_RS 16
90
+    #define LCD_PINS_ENABLE 5
91
+    #define LCD_PINS_D4 6
92
+    #define LCD_PINS_D5 21
93
+    #define LCD_PINS_D6 20
94
+    #define LCD_PINS_D7 19
95
+
96
+    #define SDCARDDETECT -1
97
+
98
+  #endif // !NEWPANEL
99
+
100
+#endif // ULTRA_LCD

+ 62
- 0
Marlin/pins_ULTIMAKER_OLD.h Parādīt failu

@@ -0,0 +1,62 @@
1
+/**
2
+ * Ultimaker pin assignments (Old electronics)
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 LARGE_FLASH true
10
+
11
+#define X_STEP_PIN 25
12
+#define X_DIR_PIN 23
13
+#define X_MIN_PIN 15
14
+#define X_MAX_PIN 14
15
+#define X_ENABLE_PIN 27
16
+
17
+#define Y_STEP_PIN 31
18
+#define Y_DIR_PIN 33
19
+#define Y_MIN_PIN 17
20
+#define Y_MAX_PIN 16
21
+#define Y_ENABLE_PIN 29
22
+
23
+#define Z_STEP_PIN 37
24
+#define Z_DIR_PIN 39
25
+#define Z_MIN_PIN 19
26
+#define Z_MAX_PIN 18
27
+#define Z_ENABLE_PIN 35
28
+
29
+#define HEATER_BED_PIN -1
30
+#define TEMP_BED_PIN -1
31
+
32
+#define HEATER_0_PIN  2
33
+#define TEMP_0_PIN 8
34
+
35
+#define HEATER_1_PIN 1
36
+#define TEMP_1_PIN 1
37
+
38
+#define HEATER_2_PIN -1
39
+#define TEMP_2_PIN -1
40
+
41
+#define E0_STEP_PIN         43
42
+#define E0_DIR_PIN          45
43
+#define E0_ENABLE_PIN       41
44
+
45
+#define E1_STEP_PIN         -1
46
+#define E1_DIR_PIN          -1
47
+#define E1_ENABLE_PIN       -1
48
+
49
+#define SDPOWER            -1
50
+#define SDSS               -1
51
+#define LED_PIN            -1
52
+#define FAN_PIN            -1
53
+#define PS_ON_PIN          -1
54
+#define KILL_PIN           -1
55
+#define SUICIDE_PIN        -1  //PIN that has to be turned on right after start, to keep power flowing.
56
+
57
+#define LCD_PINS_RS 24
58
+#define LCD_PINS_ENABLE 22
59
+#define LCD_PINS_D4 36
60
+#define LCD_PINS_D5 34
61
+#define LCD_PINS_D6 32
62
+#define LCD_PINS_D7 30

Notiek ielāde…
Atcelt
Saglabāt