Browse Source

Merge pull request #1884 from shaggythesheep/feature_new_board_ramps_cnc_controller

Feature: Add RAMPS CNC Controller Board
Scott Lahteine 9 years ago
parent
commit
5146694452
3 changed files with 6 additions and 4 deletions
  1. 1
    0
      Marlin/boards.h
  2. 1
    1
      Marlin/pins.h
  3. 4
    3
      Marlin/pins_RAMPS_13.h

+ 1
- 0
Marlin/boards.h View File

@@ -14,6 +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_RAMPS_13_SF       38   // RAMPS 1.3 / 1.4 (Power outputs: Spindle, Controller Fan)
17 18
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
18 19
 #define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
19 20
 #define BOARD_GEN6              5    // Gen6

+ 1
- 1
Marlin/pins.h View File

@@ -34,7 +34,7 @@
34 34
   #include "pins_SETHI.h"
35 35
 #elif MB(RAMPS_OLD)
36 36
   #include "pins_RAMPS_OLD.h"
37
-#elif MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
37
+#elif MB(RAMPS_13_EFB) || MB(RAMPS_13_EEB) || MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF)
38 38
   #include "pins_RAMPS_13.h"
39 39
 #elif MB(DUEMILANOVE_328P)
40 40
   #include "pins_DUEMILANOVE_328P.h"

+ 4
- 3
Marlin/pins_RAMPS_13.h View File

@@ -7,6 +7,7 @@
7 7
  *  RAMPS_13_EEB (Extruder, Extruder, Bed)
8 8
  *  RAMPS_13_EFF (Extruder, Fan, Fan)
9 9
  *  RAMPS_13_EEF (Extruder, Extruder, Fan)
10
+ *  RAMPS_13_SF  (Spindle, Controller Fan)
10 11
  *
11 12
  *  Other pins_MYBOARD.h files may override these defaults
12 13
  */
@@ -81,7 +82,7 @@
81 82
   #if MB(RAMPS_13_EFF)
82 83
     #define CONTROLLERFAN_PIN  -1 // Pin used for the fan to cool controller
83 84
   #endif
84
-#elif MB(RAMPS_13_EEF)
85
+#elif MB(RAMPS_13_EEF) || MB(RAMPS_13_SF)
85 86
   #define FAN_PIN            8
86 87
 #else
87 88
   #define FAN_PIN            4 // IO pin. Buffer needed
@@ -101,7 +102,7 @@
101 102
   #define HEATER_0_PIN       10   // EXTRUDER 1
102 103
 #endif
103 104
 
104
-#if MB(RAMPS_13_EFB)
105
+#if MB(RAMPS_13_EFB) || MB(RAMPS_13_SF)
105 106
   #define HEATER_1_PIN       -1
106 107
 #else
107 108
   #define HEATER_1_PIN       9    // EXTRUDER 2 (FAN On Sprinter)
@@ -113,7 +114,7 @@
113 114
 #define TEMP_1_PIN         15   // ANALOG NUMBERING
114 115
 #define TEMP_2_PIN         -1   // ANALOG NUMBERING
115 116
 
116
-#if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF)
117
+#if MB(RAMPS_13_EFF) || MB(RAMPS_13_EEF) || MB(RAMPS_13_SF)
117 118
   #define HEATER_BED_PIN     -1    // NO BED
118 119
 #else
119 120
   #define HEATER_BED_PIN     8    // BED

Loading…
Cancel
Save