summaryrefslogtreecommitdiff
path: root/stepper_motor
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-03-07 16:29:52 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-03-11 17:57:38 +0100
commitf33fd2e778ed6aba2e7a429e7f260d79dfcf269e (patch)
tree7e760036e7279b9225ea2771ac15755edc6c6224 /stepper_motor
parent9f58d8524c1de94bb04afa5fa5f331ac48acccfa (diff)
downloadsigrok-dumps-f33fd2e778ed6aba2e7a429e7f260d79dfcf269e.tar.gz
sigrok-dumps-f33fd2e778ed6aba2e7a429e7f260d79dfcf269e.zip
Example dump of stepper motor signals
Diffstat (limited to 'stepper_motor')
-rw-r--r--stepper_motor/README19
-rw-r--r--stepper_motor/smoothieware.srbin0 -> 238575 bytes
-rw-r--r--stepper_motor/test.gcode12
3 files changed, 31 insertions, 0 deletions
diff --git a/stepper_motor/README b/stepper_motor/README
new file mode 100644
index 0000000..ea4c94e
--- /dev/null
+++ b/stepper_motor/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.sr b/stepper_motor/smoothieware.sr
new file mode 100644
index 0000000..5b5fadb
--- /dev/null
+++ b/stepper_motor/smoothieware.sr
Binary files differ
diff --git a/stepper_motor/test.gcode b/stepper_motor/test.gcode
new file mode 100644
index 0000000..d480a7d
--- /dev/null
+++ b/stepper_motor/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
+