what code can i use to control the speed of stepper motor 28jyj-48?
you could use the accelStepper library for example
it's really about asking your stepper to take one step at the right time. faster == less delay in between two steps
Using AccelStepper, MobaTools stepper or any other stepper library that uses acceleration will allow you to get the most speed, but you cannot get a lot of speed from those 28jyj-48 motors.
Since hardware is involved it would be best if you posted an accurate annotated schematic of your circuit as you have it wired. Frizzy pictures are not considered schematics they are wiring diagrams and almost useless. Be sure to show all connections, power, ground, power sources. Posting your code as you have it will also help.
Also post links to "Technical Information" for the hardware devices, links to places like azon generally give sales information, not technical information.
Correct.
About 12 RPM is possible. No guarantees beyond that.
There are also versions (rare) of that motor with 512 steps/rev instead of 2048.
They can do four times that speed, at a cost of torque.
Leo..
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.