diff options
Diffstat (limited to 'stepper_motor/smoothieware')
-rw-r--r-- | stepper_motor/smoothieware/README | 19 | ||||
-rw-r--r-- | stepper_motor/smoothieware/smoothieware.sr | bin | 0 -> 238575 bytes | |||
-rw-r--r-- | stepper_motor/smoothieware/test.gcode | 12 |
3 files changed, 31 insertions, 0 deletions
diff --git a/stepper_motor/smoothieware/README b/stepper_motor/smoothieware/README new file mode 100644 index 0000000..ea4c94e --- /dev/null +++ b/stepper_motor/smoothieware/README @@ -0,0 +1,19 @@ +------------------------------------------------------------------------------- +Stepper motor signals +------------------------------------------------------------------------------- + +This is a capture of Smoothieware stepper signals while running the test.gcode. + +Signals: + +0: ARM ITM trace (irrelevant) +3: Y axis step +4: Y axis direction +5: X axis step +6: X axis direction + +Command to decode X axis position: +sigrok-cli -i smoothieware.sr -P stepper_motor:step=5:dir=6:unit=mm:steps_per_mm=80.0 +(though steps_per_mm doesn't currently work in sigrok-cli) + + diff --git a/stepper_motor/smoothieware/smoothieware.sr b/stepper_motor/smoothieware/smoothieware.sr Binary files differnew file mode 100644 index 0000000..5b5fadb --- /dev/null +++ b/stepper_motor/smoothieware/smoothieware.sr diff --git a/stepper_motor/smoothieware/test.gcode b/stepper_motor/smoothieware/test.gcode new file mode 100644 index 0000000..d480a7d --- /dev/null +++ b/stepper_motor/smoothieware/test.gcode @@ -0,0 +1,12 @@ +; Start at X/Y Zero +G0 X0 Y0 +; Make a regular move with an arbitrary speed +; 1.885 s +G1 X200 Y200 F9000 +; Move one axis a long distance, another axis a short distance AND change the speed. +; 0.500 s +G1 X190 Y0 F24000 +; Move back to Zero +; 0.475 s +G0 X0 Y0 + |