Quick (probably noobish) question:
I want to control a dc motor thru an h bridge with only 2 wires.
(Normally you'd use a pin to turn it on and off, and another 2 pins to set direction, right?)
I found a schematic for driving a bipolar stepper with 2 wires:
(if the image didn't show up, here's the link: http://www.tigoe.net/pcomp/img/bipolar_stepper.png I've never posted an image before.)
(edit: it worked. yay)
How could I modify this so instead of using 2 wires for 2 coils, it would use 4 wires for 2 separate motors?
I would like to have 1 wire each for the two enable pins, and then one for each set of logic pins.
(P.s. New animation for my profile pic! I made it myself)
and another 2 pins to set direction, right?)
No you usually only need one. HIGH clockwise, LOW anticlockwise.
Have a read of:-
Ummm, at the bottom of the page from the second link, it clearly shows a motor being driven by an enable input, and then an A and B inputs.
And on the type of h bridge that is in the schematic I posted (and I have the same one) there is , for each side, an enable pin and two logic pins to set direction.
So, I think you might be wrong, or at least misunderstanding what I ask.
I want to control two motors. How can I get the opposite input automatically on the second of two inputs on the h bridge if I have the first connected to a pin on my arduino? (I know, probably pretty noobish question)
By the way, how long a delay is there normally after someone posts is it that you get the notification email?
How can I get the opposite input automatically on the second of two inputs on the h bridge if I have the first connected to a pin on my arduino
With an inverter or a NAND with all inputs tied together
How could I make a simple inverter?
Or, back to my original question, how do I modify the schematic above (which uses the transistors to invert, I believe) so that it drives 2 motors, with an enable pin too, which appears to be connected to 5v inthe schematic?
Nevermind, solved my own problem.