Hi folks,
"Goldfish brain" posting, so I am sorry for the way this is posted.
The other day I was looking at DC motor control for the RPi. Granted that is not an Arduino, but hey, that isn't the important part.
The control board has the ability to control 2 motors controlled by an H Bridge.
What confuses me is the complexity of it.
Basically there are 8 inputs to the board, and 4 output points for the motors. (2 for each motor).
The power has THREE inputs: An "external power", Ground, and +5 volts.
The Ground and +5 are from the PI/Arduino. The External power is the one used to control the motor.
So:
Each motor has 4 input pins and that is where I get confused.
The board has a big CHIP on it which is a motor controller kind of thing.
Sorry I can't post the link - goldfish brain, remember.
But it is pretty "simple" to control. You have a sort of "activate" pin, and two to control the direction.
So it goes something like:
Set the two control lines high, then use the other two to control the direction of the motor.
BUT!
It doesn't explain why you need two "enable" pins?
The direction examples are forward, 2 seconds, pause 2 seconds, reverse 2 seconds, pause 2 seconds, repeat.
So the "direction" pins go something like:
LOW, HIGH
HIGH, LOW
LOW, LOW
But there again, it doesn't say what happens if you put both lines HIGH!!
Ok, I need to research, but I am putting the question out there.
Anyone mind helping me?
P.S.
Found the link:
Thanks in advance.