Prusa MINI Firmware overview
Main Page
Modules
Classes
Files
File List
File Members
pins_RIGIDBOARD_V2.h
Go to the documentation of this file.
1
/**
2
* Marlin 3D Printer Firmware
3
* Copyright (c) 2019 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
#pragma once
23
24
/**
25
* RIGIDBOARD V2 Arduino Mega with RAMPS v1.4 pin assignments
26
*/
27
28
#define BOARD_INFO_NAME "RigidBoard V2"
29
30
#include "
pins_RIGIDBOARD.h
"
31
32
//
33
// Steppers
34
//
35
36
// I2C based DAC like on the Printrboard REVF
37
#define DAC_STEPPER_CURRENT
38
39
// Channels available for DAC, For Rigidboard there are 4
40
#define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
41
42
#define DAC_STEPPER_SENSE 0.05 // sense resistors on rigidboard stepper chips are .05 value
43
#define DAC_STEPPER_ADDRESS 0
44
#define DAC_STEPPER_MAX 4096 // was 5000 but max allowable value is actually 4096
45
#define DAC_STEPPER_VREF 1 // internal Vref, gain 2x = 4.096V
46
#define DAC_STEPPER_GAIN 1 // value of 1 here sets gain of 2
47
#define DAC_DISABLE_PIN 42 // set low to enable DAC
48
#define DAC_OR_ADDRESS 0x01
49
50
#ifndef DAC_MOTOR_CURRENT_DEFAULT
51
#define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
52
#endif
pins_RIGIDBOARD.h
Prusa-Firmware-Buddy-Private1
lib
Marlin
Marlin
src
pins
ramps
pins_RIGIDBOARD_V2.h
Generated by
1.8.16