Architecture L293D Motor Driver IC
On this IC there is a total of 16 pins. The Upper 8 pins can control a single DC motor and the lower can also control another DC motor. A total of 2 DC motors can be controlled using an L293D IC. The pin description is given below.
- Enable 1&2: This is to enable the lower side of the IC, and can also be used to control the amount of voltage in the lower part of the IC.
- Input 1 and Input 2: Inputs to control the motor directions.
- Output 1 and Output 2: Connect to the motor providing the current.
- GND & Power 2: Connects to the 9V battery.
- Enable 3&4: This is to enable the upper side of the IC, and can also be used to control the amount of voltage in the upper part of the IC.
- Input 3 and Input 4: These control the motor directions as well.
- Output 3 and Output 4: Connect to the motor providing the current.
- GND & Power 1: Connects to the 9V battery.
How to Control Dc Motor with Arduino?
Here In this article, we will learn about DC motors and how these motors can be controlled using an Arduino board with very little programming. We are also going to use an L293D motor controller IC. This is very important to use the controller board because we can not connect the DC motors directly to the Arduino board. The power supply from an Arduino board is 3.3V and 5V which are insufficient to power a DC motor of 9V. If we try using Arduino there is a high risk of losing the Arduino board.