

To use this library in your arduino sketch just copy the Uni_polar_Stepper folder into the root directory of arduino library folder like C:\arduino-1.6.7\librariesġ) Uni_polar_Stepper(int pin1, int pin2, int pin3, int pin4) - this will create an instance of Uni_polar_Stepper in the arduino sketch with stepper motor driver pins. At last, the circuit is suggested that uses UNL2003A chip - widely used to control unipolar stepper motors. There are two videos given that shows the demonstration of these examples. Some examples are given afterwards that explains how motor is controlled using this library. The brief descriptions of all library functions are given here. Accurately rotates motor to desire angle between 0 – 360o with 80-100% accuracy Accurately controls motor speed in RPM with 95% accuracyĥ. Accurately controls number of revolutions of motor like 1, 2, 3, 4.Ĥ. Controls direction of rotation of motorģ.

Controls any unipolar stepper motor with 4 phasesĢ.

Here are some of the features of this libraryġ. The library has 9 different functions that can be used to rotate and control motor as per the requirements.The library is design as per the industrial motion control requirements. So, here I present Uni polar Stepper library in Arduino for all unipolar type stepper motors having 4 phases. There should be enough flexibility and facilities to control the stepper motor in any manner.It should accurately control stepper motor rotation, angle, RPM and direction.It should control unipolar stepper motor with any step angle – step resolution.

It should control any unipolar stepper motor with 4 phase.I decided to create a universal kind of arduino library for all unipolar stepper motors.
