Parallax Standard Servo (#900 00005) Rotation Motor Manual V2.1

standard%20rotation%20servo%20motor%20manual%20v2.1

standard%20rotation%20servo%20motor%20manual%20v2.1

standard%20rotation%20servo%20motor%20manual%20v2.1

standard%20rotation%20servo%20motor%20manual%20v2.1

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 4

DownloadParallax Standard Servo (#900-00005) Rotation Motor Manual V2.1
Open PDF In BrowserView PDF
Web Site: www.parallax.com
Forums: forums.parallax.com
Sales: sales@parallax.com
Technical: support@parallax.com

Office: (916) 624-8333
Fax: (916) 624-8003
Sales: (888) 512-1024
Tech Support: (888) 997-8267

Parallax Standard Servo (#900-00005)
The Parallax Standard Servo is ideal for adding 181° range of motion and position control to your project.
Great for robotics applications.

Features
y
y
y
y
y
y
y
y

Holds any position between 0 and 180 degrees
43.1 oz-in torque at 6 V
Accepts four mounting screws
Easy to interface with any Parallax microcontroller or
PWM-capable device
Simple to control with the PULSOUT command in
PBASIC or SX/B
High precision gear made of POM (polyacetal) resin
makes the operation smooth causing no backlash.
Weighs only 1.55 oz (44 g)
Manufactured for Parallax exclusively by Futaba

Key Specifications
y
y
y
y

Power requirements: 4 to 6 VDC*; Maximum current draw is 140 +/- 50 mA at 6 VCDC when
operating in no load conditions, 15 mA when in static state
Communication: Pulse-width modulation
Dimensions approx 2.2 x 0.8 x 1.6 in (5.58x 1.9 x 40.6 cm) excluding servo horn
Operating temperature range: 14 to 122 °F (-10 to +50 °C)

*Power Requirement Notes
Futaba specifies 4-6 VDC for this servo. However, we find that this servo is tolerant of a 9 V battery for
very brief periods of time when there is no load, as used in some activities in the Stamps in Class series
of tutorials. (Slight jittering may be observed when batteries are fresh; this does not cause damage). Do
not use this servo with an unregulated wall-mount supply, or a regulated wall mount supply exceeding
6 VDC.
Servo current draw can spike while under load. Be sure that your application's power supply and voltage
regulator is prepared to supply adequate current for all servos used. Do not try to power this servo
directly from a BASIC Stamp module's Vdd or Vin pins; do not connect the servo's Vss line directly to the
BASIC Stamp module's Vss pin.

Copyright © Parallax Inc.

Parallax Standard Servo (#900-00005)

v2.1 6/9/2010 Page 1 of 4

Quick-Start Circuit
Vservo

Vµ
Vdd

White

I/O

Red
Black

Vss

Microcontroller

Standard Servo
GND

Vµ = microcontroller voltage supply
Vservo = 4 to 6 VDC, regulated or battery (See Error! Reference source not found., page Error! Bookmark not
defined. )
I/O = PWM TTL or CMOS output signal, 3.3 to 5 V, not to exceed Vservo + 0.2 V

Specifications
Pin

Name

Description

Minimum

Typical

Maximum

Units

1 (White)
2 (Red)
3 (Black)

Signal
Vservo
Vss

Input; TTL or CMOS
Power Supply
Ground

3.3
4.0

5.0
5.0
0

Vservo + 0.2
6.0

V
V
V

Power Precautions
y
y
y
y

Do not use this servo with an unregulated wall-mount supply. Such power supplies may deliver
variable voltage far above the stated voltage.
Do not power this servo through the BASIC Stamp Module's Vdd pin.
Servo current draw can spike while under peak load; be sure your application's regulator is
prepared to supply adequate current for all servos used in combination.
Some Stamps in Class tutorials, such as What's a Microcontroller? instruct the user to briefly
power these servos with a 9V battery when using a HomeWork Board and no load; this does not
cause damage.

Board of Education Jumper Connection
When connecting the servo to the Board of Education Rev C’s servo header, be sure the jumper is set to
Vdd (regulated 5 VDC for this board) as shown in the figure below. Failure to place the jumper at this
setting can cause damage your servo.

15 14 Vdd 13 12
Red
Black

X4

X5

Vin

Copyright © Parallax Inc.

Parallax Standard Servo (#900-00005)

v2.1 6/9/2010 Page 2 of 4

Communication Protocol
The Parallax Standard Servo is controlled through pulse width modulation, where the position of the
servo shaft is dependent on the duration of the pulse. In order to hold its position, the servo needs to
receive a pulse every 20 ms. Below is a sample timing diagram for the center position of the Parallax
Standard Servo.

BASIC Stamp 2 Programming Example
PBASIC has a PULSOUT command that sets the I/O pin to an output and sends a pulse of a specified
duration.
PULSOUT Pin, Duration
The example shown below for a BASIC Stamp 2 causes a servo connected to BASIC Stamp I/0 pin 12 to
turn to and hold its center position for approximately 5 seconds.
' CenterStdServo.bs2
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 220
PULSOUT 12, 750
PAUSE 20
NEXT

Servo I/O pin

Number of 44ths of a
second to hold the
position, for the BS2

FOR counter = 1 TO 220
PULSOUT 12, 750
PAUSE 20
NEXT
Position to hold, in 2 µs units for the BS2
Required 20 ms
between each pulse

Copyright © Parallax Inc.

Parallax Standard Servo (#900-00005)

v2.1 6/9/2010 Page 3 of 4

For detailed explanations using the BASIC Stamp 2, see What's a Microcontroller? Chapter 4, available for
free download from www.parallax.com/go/WAM.
Different BASIC Stamp modules use different units for the PULSOUT command's Duration argument.
When adapting BS2 code to another BASIC Stamp model, you may need to make adjustments. The table
below lists the PULSOUT ranges for each BASIC Stamp microcontroller. See the BASIC Stamp Manual or
BASIC Stamp Editor Help for more information.
BASIC Stamp Module

1.3 ms

1.5 ms (center)

1.7 ms

BS1

130

150

170

BS2, BS2e, BS2pe

650

750

850

BS2sx, BS2px, BS2p24/40

1625

1875

2125

You can figure out what the PULSOUT command’s Duration argument has to be when you know how
long you want the pulse to last. Just divide the PULSOUT Duration units into the time you want the pulse
to last:

Duration Argument =

Pulse Duration (ms)

PULSOUT Duration units (µs)

Propeller P8X32A Programming Example
Servo control with the Propeller chip is simplified by using a cog’s counter modules. The code below
causes a servo connected to I/O pin P0 to turn to and hold the 90 degree position. For more information
about counter modules and PWM with the Propeller, see Chapter 7 in the Propeller Education Kit Labs:
Fundamentals text, which is included as a PDF in the Propeller Tool IDE Help.
{{ CenterParallaxServo.spin
For centering Parallax Continuous Rotation Servo
or holding Parallax Standard Servo at 90° position.
Sends a 1.5 ms pulse approx every 20 ms }}
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
servoPin = 0

' System clock → 80 MHz
' Using 5 MHz external crystal oscillator
' Servo signal to this I/O pin-change if needed

PUB CenterServo | tInc, tc, tHa, t
ctra[30..26] := %00100
ctra[8..0]
:= servoPin

' Configure Counter A to NCO

frqa := 1
dira[servoPin]~~
' Set up cycle and high times
tInc := clkfreq/1_000_000
tC := tInc * 21_500
tHa := tInc * 1500
t
:= cnt

' Mark counter time

repeat
phsa := -tHa
t += tC
waitcnt(t)

'
'
'
'

Copyright © Parallax Inc.

Repeat PWM signal
Set up the pulse
Calculate next cycle repeat
Wait for next cycle

Parallax Standard Servo (#900-00005)

v2.1 6/9/2010 Page 4 of 4



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.0-c316 44.253921, Sun Oct 01 2006 17:14:39
Creator Tool                    : PScript5.dll Version 5.2
Modify Date                     : 2010:06:09 11:24:36-07:00
Create Date                     : 2010:06:09 11:22:56-07:00
Metadata Date                   : 2010:06:09 11:24:36-07:00
Format                          : application/pdf
Title                           : Parallax Standard Servo (#900-00005)
Creator                         : Parallax Inc.
Description                     : Product documentation v2.1
Subject                         : servo, motion, motor, position, flap, rudder, BS2, BASIC Stamp, Propeller, P8X32A, robot, robotics, Stamps in Class, SX/B
Producer                        : Acrobat Distiller 8.1.0 (Windows)
Document ID                     : uuid:c3607696-40a8-44f3-bd4f-c5c7de70da48
Instance ID                     : uuid:225e97b3-4c8d-42f4-acaa-83f71812169d
Page Count                      : 4
Author                          : Parallax Inc.
Keywords                        : servo, motion, motor, position, flap, rudder, BS2, BASIC Stamp, Propeller, P8X32A, robot, robotics, Stamps in Class, SX/B
Warning                         : [Minor] Ignored duplicate Info dictionary
EXIF Metadata provided by EXIF.tools

Navigation menu