27316 Parallax Inc, 27316 Datasheet - Page 6

Microcontroller Modules & Accessories Penguin Robot BLACK

27316

Manufacturer Part Number
27316
Description
Microcontroller Modules & Accessories Penguin Robot BLACK
Manufacturer
Parallax Inc
Datasheet

Specifications of 27316

Product
Microcontroller Accessories
Core Processor
2PX24 Stamp
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Step 2: Center the servos using the BASIC Stamp Editor
This step centers the servos, so that further mechanical tuning will be minimized once the Penguin is
assembled. It also ensures that you won’t need to take the Penguin apart once you start programming it.
The servos need to be centered with a 1.5 ms pulse, following the directions below:
' Parallax Penguin Robot
' Penguin-CenterServos.bpx
' {$STAMP BS2px}
' {$PBASIC 2.5}
Center
StrideServo
TiltServo
DO
LOOP
Copyright © Parallax, Inc. • Penguin (#27313-27316) • v1.0 7/12/2007
PULSOUT StrideServo, Center
PULSOUT TiltServo,
PAUSE 15
a. Connect the Penguin boards together using the flat ribbon cable. The blue-tipped side of the
b. Insert two (2) CR123 batteries into the power pack. A line drawing on the inside of the battery
c. Plug two servos into the bottom of the power pack, being careful to orient them correctly. From
d. Download and install the BASIC Stamp Editor and FTDI USB VCP drivers software if you have not
e. Plug the mini USB cable into the power pack.
f.
g. Turn on power to the board (red switch).
h. Open the BASIC Stamp Windows Editor and run the Penguin Servo Centering.bpx program.
i.
cable faces away from both boards (blue side is facing down in this photo).
holder shows how the batteries are oriented.
the perspective of this photo, the servo’s white leads are on the bottom, or the right side of each
servo connector as viewed behind the Penguin.
done so already.
Plug the other end of the USB cable into your PC.
The servos are now centered. Disconnect the servos first, and then remove the batteries and USB
cable from the power pack board.
CON
PIN
PIN
1875
6
7
Center
' Centered servo pulse
' Center stride servo (J1)
' Center tilt servo (J2)
Page 6 of 24

Related parts for 27316