Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Moved] i want to control 3 stepper motors

Status
Not open for further replies.

yahya rehman

Newbie level 1
Joined
Oct 19, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
i want to control 3 stepper motors with 89c51 micro controller but i have a problem to control the motors at the same time. If any one knows the solution then please help me
 

Re: i want to control 3 stepper motors

you can do it by running the all the stepper motors at the same time instead of turning 1st at once and other two later as the human cannot find the variation if it less that 500ms and instruction could take atmost 1 micro second if it is at the low frequency so run all the code once without delay and provide delays simultaneously to be successful
 

i want to control 3 stepper motors with 89c51 micro controller but i have a problem to control the motors at the same time.

How are the stepper motors being driven?

The proper choice of driver can greatly simplify the process of control.


BigDog
 

You can do it by giving a delay only after the three motors have taken a step.
For example, your code should look like this,
motorOneStep();
motorTwoStep();
motorThreeStep();
delay(100);

Surya
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top