So first I'd like to admit my knowledge of Arduino and electronics in general is very little-- turns out that the Sparkfun Uno Beginner kit didn't turn me into an expert.
From research, and what I can gather, I should be able to control this stepper motor:
with one of these l293d h-bridges:
From what I understand from this diagram:
Pins 1, 9, and 16 connect to 5v, which I can get from the Arduino
I can then hook up the inputs, let's say I do pin 2 from the L293d to Arduino pin 12, pin 7 to Arduino pin 11, pin 10 to arduino pin 10, and pin 15 to arduino pin 9, right?
And with that, that means I would hook up the red wire - coil1+ to pin 3, the yellow wire - coil1- to pin 6, the green wire - coil2+ to pin 11, and the gray wire - coil2- to pin 14. Am I right here?
Pins 4, 5, 12, and 13 get grounded
Pin 8, gets 12v at 350mA. From my understanding of current, that means I need 34.28ohms (which I can round up to 35ohms) worth of resistors in order to not fry out, but I don't understand where to get the power from? AA batteries are 1.5volts, can I hook up 8 of them in a series with 2x10ohm and 1x15ohm resistors and then run that as the power? would that work?
Would this work? And how do I know the gear ratio? This thing is rated to do steps of 1.8deg or 200 steps per revolution, but it doesn't say if it's a 1:1 ratio, and from what I understand I have to declare the number of steps in a revolution to the Arduino in order to calibrate the motor, right?
I'm totally lost, I think I know what I'm doing, but really I have no idea, could someone please help?!