loading
L293d is very fantastic component to run dc motor in both direction

Step 1: Material Req.

Arduino uno
L293d
Breadboard
9v dc motor
Wire for connection

Step 2: Connect

Wire all components as shown in dwg

Step 3: Code

Void setup () {
pinMode(13, OUTPUT);
PinMode(12,OUTPUT);
}
Void loop(){
digitalWrite(13, HIGH);
delay(1000);
digital write(12, HIGH);
delay(1000);
}
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/8E_bH0OSZAE" width="560"></iframe><br>

About This Instructable

2,265views

7favorites

License:

Bio: Electrical engineer by profession
More by Mr innovative:How to Make LDR Darkness Sensor Circuit Simple DIY Micro Servo Based Robotic Arm With Record and Play Function How to Make Arduino Based Digital Tachometer Simple DIY Tutorial 
Add instructable to: