Unipolar stepper motor operation library

Dependents:   LAB04_Oppgave1 test_stepper Stepper_Motor_Demo StepperMotorUni_Hello ... more

Unipolar stepper motor library

This library generates pulses on 4 digital output pins of the mbed. The pulses are generated by mbed's ticker function.

The mbed pins cannot drive the stepper motor directly. So it requires driver stage for the motor. The circuit may be like following diagram.
The driver stage should be chosen by requirement for the stepper motor.

/media/uploads/okano/unipolar-steppermotor-sample.png


The mbed generates pulses on 4 output pins for external driver stage.
This library can generate 3 types of pulses.

1 phase drive (wave drive) /media/uploads/okano/1phase_drive.gif

2 phase drive /media/uploads/okano/2phase_drive.gif

1-2 phase (half step) drive /media/uploads/okano/halfstep_drive.gif

Components pages

Components pages are available for bipolar and unipolar motor libraries

A bipolar stepper motor driving pulse generator

A unipolar stepper motor driving pulse generator

History

version (v1.1.3) information added default tip

2017-09-13, by okano [Wed, 13 Sep 2017 04:00:47 +0000] rev 7

version (v1.1.3) information added


fix for keeping stop position

2017-09-13, by okano [Wed, 13 Sep 2017 03:55:30 +0000] rev 6

fix for keeping stop position


fixed: init_done behavior

2015-04-27, by okano [Mon, 27 Apr 2015 01:16:51 +0000] rev 5

fixed: init_done behavior


fixed: find_home_position compatibility with ramp control feature

2015-04-22, by okano [Wed, 22 Apr 2015 03:24:21 +0000] rev 4

fixed: find_home_position compatibility with ramp control feature


ramp control enabled

2015-04-21, by okano [Tue, 21 Apr 2015 14:37:52 +0000] rev 3

ramp control enabled


ramp control function enabled

2015-04-21, by okano [Tue, 21 Apr 2015 14:33:20 +0000] rev 2

ramp control function enabled


API document correction

2015-04-13, by okano [Mon, 13 Apr 2015 21:10:56 +0000] rev 1

API document correction


initial release

2014-01-19, by okano [Sun, 19 Jan 2014 10:59:53 +0000] rev 0

initial release