Engineers stuf

Stepper motor driver circuit using Microcontroller

28 Jun 20121comments


Stepper motor driver circuit using Microcontroller:
In this demo we are using 6v/2amps 1.8degree stepper motor.In this circuit CD4050 hex buffer using to connect to the microcontroller.The output of cd4050 is connected to the TIP122 of the BASE.The Emitter and collecter is conneted to 1N4007 diode the colleter of tip122 is connected to the stepper motor coil.
In this demo we are using Uni polar Stepper motor using 6wires, the color coding of the stepper motors are Black coil 1, Red coil 2, Green coil 3, Yellow coil 4 and 2 white are connected to give 6V input supply voltage.


stepper motor driver:
#include "reg51.h"

void delay(unsigned int y);
void rotate()
{
  P1=0x09; 
  delay(30); 
    
  P1=0x05; 
   delay(30); 
    
   P1=0x06; 
   
   delay(30); 
    
   P1=0x0a; 
   delay(30); 
}   
void delay(unsigned int y)
{
int i,j;                           //delay subroutine 

for(i=0;i<=y;i++)
for(j=0;j<=498;j++);
}
 void main()
  {
   
   while(1)
    {
     rotate();
     
     }
  }   

//*******************************************//
Stepper motor circuit using TIP122:



Schematic diagram 






This blogs is an effort to club the scattered information about engineering available in the web.
While every effort is made to ensure the accuracy of the information on this site, no liability is accepted for any consequences of using it.
Most of the material and information are taken from other blogs and site with the help of search engines.
If any posts here are hitting the copyrights of any publishers, kindly mail the details to icspixel@gmail.com. it will to removed immediately.


Share this article :

+ comments + 1 comments

31 December 2016 at 02:39

very Nice Blog. I Have Read Your Blog. Its Very Informative Post. Thank you for Posting And Sharing With Us.
IEEE Engineering Projects.

Post a Comment

 

© 2012. Electronics project - All Rights Reserved

Blogger