i want to interface the ULN2003A with 12vdc stepper motor, i put a 5v in the inputs of the motor driver (5v for each in a sequence) but the output of the motor driver is low (0.6v) and cannot move the motor of course.
i change the ic and also increase the input voltage and still have the same problem
---------- Post added at 03:11 ---------- Previous post was at 03:08 ----------
this is the schematic for the circuit that i have done
Given that on your schematic the stepper only has 4 wires, I have to assume it's a bipolar one. These are a pain to drive with ULN2003 (or ULN2803 or other Darlington arrays) because the chips are designed to sink current and you need to be able to send both high and low voltages to each of the four wires.
You'd normally use H-bridge ICs to drive a bipolar stepper but if you are absolutely set on using ULN2003, you can float the wires off of a motor supply voltage on power resistors (and they will get really hot) and then sink with ULN if you need low voltage or let go if you need high. There is a schematic and Arduino code for just that here. The sample is based on ULN2803 but it's the same chip only 8 arrays rather than 7.
i used a schemit trigger to convert the outputs of the uln2003a from low (0.6v) to high (5v) and then connect it to the motor and it works. i think i will need voltage regulator if i want to increase the voltage more.
i used a schemit trigger to convert the outputs of the uln2003a from low (0.6v) to high (5v) and then connect it to the motor and it works. i think i will need voltage regulator if i want to increase the voltage more.
Augmenting an ULN darlington array chip kinda defeats the purpose of using it.
At 60 cents per IC it's supposed to be a quick and cheap way of powering something that needs more sink than your logic (or MCU) can provide. If you find yourself needing to add more switches, you're much better off just abandoning the ULN idea and using a proper IC for what you're doing.
In this case a quad half-H-bridge IC such as SN754410 will do the job much nicer 'cause it'll both source and sink current (and more of it than UNL2003, too). It'll be something like 5 times more expensive but it''s still an under-$5 chip.
Come to think of it, depending on the application you might as well look at an even higher specialized stepper motor driver chip such as Allegro 3967. It'll be a couple $ more expensive still but it will take just the step and direction signals and do microstepping on top of all its other goodness!
thank you friends,
i forget to tell, the motor is a unipolar stepper motor and it has 5 wires (4 phases and 1 GND). so which motor driver is the best? H-bridge IC (SN754410) or ULN's?
i make the connection in the schematic and the motor works perfectly, this is really helpfull.
the problem that i put an LED in each output of the driver and when i take it off the motor works and drived very will by the ULN2003A
If you want to use leds in the output of the ULN then you have to connect the led cathode to the ULN output (one led each output) and then the anode through a resistor for each led to the positive supply.
Alex
edit: since you feed the coil in parallel with the led it will probably not work because the coil has a much lower resistance.