Its not the hardware performance we are looking at, we need to know how you need to communicate between the arduino and the driver, not all are simple digital input, some are 485, 232, PWM or analog.
but as far as this driver is concern it has provision only for pwm input
AccelStepper libraries knows nothing about your motor, it only knows about pulses, pulses-per-second, so
if your stepper controller has 16x microstepping and is 200 steps/rev, then your code has to deal with
the fact there are 3200 pulses/revolution - and program AccelStepper accordingly.Look at the documentation in AccelStepper.h itself - each function is described. Note that the
way AccelStepper works limits it to a maximum of about 4000 pulses/second, which isn't great.
(the code really wants hardware floating point)
The library completely relies on you calling run() in loop() as often as possible - in other words nothing
that loop() calls should take more than a couple of hundred microseconds if AccelStepper is to run at
its full speed.
Other ways to handle steppers involve timer interrupts and using fixed-point rather than floating-point
arithmetic - I'm not sure if there is a good library that does it this way.
MarkT i have few questions for you
1] what is 16x microstepping
2] what is hardware floating point
3]how to handle stepper with timer interupts and what is fixed point and floating point arithmetic
Iam little sry greatly confused with 2 and 3 rd questions
The 4000 pulses/sec might be a limit, depending on how fast the stepper should move.
But there are people who have driven AccelStepper with 6000 pulses/sec without problems.
The most critical point imho is still about the "Current OFF" input of the driver which is not explained in the manual how to deal with it software wise; does it need a HIGH or a LOW to get activated/deactivated? So trial and error, I suppose.
I would start with microstepping pretty low, maybe leave the the "Current OFF" pin unconnected and see if the motor moves. Then go up "step by step" and see how far the configuration gets. After that test the Current off thing if needed at all in the planned project. I guess that the automatic current reduction takes place anyway while the motor stands still and "Current OFF" is equivalent to other drivers' "Enable" input.
But I am only guessing and only the manufacturer knows about that secret (hopefully).
1] you said that some used the accel stepper with 6000p/s can y please provoide the link that has the code or can u post here
regarding this my question is since it is related to the oscilator and the max of 16mhz is already taken to account how it is possible to generate 6000 p/s
2] abt current off/on few more explanation would be helpful
3] Can i further incease the speed of the pulses per second more than 6000p/s, if yes how that can be done
Thanks all for ur support really getting greatest exposure and more advancement in my project