Run DC Motor Reverse and Forward Using L293d Arduino

by Mr innovative in Circuits > Arduino

16986 Views, 8 Favorites, 0 Comments

Run DC Motor Reverse and Forward Using L293d Arduino

A.jpg
L293d is very fantastic component to run dc motor in both direction

Material Req.

B.jpg
C.jpg
A.jpg
Arduino uno
L293d
Breadboard
9v dc motor
Wire for connection

Connect

E.JPG
D.jpg
G.jpg
Wire all components as shown in dwg

Code

Void setup () {
pinMode(13, OUTPUT);
PinMode(12,OUTPUT);
}
Void loop(){
digitalWrite(13, HIGH);
delay(1000);
digital write(12, HIGH);
delay(1000);
}