Help with steppermotor

Hello,

I'm a total beginner at arduino and controlling steppermotors showed to be more than I could handle, so I need your help.

I'm trying to complete the "stepper motor knob" project in the arduino learning examples library and I'm all out of ideas of why it's not working.

I'm using the 57BYGH420 unipolar stepper motor together with the UNL2004AN Darlington array. And I changed the "#define STEPS" in the code to 200. I'm feeding the motor with 3Volts from an external power supply.

Here's a link to the motor's data sheet. http://dlnmh9ip6v2uc.cloudfront.net/datasheets/Robotics/57BYGH420.PDF

Can anyone get why it doesnt work?

I'll attach images to show how I put it together:

Hope someone can help me with this. Cheers!!

Thanks!

You may have one of those breadboards whose supply rails don't connect all the way across, but has a "break" halfway (where there is a stylized "W" embossed on the breadboard). If this is the case then the ground of your 3V power input is not connected to the ground of the ULN2004. Try moving the black wire of your power input to the left so it's on the same rail but on the "left side" of the breadboard.

--
The Rugged Audio Shield: Line In, Mic In, Headphone Out, microSD socket, potentiometer, play/record WAV files

Oh, yes! That's it! Thank you so much for the help. You made my friday!

Cheers!

/Kalle

How did you power up this stepper motor? using DC power supply or just batteries?

Doomrazor:
I'm using the 57BYGH420 unipolar stepper motor together with the UNL2004AN Darlington array.

Motor rated at 3V 2A, ULN2004 array rated at 500mA absolute maximum. See an issue?

Hey.
using the exact same motors.
using optocouplers and IRFZ44N MOSFETS at 12V with current limiting resistors.
no way your uln28004 will work. Can look at my implementation if you want http://rhysmossom.com/2013/09/01/arduino-v-plotter/.