28125 Parallax Inc, 28125 Datasheet - Page 72

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
ACTIVITY #3: CONNECTING THE SERVO MOTORS
In this activity, you will build a circuit that connects the servo to a power supply and a
BASIC Stamp I/O pin. The LED circuits you developed in the previous activity will be
used later to monitor the signals the BASIC Stamp sends to the servos to control their
motion.
Parts for Connecting the Servos
(2) Parallax Continuous Rotation servos
(2) Built and tested LED circuits from the previous activity
Finding the Connection Instructions for Your Carrier Board
There are three different Revs of the Board of Education and one Rev of the BASIC
Stamp HomeWork Board. Boards of Education can either be Rev A, B, or C. The
HomeWork Board is Rev B. Figure 2-10 shows examples of the labeling you might see
on your board.
LOOP
Run the modified program and verify that the P13 LED now appears slightly
brighter than the P12 LED. You may have to cup your hands around the LEDs
and peek inside to see the difference. They are different because the amount of
time the LED connected to P13 stays on is longer than the amount of time the
LED connected to P12 stays on.
Try substituting 750 in the
goes to both LEDs.
DO
LOOP
Run the modified program and verify that the brightness of both LEDs is the
same again. It may not be obvious, but the brightness level is between those
given by
PULSOUT 13, 850
PULSOUT 12, 650
PAUSE 20
PULSOUT 13, 750
PULSOUT 12, 750
PAUSE 20
Duration
arguments of 650 and 850.
Duration
argument for the
PULSOUT
command that

Related parts for 28125