Browse Source

Merge pull request #6932 from thinkyhead/bf_zrib_2.0

Support for ZRIB v2.0 Control Board
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
e2c3695e11
  1. 1
      Marlin/boards.h
  2. 2
      Marlin/pins.h
  3. 5
      Marlin/pins_CHEAPTRONICv2.h
  4. 5
      Marlin/pins_PRINTRBOARD.h
  5. 5
      Marlin/pins_PRINTRBOARD_REVF.h
  6. 5
      Marlin/pins_RAMBO.h
  7. 5
      Marlin/pins_RAMPS.h
  8. 5
      Marlin/pins_SCOOVO_X9H.h
  9. 39
      Marlin/pins_ZRIB_V20.h

1
Marlin/boards.h

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

2
Marlin/pins.h

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

5
Marlin/pins_CHEAPTRONICv2.h

@ -111,9 +111,12 @@
// //
// Other board specific pins // Other board specific pins
// //
#define FILWIDTH_PIN 37
#define LED_PIN 13 #define LED_PIN 13
#define SPINDLE_ENABLE_PIN 4 #define SPINDLE_ENABLE_PIN 4
#define FAN_PIN 3 #define FAN_PIN 3
#define PS_ON_PIN 45 #define PS_ON_PIN 45
#define KILL_PIN 46 #define KILL_PIN 46
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 37 // should be Analog Input (0-15)
#endif

5
Marlin/pins_PRINTRBOARD.h

@ -99,7 +99,10 @@
// Misc. Functions // Misc. Functions
// //
#define SDSS 26 #define SDSS 26
#define FILWIDTH_PIN 2 // Analog Input
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 2 // Analog Input
#endif
// //
// LCD / Controller // LCD / Controller

5
Marlin/pins_PRINTRBOARD_REVF.h

@ -102,7 +102,10 @@
// Misc. Functions // Misc. Functions
// //
#define SDSS 20 // Teensylu pin mapping #define SDSS 20 // Teensylu pin mapping
#define FILWIDTH_PIN 2 // Analog Input
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 2 // Analog Input
#endif
// //
// LCD / Controller // LCD / Controller

5
Marlin/pins_RAMBO.h

@ -135,10 +135,13 @@
// //
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define FILWIDTH_PIN 3 // Analog Input
#define PS_ON_PIN 4 #define PS_ON_PIN 4
#define CASE_LIGHT_PIN 46 #define CASE_LIGHT_PIN 46
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 3 // Analog Input
#endif
// //
// LCD / Controller // LCD / Controller
// //

5
Marlin/pins_RAMPS.h

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

5
Marlin/pins_SCOOVO_X9H.h

@ -118,7 +118,10 @@
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#define PS_ON_PIN 4 #define PS_ON_PIN 4
#define FILWIDTH_PIN 3 // Analog Input
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 3 // Analog Input
#endif
// //
// LCD / Controller // LCD / Controller

39
Marlin/pins_ZRIB_V20.h

@ -0,0 +1,39 @@
/**
* Marlin 3D Printer Firmware
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* ZRIB V2.0 pin assignments
*/
#define ZRIB_V20_D6_PIN 6
#define ZRIB_V20_D9_PIN 9
#define RAMPS_D9_PIN ZRIB_V20_D6_PIN
#define ORIG_E0_AUTO_FAN_PIN ZRIB_V20_D9_PIN
#define ORIG_E1_AUTO_FAN_PIN ZRIB_V20_D9_PIN
#define ORIG_E2_AUTO_FAN_PIN ZRIB_V20_D9_PIN
#define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D9_PIN
#ifndef FILWIDTH_PIN
#define FILWIDTH_PIN 11 // Analog Input
#endif
#include "pins_MKS_13.h"
Loading…
Cancel
Save