Wednesday, December 11, 2013

Uni-polar Stepper Motor Control using Microcontroller

HOME    I  ALL IN ONE TAB

Uni-polar Stepper Motor Control using Microcontroller  



To work the uni-polar stepper we need an driver module but for control  we need signal from micro controller.  Here i described a easiest method to rotate stepper motor to right and left direction with constant predefined speed you can easily simulate this work on protues by design and hex code given below

simulation files :

         1. protues design file - DOWNLOAD
         2. Hex code file         - DOWNLOAD

Thank you For Downloading ....

Explanation :Here i used  high speed switching method at the  portc .  4 input signals are given in to the Uni-polar stepper motor using least nibble value changing portc in the order of 1,2,4,8 and for proper rotation we provide a delay of 120 ms this delay will change according to variety of stepper motor . the output wave form is given below 

Wave form :



 from figure we know that A1,A2,B1,B2 are input pins of the stepper motor and it's corresponding input values like 1,2,4,8 at small interval of time provided by the delay_ms(); comment

      Compare the pins A1,A2,B1,B2 from two picture .



AC and BC are constant high here these two pins are connected two +voltage 

Architecture of stepper motor

Don't forget to comment 



No comments:

Post a Comment