28123 Parallax Inc, 28123 Datasheet - Page 122

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
Programming Servo Control
A servo is controlled by very brief high signals. These high signals are sent over and
over again every 20 ms. The high signals last anywhere between 1 and 2 ms. The
PULSOUT
Stamp I/O pin. Here is the command syntax for the
As with
I/O pin the signal is sent on. The
PAUSE
of-a-second (µs) time durations that you want the high signal to last.
White
Black
Red
P15
P14
P13
P12
P11
P10
P9
P8
P7
P6
P5
P4
P3
P2
P1
P0
X2
X3
command. For the BASIC Stamp 2, the
PULSOUT Pin, Duration
HIGH
command can be used to send a pulse (a very brief high signal) using a BASIC
Make sure that the colors on the servo’s cable align properly with the colors
labeled in the picture.
Connect a 9 V battery to Board of Education Rev B. The servo may move a
little bit when you make the connection.
Vdd
15
and
14
X4
LOW
Vin
13 12
, the
X5
+
Vss
Pin
Red
Black
argument is a number that tells the BASIC Stamp which
Duration
argument is not milliseconds, like it is in the
Duration
www.parallax.com
standard servo
PULSOUT
is the number of 2-millionth-
command:
Figure 4-13
Connecting Servo to
Servo Header on the
Board of Education
Rev B.

Related parts for 28123