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,097views

7favorites

License:

Bio: Electrical engineer by profession
More by Mr innovative:How to Make Arduino Based Digital Tachometer Simple DIY Tutorial How to Make GRBL + CNC V3 Shield Based Mini CNC Machine From Scrap DVD Drive How to make Arduino Based Mini CNC Machine A complete tutorial 
Add instructable to: