Browse Source

added minirambo pin definitions. V2

tonokip 9 years ago
parent
commit
10733a2bb0
3 changed files with 114 additions and 0 deletions
  1. 1
    0
      Marlin/boards.h
  2. 2
    0
      Marlin/pins.h
  3. 111
    0
      Marlin/pins_MINIRAMBO.h

+ 1
- 0
Marlin/boards.h View File

@@ -47,6 +47,7 @@
47 47
 #define BOARD_OMCA_A            90   // Alpha OMCA board
48 48
 #define BOARD_OMCA              91   // Final OMCA board
49 49
 #define BOARD_RAMBO             301  // Rambo
50
+#define BOARD_MINIRAMBO         302  // Mini-Rambo
50 51
 #define BOARD_ELEFU_3           21   // Elefu Ra Board (v3)
51 52
 #define BOARD_5DPRINT           88   // 5DPrint D8 Driver Board
52 53
 #define BOARD_LEAPFROG          999  // Leapfrog

+ 2
- 0
Marlin/pins.h View File

@@ -98,6 +98,8 @@
98 98
   #include "pins_OMCA.h"
99 99
 #elif MB(RAMBO)
100 100
   #include "pins_RAMBO.h"
101
+#elif MB(MINIRAMBO)
102
+  #include "pins_MINIRAMBO.h"
101 103
 #elif MB(ELEFU_3)
102 104
   #include "pins_ELEFU_3.h"
103 105
 #elif MB(5DPRINT)

+ 111
- 0
Marlin/pins_MINIRAMBO.h View File

@@ -0,0 +1,111 @@
1
+/**
2
+ * Mini-Rambo pin assignments
3
+ */
4
+
5
+#ifndef __AVR_ATmega2560__
6
+#error Oops!  Make sure you have 'Arduino Mega 2560 or Rambo' selected from the 'Tools -> Boards' menu.
7
+#endif
8
+
9
+#define LARGE_FLASH true
10
+
11
+
12
+#undef X_MS1_PIN
13
+#undef X_MS2_PIN
14
+#undef Y_MS1_PIN
15
+#undef Y_MS2_PIN
16
+#undef Z_MS1_PIN
17
+#undef Z_MS2_PIN
18
+#undef E0_MS1_PIN
19
+#undef E0_MS2_PIN
20
+#undef E1_MS1_PIN
21
+#undef E1_MS2_PIN
22
+ 
23
+#define X_STEP_PIN 37
24
+#define X_DIR_PIN 48
25
+#define X_MIN_PIN 12
26
+#define X_MAX_PIN 30
27
+#define X_ENABLE_PIN 29
28
+#define X_MS1_PIN 40
29
+#define X_MS2_PIN 41
30
+
31
+#define Y_STEP_PIN 36
32
+#define Y_DIR_PIN 49
33
+#define Y_MIN_PIN 11
34
+#define Y_MAX_PIN 24
35
+#define Y_ENABLE_PIN 28
36
+#define Y_MS1_PIN 69
37
+#define Y_MS2_PIN 39
38
+
39
+#define Z_STEP_PIN 35
40
+#define Z_DIR_PIN 47
41
+#define Z_MIN_PIN 10
42
+#define Z_MAX_PIN 23
43
+#define Z_ENABLE_PIN 27
44
+#define Z_MS1_PIN 68
45
+#define Z_MS2_PIN 67
46
+
47
+#define HEATER_BED_PIN 4
48
+#define TEMP_BED_PIN 2
49
+
50
+#define HEATER_0_PIN 3
51
+#define TEMP_0_PIN 0
52
+
53
+#define HEATER_1_PIN 7
54
+#define TEMP_1_PIN 1
55
+
56
+#ifdef BARICUDA
57
+#define HEATER_2_PIN 6
58
+#else
59
+#define HEATER_2_PIN -1
60
+#endif
61
+
62
+#define TEMP_2_PIN -1
63
+
64
+#define E0_STEP_PIN         34
65
+#define E0_DIR_PIN          43
66
+#define E0_ENABLE_PIN       26
67
+#define E0_MS1_PIN 65
68
+#define E0_MS2_PIN 66
69
+
70
+#define E1_STEP_PIN         -1
71
+#define E1_DIR_PIN          -1
72
+#define E1_ENABLE_PIN       -1
73
+#define E1_MS1_PIN -1
74
+#define E1_MS2_PIN -1
75
+
76
+#define MOTOR_CURRENT_PWM_XY_PIN 46
77
+#define MOTOR_CURRENT_PWM_Z_PIN 45
78
+#define MOTOR_CURRENT_PWM_E_PIN 44
79
+//Motor current PWM conversion, PWM value = MotorCurrentSetting * 255 / range
80
+#define MOTOR_CURRENT_PWM_RANGE 2000
81
+#define DEFAULT_PWM_MOTOR_CURRENT  {1300, 1300, 1250}
82
+#define SDPOWER            -1
83
+#define SDSS               53
84
+#define LED_PIN            13
85
+#define FAN_PIN            8
86
+#define FAN_1_PIN 6
87
+#define PS_ON_PIN          -1
88
+#define KILL_PIN           -1 //80 with Smart Controller LCD
89
+#define SUICIDE_PIN        -1  //PIN that has to be turned on right after start, to keep power flowing.
90
+
91
+#ifdef ULTRA_LCD
92
+  #define KILL_PIN 32
93
+  #ifdef NEWPANEL
94
+   //arduino pin which triggers an piezzo beeper
95
+    #define BEEPER 84      // Beeper on AUX-4
96
+    #define LCD_PINS_RS 82
97
+    #define LCD_PINS_ENABLE 18
98
+    #define LCD_PINS_D4 19
99
+    #define LCD_PINS_D5 70
100
+    #define LCD_PINS_D6 85
101
+    #define LCD_PINS_D7 71
102
+
103
+    //buttons are directly attached using AUX-2
104
+    #define BTN_EN1 14
105
+    #define BTN_EN2 72
106
+    #define BTN_ENC 9  //the click
107
+
108
+    #define SDCARDDETECT 15
109
+
110
+  #endif
111
+#endif //ULTRA_LCD

Loading…
Cancel
Save