Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jake Read
ucbus-stepper
Commits
4f773087
Commit
4f773087
authored
Jan 22, 2021
by
Jake Read
Browse files
clarify microsteps, configur8 for clank-cz
parent
28c1a6a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
firmware/osape-smoothieroll-drop-stepper/src/drivers/step_a4950.h
View file @
4f773087
...
...
@@ -28,12 +28,12 @@ is; no warranty is provided, and users accept all liability.
// 8: DACs go full width
//#define C_SCALE 8 // on init
// MICROSTEP_COUNT
// 1: do 1 tick of 256 table, for full resolution
// 2:
128
steps
// 4:
64
steps
// 8:
32
steps
// 16:
16
steps
// 32:
8
steps
// 1: do 1 tick of 256 table, for full resolution
, this is 64 'microsteps'
// 2:
32 micro
steps
// 4:
16 micro
steps
// 8:
8 micro
steps
// 16:
4 micro
steps
// 32:
full
steps
#define MICROSTEP_COUNT 1
// AIN1 PB06
...
...
firmware/osape-smoothieroll-drop-stepper/src/main.cpp
View file @
4f773087
...
...
@@ -9,17 +9,20 @@ OSAP* osap = new OSAP("stepper motor drop");
VPort_UCBus_Drop
*
vPortUcBusDrop
=
new
VPort_UCBus_Drop
();
// clank cz:
// Z: Bus Drop 5, Axis Pick 2, Invert ?, SPU 1386.6666667
// TC: Bus Drop 4,
// YL: Bus Drop 1, Invert true
// YR: Bus Drop 2, Invert false
// X: Bus Drop 3, Invert false
// AXIS SPU INVERT
// X: 320 false
// YL: 320 true
// YR: 320 false
// Z: 462.2- false
// E: 830 currently false, not sure
// per bondtech, for BMG on 16 microsteps, do 415: we are 32 microsteps
// https://www.bondtech.se/en/customer-service/faq/
#define AXIS_PICK
0
// E: 3Z: 2, Y: 1, X: 0
#define AXIS_INVERT false
// Z: ?, YL: ?, YR: ?, X: ?
#define SPU
320.0F //1386.6666667F // always posiive! z: 3200, xy: 400, clank-cz: xy: 320
#define C_SCALE 0.
4
F // 0-1, floating
#define TICKS_PER_PACKET 2
0
.0F
#define AXIS_PICK
2
// E: 3
Z: 2, Y: 1, X: 0
#define AXIS_INVERT false
#define SPU
924.4445F
#define C_SCALE 0.
6
F // 0-1, floating
#define TICKS_PER_PACKET 2
5
.0F
void
setup
()
{
ERRLIGHT_SETUP
;
...
...
osape
@
d5c874d2
Compare
294a5dac
...
d5c874d2
Subproject commit
294a5dac3711b23a9cf2386355954c6610c450a3
Subproject commit
d5c874d218be169e6b71fa6e57ff3345aaf62246
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment