I posted another note in the forum but received no answer!! I am hoping to get some help with my project, your help is very much appreciated.
I have three stepper motors connected to an Arduino Mega 2560 using three SN754410 H-Bridges. I have attached pictures (sorry for the busy looking background and too many wires, in advance).
I have also got an external power supply with 12VDC and 3A output; since I realized each stepper draws 0.4A current per phase (not sure what this means though). I have connected the outputs of the H-Bridges (from 4 wire steppers) to pins:
0 (RX), 1 (TX), 2, 3, …, 9, 10, 11.
First of all is this setup correct?
Second, is there like a sample code for multiple steppers so I can test them to sweep back and forth?