1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 02:21:46 +02:00

Added some Machines/*.yaml files

This commit is contained in:
Mitch Bradley
2021-05-25 12:05:12 -10:00
parent 54a7f93733
commit f31a7d9186
6 changed files with 300 additions and 7 deletions

View File

@@ -23,13 +23,6 @@
along with Grbl. If not, see <http://www.gnu.org/licenses/>.
*/
/* The defaults.h file serves as a central default settings selector for different machine
types, from DIY CNC mills to CNC conversions of off-the-shelf machines. The settings
files listed here are supplied by users, so your results may vary. However, this should
give you a good starting point as you get to know your machine and tweak the settings for
your nefarious needs.
NOTE: Ensure one and only one of these DEFAULTS_XXX values is defined in config.h */
/*
All of these settings check to see if they have been defined already
before defining them. This allows to to easily set them eslewhere.

View File

@@ -0,0 +1,53 @@
name: 6 Pack Lowrider XYYZZ V1 (StepStick)
board: 6-pack
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
axes:
number_axis: 3
x:
gang0:
endstops:
dual: gpio.33
stepstick:
disable: i2so.0
direction: i2so.1
step: i2so.2
gang1:
null_motor:
y:
gang0:
endstops:
dual: gpio.32
stepstick:
disable: i2so.7
direction: i2so.4
step: i2so.5
gang1:
endstops:
dual: gpio.35
null_motor:
z:
gang0:
endstops:
dual: gpio.34
stepstick:
disable: i2so.8
direction: i2so.9
step: i2so.10
gang1:
endstops:
dual: gpio.2
stepstick:
disable: i2so.16
direction: i2so.17
step: i2so.18
# 4x Input Module in Socket #1
# 4x Input Module in Socket #2

View File

@@ -0,0 +1,55 @@
name: 6 Pack MPCNC XYZXY V1 (StepStick)
board: 6-pack
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
axes:
number_axis: 3
x:
gang0:
endstops:
dual: gpio.33
stepstick: # Motor Socket 1
disable: i2so.0
direction: i2s0.1
step: i2s0.2
gang1:
endstops:
dual: gpio.34
stepstick: # Motor Socket 4
disable: i2so.15
direction: i2s0.12
step: i2s0.13
y:
gang0:
endstops:
dual: gpio.32
stepstick: # Motor Socket 2
disable: i2so.7
direction: i2s0.4
step: i2s0.5
gang1:
endstops:
dual: gpio.2
stepstick: # Motor Socket 5
disable: i2so.16
direction: i2s0.17
step: i2s0.18
z:
gang0:
endstops:
dual: gpio.35
stepstick: # Motor Socket 3
disable: i2so.8
direction: i2s0.9
step: i2s0.10
# 4x Input Module in Socket #1
# 4x Input Module in Socket #2

View File

@@ -0,0 +1,56 @@
name: 6 Pack Controller V1 (Trinamic Stallguard)
board: 6-pack
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
axes:
number_axis: 3
x:
gang0:
tmc_5160: # Motor Socket 2
disable: i2so.7
direction: i2s0.4
step: i2s0.5
cs: i2s0.6
gang0:
null_motor:
y:
gang0:
tmc_5160: # Motor Socket 1
disable: i2so.0
direction: i2s0.1
step: i2s0.2
cs: i2s0.3
gang1:
tmc_5160: # Motor Socket 3
disable: i2so.8
direction: i2s0.9
step: i2s0.10
cs: i2s0.11
coolant:
mist: gpio.4
flood: gpio.16
spindle:
Laser:
output_pin: gpio.26
user_outputs:
digital0: gpio.27
XXX how do we express this in YAML?
#define TRINAMIC_RUN_MODE Motors::TrinamicMode::CoolStep
#define TRINAMIC_HOMING_MODE Motors::TrinamicMode::StallGuard
# Install StallGuard Jumpers
# Quad MOSFET CNC Module in Socket #3
# https://github.com/bdring/6-Pack_CNC_Controller/wiki/Quad-MOSFET-Module
#define SPINDLE_TYPE SpindleType::LASER

View File

@@ -0,0 +1,43 @@
name: 6 Pack StepStick XYZ pins
board: 6-pack
i2so:
bck: gpio.22
ws: gpio.17
data: gpio.21
axes:
number_axis: 3
x:
steps_per_mm: 800
gang0:
stepstick: # Motor Socket 1
disable: i2so.0
direction: i2s0.1
step: i2s0.2
y:
steps_per_mm: 800
gang0:
stepstick: # Motor Socket 2
disable: i2so.7
direction: i2s0.4
step: i2s0.5
z:
steps_per_mm: 800
gang0:
stepstick: # Motor Socket 3
disable: i2so.8
direction: i2s0.9
step: i2s0.10
coolant:
mist: gpio.14
flood: gpio.13
spindle:
PWM:
output_pin: gpio.15
enable_pin: gpio.12

View File

@@ -0,0 +1,93 @@
name: MPCNC_V1P1
board: mpcnc
idle_time: 255
axes:
number_axis: 3
shared_stepper_disable: gpio.13
x:
homing:
positive_direction: false
pulloff: 2
feed_rate: 100
seek_rate: 200
debounce: 250
square: true
steps_per_mm: 200
max_rate: 8000
acceleration: 200
max_travel: 500
gang0:
endstops:
dual: gpio.2:low
stepstick:
step: gpio.12
direction: gpio.26
gang1:
stepstick:
step: gpio.22
direction: gpio.26
y:
homing:
positive_direction: false
pulloff: 2
feed_rate: 100
seek_rate: 200
debounce: 250
square: true
steps_per_mm: 200
max_rate: 8000
acceleration: 200
max_travel: 500
gang0:
endstops:
dual: gpio.4:low
stepstick:
step: gpio.14
direction: gpio.25
gang1:
stepstick:
step: gpio.21
direction: gpio.25
z:
homing:
positive_direction: true
pulloff: 2
feed_rate: 100
seek_rate: 200
debounce: 250
square: false
steps_per_mm: 800
max_rate: 3000
acceleration: 100
max_travel: 80
gang0:
endstops:
dual: gpio.15:low
stepstick:
step: gpio.27
direction: gpio.33
spindle:
PWM:
output_pin: gpio.16
enable_pin: gpio.32
max_rpm: 1000.0
min_rpm: 0.0
probe:
pin: gpio.35
control:
reset: gpio.34:low
feed_hold: gpio.36:low
cycle_start: gpio.39:low
# For relay spindle -
# spindle:
# relay:
# output_pin: gpio.17