5V Stepper motor not working with ULN2004A

I am working with this stepper motor:

McLennan Servo Supplies Unipolar Permanent Magnet Stepper Motor 7.5°, 6.6Ncm, 5 V dc, 550 mA, 6 Wires

And I am using arduino Mega2560, ULN2004A chip to control the motor. I follow exactly the wiring on the arduino stepper motor page, except that I power the motor with a separate power supply, and the arduino with USB cable. I am not sure why the stepper motor doesnt turn at all.

The datasheet of the motor is in the link, I have shown the wiring schematic from arduino library and my own wiring. Can someone tell me whats wrong? This has driven me crazy for days.

Each coil draws 550ma
.55 X 4 = ~2.2 amps.

.

This shows my wiring.

Don't see a common GND to the Arduino.

.

LarryD:
Each coil draws 550ma
.55 X 4 = ~2.2 amps.

.

So something has to be changed on my circuit? Could you explain more? Thank you!

LarryD:

Don't see a common GND to the Arduino.

.

I connected the GND pin of ULN2004A to the power supply ground. I tried with arduino ground too, it didnt work either :frowning:

Your power supply to the motor needs to be able to supply this drive current at 5v.

The 2004 will probably run hot at these levels.

.

I will try to supply the motor with 2.2A current at 5V to see how it goes.

Thank you!

I supplied the motor with 5v and 2.2A current limiting. However, when I turned on the motor, the current reading goes to zero.

I dont know why.

Do you have pin 8 of the 2004 going to the lab power supply ground?

That breadboard may have the power rails split in the middle.

.

.

Thank you so much! Now it works!! Troubled for 3 days and didnt know this is breadboard issue.

Not an issue, it's a feature. :wink:

.

Haha yes! Should have come to this forum earlier. Really happy for this:D

aerograce:
I am working with this stepper motor:

McLennan Servo Supplies Unipolar Permanent Magnet Stepper Motor 7.5°, 6.6Ncm, 5 V dc, 550 mA, 6 Wires
http://sg.rs-online.com/web/p/stepper-motors/3514580/

And I am using arduino Mega2560, ULN2004A chip to control the motor. I follow exactly the wiring on the arduino stepper motor page, except that I power the motor with a separate power supply, and the arduino with USB cable. I am not sure why the stepper motor doesnt turn at all.

The datasheet of the motor is in the link, I have shown the wiring schematic from arduino library and my own wiring. Can someone tell me whats wrong? This has driven me crazy for days.

Right, firstly the ULN2004 is not rated for 5V logic(*), you should be using the ULN2003.
Secondly the absolute maximum current for the chip is 500mA, in practice 300mA is about the most
you should put through it for reliable operation.
Thirdly the total power dissipation may be more than the chip can handle without extra cooling
hardware (heatsink/fan)
Fourthly you'll be losing about 1.5V to the darlington output Vsat, so a 6.5V supply would be about
right, or in practical terms a 6V 1.5A supply (you only energize two windings at most simultaneously

I would recommend using an ULN2803, which has 8 channels, and doubling them up, 2 channels in
parallel per motor pin - this solves the over-current issue and will reduce self-heating a bit. Add
a chip heatsink.

Much better, but more expensive, use 4 logic-level MOSFETs and freewheel diodes, then you'll
only need a 5V supply and no heat dissipation to speak of.

(*) I'd never heard of the ULN2004 before - its specifically for high voltage PMOS logic drive, a technology
that is long since gone