Ever wanted to make a robot, but don't have an H-bridge handy? Then make your own! It is simple, cheap to make, and is simple in concept and design. It doesn't have Pulse Width Modulation to control speed, but that isn't totally necessary.
Step 1: Get it!
All you need is...
Step 2: Build it!
Wire up the connections as shown in the picture. The resistors are for the inputs from a microcontroller to control the direction of the motor. Be sure to orient the transistor the right direction. here I added a sitch to turn on the opposite transistors to turn one direction or another.
Step 3: Use it!
Hook up the inputs to the resistors, the digital pins in an Arduino. You can use the code below to test it. Opposite transistors turn the motor. Be sure to connect a battery to the power and ground rails on the breadboard, and connect the ground from the Arduino to the ground rail on the breadboard.
const int H1=9;
const int H2=10;
const int H3=11;
const int H4=12;
//Pins for the transistors, starting at the top left, going around clockwise
//Set pins as outputs for transistors
//Turns one way for a second, then switches directions