Support for Rigidbot V2
This commit is contained in:
parent
71a693b3ec
commit
593c8bf286
@ -40,6 +40,7 @@
|
||||
#define BOARD_RAMPS_13_SF 38 // RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
|
||||
#define BOARD_FELIX2 37 // Felix 2.0+ Electronics Board (RAMPS like)
|
||||
#define BOARD_RIGIDBOARD 42 // Invent-A-Part RigidBoard
|
||||
#define BOARD_RIGIDBOARD_V2 52 // Invent-A-Part RigidBoard V2
|
||||
#define BOARD_RAMPS_14_EFB 43 // RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)
|
||||
#define BOARD_RAMPS_14_EEB 44 // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed)
|
||||
#define BOARD_RAMPS_14_EFF 45 // RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1)
|
||||
|
@ -117,8 +117,11 @@
|
||||
|
||||
// The following define selects which electronics board you have.
|
||||
// Please choose the name from boards.h that matches your setup
|
||||
// for Rigidbot version 1 : #define MOTHERBOARD BOARD_RIGIDBOARD
|
||||
// for Rigidbot Version 2 : #define MOTHERBOARD BOARD_RIGIDBOARD_V2
|
||||
|
||||
#ifndef MOTHERBOARD
|
||||
#define MOTHERBOARD BOARD_RIGIDBOARD
|
||||
#define MOTHERBOARD BOARD_RIGIDBOARD_V2
|
||||
#endif
|
||||
|
||||
// Optional custom name for your RepStrap or other custom machine
|
||||
|
@ -129,6 +129,8 @@
|
||||
#include "pins_MKS_BASE.h"
|
||||
#elif MB(RIGIDBOARD)
|
||||
#include "pins_RIGIDBOARD.h"
|
||||
#elif MB(RIGIDBOARD_V2)
|
||||
#include "pins_RIGIDBOARD_V2.h"
|
||||
#elif MB(MEGACONTROLLER)
|
||||
#include "pins_MEGACONTROLLER.h"
|
||||
#elif MB(BQ_ZUM_MEGA_3D)
|
||||
|
40
Marlin/pins_RIGIDBOARD_V2.h
Normal file
40
Marlin/pins_RIGIDBOARD_V2.h
Normal file
@ -0,0 +1,40 @@
|
||||
/**
|
||||
* 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/>.
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* RIGIDBOARD V2 Arduino Mega with RAMPS v1.4 pin assignments
|
||||
*/
|
||||
|
||||
#include "pins_RIGIDBOARD.h"
|
||||
|
||||
// I2C based DAC like on the Printrboard REVF
|
||||
#define DAC_STEPPER_CURRENT
|
||||
// Channels available for DAC, For Rigidboard there are 4
|
||||
#define DAC_STEPPER_ORDER {0,1,2,3}
|
||||
|
||||
#define DAC_STEPPER_SENSE 0.11
|
||||
#define DAC_STEPPER_ADDRESS 0
|
||||
#define DAC_STEPPER_MAX 5000
|
||||
#define DAC_STEPPER_VREF 1 //internal Vref, gain 1x = 2.048V
|
||||
#define DAC_STEPPER_GAIN 0
|
||||
#define DAC_DISABLE_PIN 42 // set low to enable DAC
|
||||
#define DAC_OR_ADDRESS 0x01
|
Loading…
Reference in New Issue
Block a user