Explorar el Código

Support for ZRIB v2.0 Control Board

FATALHERMIT hace 8 años
padre
commit
911079104e
Se han modificado 4 ficheros con 45 adiciones y 2 borrados
  1. 1
    0
      Marlin/boards.h
  2. 2
    0
      Marlin/pins.h
  3. 3
    2
      Marlin/pins_RAMPS.h
  4. 39
    0
      Marlin/pins_ZRIB_V20.h

+ 1
- 0
Marlin/boards.h Ver fichero

@@ -95,6 +95,7 @@
95 95
 #define BOARD_BAM_DICE          401  // 2PrintBeta BAM&DICE with STK drivers
96 96
 #define BOARD_BAM_DICE_DUE      402  // 2PrintBeta BAM&DICE Due with STK drivers
97 97
 #define BOARD_BQ_ZUM_MEGA_3D    503  // bq ZUM Mega 3D
98
+#define BOARD_ZRIB_V20          504  // zrib V2.0 control board (Chinese knock off RAMPS replica) 
98 99
 
99 100
 #define MB(board) (MOTHERBOARD==BOARD_##board)
100 101
 

+ 2
- 0
Marlin/pins.h Ver fichero

@@ -174,6 +174,8 @@
174 174
   #include "pins_MKS_13.h"
175 175
 #elif MB(SAINSMART_2IN1)
176 176
   #include "pins_SAINSMART_2IN1.h"
177
+#elif MB(ZRIB_V20)
178
+  #include "pins_ZRIB_V20.h"
177 179
 #else
178 180
   #error "Unknown MOTHERBOARD value set in Configuration.h"
179 181
 #endif

+ 3
- 2
Marlin/pins_RAMPS.h Ver fichero

@@ -196,8 +196,9 @@
196 196
 #define SDSS               53
197 197
 #define LED_PIN            13
198 198
 
199
-// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
200
-#define FILWIDTH_PIN        5   // Analog Input
199
+#ifndef FILWIDTH_PIN
200
+  #define FILWIDTH_PIN      5   // Analog Input on AUX2
201
+#endif
201 202
 
202 203
 // define digital pin 4 for the filament runout sensor. Use the RAMPS 1.4 digital input 4 on the servos connector
203 204
 #define FIL_RUNOUT_PIN      4

+ 39
- 0
Marlin/pins_ZRIB_V20.h Ver fichero

@@ -0,0 +1,39 @@
1
+/**
2
+ * Marlin 3D Printer Firmware
3
+ * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
4
+ *
5
+ * Based on Sprinter and grbl.
6
+ * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
7
+ *
8
+ * This program is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
+ *
21
+ */
22
+
23
+/**
24
+ * ZRIB V2.0 pin assignments
25
+ */
26
+
27
+#define ZRIB_V20_D6_PIN 6
28
+#define ZRIB_V20_D9_PIN 9
29
+#define RAMPS_D9_PIN         ZRIB_V20_D6_PIN
30
+#define ORIG_E0_AUTO_FAN_PIN ZRIB_V20_D9_PIN
31
+#define ORIG_E1_AUTO_FAN_PIN ZRIB_V20_D9_PIN
32
+#define ORIG_E2_AUTO_FAN_PIN ZRIB_V20_D9_PIN
33
+#define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D9_PIN
34
+
35
+#ifndef FILWIDTH_PIN
36
+  #define FILWIDTH_PIN 11   // Analog Input
37
+#endif
38
+
39
+#include "pins_MKS_13.h"

Loading…
Cancelar
Guardar