Arduino Servo Motor Control with Motor Driver Shield L293D

In This Tutorial, i'm going to show you how to control a servo motor with the H-Bridge Motor Driver

Nov 8, 2019

18649 views

0 respects

Components and supplies

1

SG90 Micro-servo motor

1

Arduino UNO

1

L293d motor driver shield

Tools and machines

1

Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)

Apps and platforms

1

Arduino IDE

Project description

Code

Servo_H_Bridge.ino

arduino

Servo_H_Bridge.ino

arduino

Downloadable files

Assembling Hardware

Assembling Hardware

Image

Assembling Hardware

Assembling Hardware

Image

Documentation

Components Required

Components Required

Image

Comments

Only logged in users can leave comments

Image
Image

Anonymous user

2 years ago

How to connect servo in "servo 2" pin given in motor shield and what will be changes in "attach (10)" line?

Image
Image

Anonymous user

2 years ago

For servo 1 attach at pin 10 & for servo 2 attach at pin 9, as you can infer by looking at the backside of the motor shield.

Image
Image

Anonymous user

4 years ago

Hi - Might you be able to help me. How would I connect a IR remote to this? And how do I power the motor without it being connected to the computer? A 9V battery plugged in doesn't work. I am using this motor: Specification: Stall Torque: 12 kg/cm(4.8V), 15kg/cm(6V) Dimensions : 54.1 x 20 x 44.3 mm Weight: 55g Voltage: 4.8~6V I am at the beginning of learning circuits. I have just done a creative engineering course. It is to power a moving sculpture. Thank you for your kindness in helping me.

Image
Image

Anonymous user

2 years ago

For providing external power to the motor shield normal batteries won't work at all instead use small 6V lead-acid battery to power all 4 motors at the same time. I faced the same problem when I was new to this but after connecting it to the 6V battery all of them worked nice & fine.

Image
Image

Anonymous user

4 years ago

How to connect servo in "servo 2" pin given in motor shield and what will be changes in "attach (10)" line?

Image
Image

Anonymous user

2 years ago

For servo 1 attach at pin 10 & for servo 2 attach at pin 9, as you can infer by looking at the backside of the motor shield.