Connection of all Components
List of all the components
- Arduino board
- L293D driver IC
- Motors
- 9V battery
- Bread Board
Step 1: Motor and L293D connections
Connection both the motors directly to the motor ports or pins on the L293D motor driver IC. Named as Output 1 & Output 2 for motor 1 and Output 3 & Output 4 for motor 2.
Step 2: Battery and L293D connections
The 9V battery is connected to the breadboard, and the Power 1 and Power 2 of the IC can be connected to the +terminal on the breadboard. The GND from the upper and GND from the lower of the IC can be connected to the -ve terminal on the breadboard.
Step 3: Arduino Board and L293D connections
Connect the IC pins as mentioned. Enable pin to digital pin 13 on Arduino, input 1 to digital pin 12, and input 2 to digital pin 11 on Arduino. Now for the upper side of the IC, connect enable pin to pin 3, input 3 to digital pin 4, and input 4 to digital pin 5 on the Arduino board.
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.
Contact Us