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
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
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);