Browse Source

Support for Rigidbot V2

Scott Lahteine 8 years ago
parent
commit
593c8bf286

+ 1
- 0
Marlin/boards.h View File

@@ -40,6 +40,7 @@
40 40
 #define BOARD_RAMPS_13_SF       38   // RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
41 41
 #define BOARD_FELIX2            37   // Felix 2.0+ Electronics Board (RAMPS like)
42 42
 #define BOARD_RIGIDBOARD        42   // Invent-A-Part RigidBoard
43
+#define BOARD_RIGIDBOARD_V2     52   // Invent-A-Part RigidBoard V2
43 44
 #define BOARD_RAMPS_14_EFB      43   // RAMPS 1.4 (Power outputs: Hotend, Fan, Bed)
44 45
 #define BOARD_RAMPS_14_EEB      44   // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed)
45 46
 #define BOARD_RAMPS_14_EFF      45   // RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1)

+ 4
- 1
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -117,8 +117,11 @@
117 117
 
118 118
 // The following define selects which electronics board you have.
119 119
 // Please choose the name from boards.h that matches your setup
120
+// for Rigidbot version 1 : #define MOTHERBOARD BOARD_RIGIDBOARD
121
+// for Rigidbot Version 2 : #define MOTHERBOARD BOARD_RIGIDBOARD_V2
122
+
120 123
 #ifndef MOTHERBOARD
121
-  #define MOTHERBOARD BOARD_RIGIDBOARD
124
+  #define MOTHERBOARD BOARD_RIGIDBOARD_V2
122 125
 #endif
123 126
 
124 127
 // Optional custom name for your RepStrap or other custom machine

+ 2
- 0
Marlin/pins.h View File

@@ -129,6 +129,8 @@
129 129
   #include "pins_MKS_BASE.h"
130 130
 #elif MB(RIGIDBOARD)
131 131
   #include "pins_RIGIDBOARD.h"
132
+#elif MB(RIGIDBOARD_V2)
133
+  #include "pins_RIGIDBOARD_V2.h"
132 134
 #elif MB(MEGACONTROLLER)
133 135
   #include "pins_MEGACONTROLLER.h"
134 136
 #elif MB(BQ_ZUM_MEGA_3D)

+ 40
- 0
Marlin/pins_RIGIDBOARD_V2.h View File

@@ -0,0 +1,40 @@
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
+ * RIGIDBOARD V2 Arduino Mega with RAMPS v1.4 pin assignments
25
+ */
26
+
27
+#include "pins_RIGIDBOARD.h"
28
+
29
+// I2C based DAC like on the Printrboard REVF
30
+#define DAC_STEPPER_CURRENT
31
+// Channels available for DAC, For Rigidboard there are 4
32
+#define DAC_STEPPER_ORDER {0,1,2,3}
33
+
34
+#define DAC_STEPPER_SENSE    0.11
35
+#define DAC_STEPPER_ADDRESS  0
36
+#define DAC_STEPPER_MAX   5000
37
+#define DAC_STEPPER_VREF     1 //internal Vref, gain 1x = 2.048V
38
+#define DAC_STEPPER_GAIN     0
39
+#define DAC_DISABLE_PIN     42 //  set low to enable DAC
40
+#define DAC_OR_ADDRESS    0x01

Loading…
Cancel
Save