Powered by Invision Power Board


Forum Rules Forum Rules (Please read before posting)
  Reply to this topicStart new topicStart Poll

> Implementng 4 Wire Bipolar Stepper (pm42l-048), Stepper motor circuit through ULN2003A
atiprashant
  Posted: July 05, 2011 10:24 am
Reply to this postQuote Post


Newbie
*

Group: Members+
Posts: 2
Member No.: 35,315
Joined: July 05, 2011




Hello everyone !!!

I am new to hardware and i have been assigned to run stepper motor through newly designed microcontroller (by TI) Launchpad(MSP430G2452) using ULN2003A as the driver circuit.

My motor specifications are in the link given

My motor datasheet

I made a driver circuit using ULN2003A but its getting overloaded everytime.

I also have not much idea about the motor configuration.

Talking about my code, I am using an approximate delay of 1 s for one step of the stepper cycle...

Here is the piece of code that I am using....

for(i=0;i<55000;i++){}
P1OUT = BIT3;
P1OUT |= BIT4;
P1OUT |= BIT5;

for (i=0;i<55000;i++){}
P1OUT |= BIT0;
P1OUT &= ~BIT4;

for(i=0;i<55000;i++){}
P1OUT &= ~BIT3;
P1OUT |= BIT4;


for(i=0;i<55000;i++){}
P1OUT |= BIT3;
P1OUT &= ~BIT5;

This is placed under an infinite loop...

Even the sequence of outputs given to the pins are same I think, but I dont know where the problem is.

One point that I observed was that ULN2003A was not working properly once the motor was loaded. Is it due to some overloading...??

Any suggestions will be highly appreciated.

Thanks smile.gif
PMEmail Poster
Top
atiprashant
Posted: July 05, 2011 11:01 am
Reply to this postQuote Post


Newbie
*

Group: Members+
Posts: 2
Member No.: 35,315
Joined: July 05, 2011




They suggest me to use UDN2916 or LM293D, both based on H-bridge.

Please suggest what to use
PMEmail Poster
Top
Abdullah M.A.
Posted: July 05, 2011 02:36 pm
Reply to this postQuote Post


Forum Addict ++
*******

Group: Spamminator Taskforce
Posts: 4,273
Member No.: 10,604
Joined: August 16, 2007




Yes, you have to use LM298D because this is a bi-polar stepper motor not a
uni-polar stepper motor.
you can't use ULN2003 because it's just provide a GND, ULN2003 contains
a group of open collector transistors.

Abdulla


--------------------
"A scientist can discover a new star, but he cannot make one. He would have to ask an engineer to do that."
"For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."
PMEmail PosterUsers Website
Top
athiban54
Posted: March 29, 2012 03:53 pm
Reply to this postQuote Post


Newbie
*

Group: Members+
Posts: 1
Member No.: 36,596
Joined: March 29, 2012




i have the same stepper motor and a L298d.. am trying to interface it with my atmega 16 micro controller, bt i dont know how to inteface it and program it.... i searched web for nearly 2 days, i could nt find how... can any one help me...!? sad.gif
PMEmail Poster
Top
MikeGyver
Posted: March 30, 2012 09:54 am
Reply to this postQuote Post


Forum Addict ++
*******

Group: Trusted Members
Posts: 1,271
Member No.: 12,151
Joined: December 05, 2007




Why build a controller when you can buy something far superior for less?

http://www.ebay.com/itm/1PCS-NEW-Single-Ax...#ht_8395wt_1085

unless it's a school assignment... dry.gif
PMEmail Poster
Top
blunt_man
Posted: October 24, 2012 10:57 pm
Reply to this postQuote Post


Newbie
*

Group: Members+
Posts: 1
Member No.: 37,364
Joined: October 24, 2012




put a 1K resistor between a 12v supply and each wire going to your motor, when activating a phase drive it low by putting a high to the input of your darlington out of the controller.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 


:: support us ::




ElectronicsSkin by DutchDork & The-Force