Hi all,
I'm trying to use the following circuit diagram (picture attached) to run a 12v DC motor in alternating directions, controlled by an Arduino board. The circuit works well when either side of the transistor pair is attached to the motor independently, however, when the circuit is fully wired so that both transistor pairs are attached to the motor, it doesn't run and at least one transistor begins to put off a none-too-pleasant odor. I've looked over the diagram and my wiring several many times at this point and I cannot seem to figure out why this would be happening.
Does anyone have any idea where the problem may lie?
One note about the diagram: I have followed it faithfully except for the device between the H-bridge and the Arduino board. I have omitted this element and am sending a 5v signal directly from the Arduino board via digitalWrite(). I am also not using the capacitor attached to the power source the diagram calls for. Here is the full testing code I'm using, which should cause the motor to run in one direction:
const int transPin2 = 2;
const int transPin4 = 4;
void setup() {
pinMode(transPin2, OUTPUT);
pinMode(transPin4, OUTPUT);
}
void loop() {
digitalWrite(transPin2, HIGH);
digitalWrite(transPin4, LOW);
}
Thanks for any tips or help identifying what I'm overlooking.