Browse Source

Feature: Add RAMPS CNC Controller Board

Created a new board to make using RAMPS as a CNC machine controller
easier. It maps pin 8 to the spindle and pin 9 to the controller fan.
Richard Miles 10 years ago
parent
commit
4c3736ed43
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
 #define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
14
 #define BOARD_RAMPS_13_EEB      34   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)
15
 #define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
15
 #define BOARD_RAMPS_13_EFF      35   // RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)
16
 #define BOARD_RAMPS_13_EEF      36   // RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Fan)
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
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
18
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
18
 #define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
19
 #define BOARD_DUEMILANOVE_328P  4    // Duemilanove w/ ATMega328P pin assignments
19
 #define BOARD_GEN6              5    // Gen6
20
 #define BOARD_GEN6              5    // Gen6

+ 1
- 1
Marlin/pins.h View File

34
   #include "pins_SETHI.h"
34
   #include "pins_SETHI.h"
35
 #elif MB(RAMPS_OLD)
35
 #elif MB(RAMPS_OLD)
36
   #include "pins_RAMPS_OLD.h"
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
   #include "pins_RAMPS_13.h"
38
   #include "pins_RAMPS_13.h"
39
 #elif MB(DUEMILANOVE_328P)
39
 #elif MB(DUEMILANOVE_328P)
40
   #include "pins_DUEMILANOVE_328P.h"
40
   #include "pins_DUEMILANOVE_328P.h"

+ 4
- 3
Marlin/pins_RAMPS_13.h View File

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

Loading…
Cancel
Save