DC Motor Control

This project shows how to control a DC motor's direction (running forwards and backwards) using an H-bridge. An H-bridge is an electronic circuit which enables a voltage to be applied across a load in either direction.

Use a DC Motor, an H-Bridge, a 1K pull-down resistor and a button.
The following is a description of the different H-Bridge pins:

Pin 1 (1,2EN) enables and disables our motor whether it is give HIGH or LOW

Pin 2 (1A) is a logic pin for our motor (input is either HIGH or LOW)

Pin 3 (1Y) is for one of the motor terminals

Pin 4-5 are for ground

Pin 6 (2Y) is for the other motor terminal

Pin 7 (2A) is a logic pin for our motor (input is either HIGH or LOW)

Pin 8 (VCC2) is the power supply for our motor, this should be given the rated voltage of your motor