Hi, i m new i this arduino,
i am doing a project to build a rubiks cube solver,for this i need to control 6 stepper motors specifying degrees.
i have 6 stepper motors, 4 L293 driver module and 2 L298 driver module and also a rduino un.
So how can i control the motors(Can i even control all 6)
Please post a data sheet for your stepper motors. If they are bipolar motors, you would be much better off using a modern stepper driver (A4988 or DRV8825). The modern drivers need only 2 digital pins (each) to operate so an Uno could handle 6 easily. The L293 and L298 are ancient and very inefficient drivers.
i dont think i have budget for new drivers, and i have 2 bipolar motors and 4 are universal(6wires).
The drv8825 drivers are about $1.50 each and A4988 about $1.00 each on Ebay. Well worth the money. The 6 wire motors can be used as bipolar, just leave the center taps unconnected. If you must use the older drivers the stepper library reference shows how to wire the L293 so that each driver needs only 2 wires each. I think the same wiring can be use with the L298. You can't use the stepper library for more than 1 stepper, though. The AccelStepper library will allow control of multiple steppers.
Robin2's stepper basics thread may have information to help you.
Edit US dollars
Hi sir,
Thanks for helping me yesterday,as you said, i bought the A4988 driver(6pieces).
now i want circuit for connetion and also some example sketch for runing it.Thanks again
Robin2's simple stepper program thread has code examples to get you started.
This Pololu page has wiring and setup instructions for the A4988 driver. Be sure to follow the instructions on setting the current limit on the driver to match what your motors take.