Run DC Motor Reverse and Forward Using L293d Arduino

About: Electrical engineer by profession

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);
}

Share

    Recommendations

    • Comfort Food Challenge

      Comfort Food Challenge
    • Faux-Real Contest

      Faux-Real Contest
    • PCB Contest

      PCB Contest

    Discussions