Stepper Motor Driver library for Uni-polar type

Dependents:   NucleoL152_stepper_w_lib

Please refer my notebook.
http://mbed.org/users/kenjiArai/notebook/stepping-motor-control-unipolar-type/
I have tested the program following mbed boards.

  • mbed ST Nucleo L152RE
  • mbed ST Nucleo F401RE
  • mbed LPC1114FN28

Files at this revision

API Documentation at this revision

Comitter:
kenjiArai
Date:
Sat Aug 23 06:45:41 2014 +0000
Parent:
0:7b0c724fa658
Commit message:
modified comments and cosmetic parts

Changed in this revision

stepper.h Show annotated file Show diff for this revision Revisions of this file
diff -r 7b0c724fa658 -r 94f55ebfe2db stepper.h
--- a/stepper.h	Sat Aug 23 06:34:07 2014 +0000
+++ b/stepper.h	Sat Aug 23 06:45:41 2014 +0000
@@ -24,7 +24,7 @@
 #define MT_MIN_STEP             (MT_SLOP_STEP+MT_SLOP_STEP)
 #define MT_PLS_WIDTH_MIN        2      // 2mS
 
-/** Bipolar Type Stepping Motor Driver using 4 Outputs(DigitalOut) with timer interrupt(Ticker)
+/** Unipolar Type Stepping Motor Driver using 4 Outputs(DigitalOut) with timer interrupt(Ticker)
  *
  * Driver circuit: Low side driver (4ch for one Stepper) e.g. TD62003AP
  *  CAUTION: This is only for Unipolar Type Stepping Motor!
@@ -55,7 +55,7 @@
 
 class STEPPER {
 public:
-    // Please copy following part in to your main.cpp
+    // Please copy following pls_width[] part in to your main.cpp
     /** pulse width definition -> Use for start and stop phase
       *  = data * TIMEBASE -> e.g following data = 5 then 5*15000/1000 = 75mS
       */