7
1. BOARD NAME : SERVO MOTOR DRIVER CIRCUIT. 2. BOARD ID : B1049 3. Description : The servo motor is actually an assembly of four things: a normal DC motor, a gear reduction unit, a position-sensing device (usually a potentiometer—a volume control knob), and a control circuit. The function of the servo is to receive a control signal that represents a desired output position of the servo shaft, and apply power to its DC motor until its shaft turns to that position. It uses the position-sensing device to determine the rotational position of the shaft, so it knows which way the motor must turn to move the

Servo

Embed Size (px)

Citation preview

Page 1: Servo

1.BOARD NAME : SERVO MOTOR DRIVER CIRCUIT.

2.BOARD ID : B10493.Description :

The servo motor is actually an assembly of four things: a normal DC motor, a gear reduction unit, a position-sensing device (usually a potentiometer—a volume control knob), and a control circuit.

The function of the servo is to receive a control signal that represents a desired output position of the servo shaft, and apply power to its DC motor until its shaft turns to that position. It uses the position-sensing device to determine the rotational position of the shaft, so it knows which way the motor must turn to move the shaft to the commanded position. The shaft typically does not rotate freely round and round like a DC motor, but rather can only turn 200 degrees or so back and forth. The servo has a 3 wire connection: power, ground, and control. The power source must be constantly applied; the servo has its own drive electronics that draw current from the power lead to drive the motor.

Page 2: Servo

We all know that most of the arduino boards can source only a frugal 200 mA of current, which is not enough to drive a servo motor which typically requires 1A current each. Hence, to drive the servo, we need an external power source, this is where a driver circuit comes into picture, another advantage of having a driver circuit is that we can interface multiple servo motors, if the need arises. The breakout shown below can drive upto 8 servos at a time!.

4.Board image :

Page 3: Servo

5.Board schematic :

6.Connection image :

Page 4: Servo

7.Schematic :

8.Sample program :

#include <Servo.h>

Servo myservo;

int pos = 0;

Page 5: Servo

void setup()

{

myservo.attach(9);

}

void loop()

{

for (pos = 0; pos < 180; pos += 1)

{

myservo.write(pos);

delay(15);

}

for(pos = 180; pos>=1; pos-=1)

{

myservo.write(pos);

delay(15);

}

}

Page 6: Servo

9.Output image :