| Electronics Forum |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| atiprashant |
|
|
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 |
| atiprashant |
Posted: July 05, 2011 11:01 am
|
|
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 |
| Abdullah M.A. |
Posted: July 05, 2011 02:36 pm
|
![]() Forum Addict ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Spamminator Taskforce Posts: 4,252 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." |
| athiban54 |
Posted: March 29, 2012 03:53 pm
|
|
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...!?
|
| MikeGyver |
Posted: March 30, 2012 09:54 am
|
![]() Forum Addict ++ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Trusted Members Posts: 1,227 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... |
| blunt_man |
Posted: October 24, 2012 10:57 pm
|
|
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.
|
![]() |
![]() ![]() ![]() |
:: support us ::