How fast can I drive a stepper motor? I have a 28BYJ 48, 5V stepper motor. After some trial and error I got it working with the all the sample examples in Arduino IDE.

However when I increase the speed of the motor using setSpeed() beyond 15, the motor stopped rotating. Following is the configuration in which I am running the motor.

const int stepsPerRevolution = 2048; 
Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11);
myStepper.setSpeed(15);


I wanted to understand what factors limit the speed. And how fast can I rotate this motor?

Thanks,

Manish
"I wanted to understand what factors limit the speed. And how fast can I rotate this motor?"
Read through the data sheet for your motor-the answers are there. Each different motor has its own data sheet. This will require some work on your part to find the data sheet and the info from it you require. Which can be used to deduce the answer your question.