Very simple operation samples of unipolar stepper motor. This code has been made to help beginners to learn the stepper motor. The history of the code shows the how to generate pulses from very basic level.

Dependencies:   mbed

History

version 8 : motor control by function default tip

2014-01-11, by okano [Sat, 11 Jan 2014 02:37:00 +0000] rev 11

version 8 : motor control by function


version 7 : speed setting by variable

2014-01-11, by okano [Sat, 11 Jan 2014 02:20:23 +0000] rev 10

version 7 : speed setting by variable


version 6 : 2-phase drive

2014-01-11, by okano [Sat, 11 Jan 2014 02:11:56 +0000] rev 9

version 6 : 2-phase drive


version 5 : Smaller loop using array index

2014-01-11, by okano [Sat, 11 Jan 2014 02:08:45 +0000] rev 8

version 5 : Smaller loop using array index


version 4 : Output pulse pattern in array

2014-01-11, by okano [Sat, 11 Jan 2014 02:05:17 +0000] rev 7

version 4 : Output pulse pattern in array


version 3 : Operation by BusOut

2014-01-11, by okano [Sat, 11 Jan 2014 01:58:21 +0000] rev 6

version 3 : Operation by BusOut


version 0-2 : Check BusOut by LED

2014-01-11, by okano [Sat, 11 Jan 2014 01:51:26 +0000] rev 5

version 0-2 : Check BusOut by LED


version 2 : 360 steps clockwise and counterclockwise rotations

2014-01-11, by okano [Sat, 11 Jan 2014 01:45:19 +0000] rev 4

version 2 : 360 steps clockwise and counterclockwise rotations


version 1-1 : Rotate motor in reverse direction

2014-01-11, by okano [Sat, 11 Jan 2014 01:34:59 +0000] rev 3

version 1-1 : Rotate motor in reverse direction


version 1 : Output pulses to p23, p24, p25 and p26 ports

2014-01-11, by okano [Sat, 11 Jan 2014 01:31:36 +0000] rev 2

version 1 : Output pulses to p23, p24, p25 and p26 ports