The H bridge 293D is an integrated circuit which is capable of driving 2 motors .
The advantage of the H bridge over transistor or MOSFET control circuits is that it can drive the 2 motors
bidirectionally (forward and reverse) with a Code .
Step 1: Electronic Components Needed for the Circuit
I- H bridge 293 D
2 geared hobby motors
1 Arduino Uno
4 -;1.5 volt batteries .
Step 2: What Is an H Bridge
The H bridge is a circuit which has 4 switching elements .These 4 switching elements could be mechanical switches or electronic switches(transistors and /or MOSFET or these in a integrated circuit.
These switches control the flow of a circuit to a motor.
If you click on the last image above it shows 4 switches ..If switches 1 and 4 are closed the motor motor will move in one direction ..If switches 3 and 2 are closed the motor will run in the opposite direction.
Step 3: The Hbridge ;what It Can Do?
The Hbridge 293 D is capable of driving 2 motors at a time.
The possibilities of this are;
a)The 2 motors can run in the same direction at one time
b) The 2 motors can run in opposite directions at one time
c)The 1 motor can run in a direction while the other motor is off .
Step 4: Wiring the H Bridge
The 1 st pin of the H bridge 293D is enable.It is connected to 5 volts on the breadboard (red)
2nd pin is connected to Arduino digital l pin 9 (INPUT)
3rd pin is connected to motor negative lead (bottom motor);see image
4 th pin and 5 th are connected to ground on the breadboard
6 th pin is connected to the motor red lead (positive)
7 th pin is connected to Arduino pin 10 (INPUT)
8 pin is connected to the battery pack of 4 ;1.5 volts (6 volts ) to the positive (red Lead) only
9 th pin is connected to positive rail on the breadboard(see image )
10 th pin is connected to Arduino digital pin 6 INPUT)
11 th pin is connected to top motor negative lead
12 and 13 th pins are connected to ground
14 th pin is connected to positive lead of top motor
15 the pin is connected to Arduino digital pin 5 ( INPUT)
16 th pin is connected to positive breadboard (Vcc)(red)
The arduino is connected by 5 volts to the positive read rail of the breadboard and the ground is connected to the negative rail (black) rail of the breadboard ,
The black lead form the battery pack (4 ,1.5 volts) is connected the the black rail of the breadboard .
It is important to connect the positive lead of the battery pack to pin 8 of the Hbridge 293D and NOT the red rail of the breadboard because that could ruin the Arduino
Step 5: The 2 Motors Running in the Positvie Direction
If you click on the image the 2 motors are running at 149 rpms .
Step 6: The 2 Motors Are Running in the Opposite Direction
If you click on the image it will show the 2 motors running in the opposite direction(note the negative(-) sign) on the motor ,The motors are running -149 rpm s.
Step 7: The 1 Motor Running the Other Motor Is Off
If you click on the image above you will see the bottom motor running at 160 rpm while the other motor is off
Step 8: The Motors Turn Off .
The above images show the motors are off .
Step 9: The Conclusion and CODE for Arduino
The Code for Arduino is above .(see image )
This project shows how a H bridge 293 D can run 2 motors .
The Arduino provide power for the circuit .Also the digital pin pulse(drive ) the motors.
The battery pack supplies power for pin 8 of 293D (additional power)
The Code will program the motor to run the directions indicated by the Code .
I enjoyed doing this project
I hope it help you to understand H bridge 293 D better .