28125 Parallax Inc, 28125 Datasheet - Page 91
28125
Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet
1.28125.pdf
(360 pages)
Specifications of 28125
Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 91 of 360
- Download datasheet (5Mb)
You can use ServoP13Clockwise.bs2 to send this pulse train to the servo connected to
P13.
Example Program: ServoP13Clockwise.bs2
' Robotics with the Boe-Bot – ServoP13Clockwise.bs2
' Run the servo connected to P13 at full speed clockwise.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Program Running!"
DO
LOOP
Notice that a 1.3 ms pulse requires a
which is less than 750. All pulse widths less than 1.5 ms, and therefore
Duration
Example Program: ServoP12Clockwise.bs2
By changing the
servo connected to P12 turn full speed clockwise.
PULSOUT 13, 650
PAUSE 20
√
√
√
√
Enter, save, and run ServoP13Clockwise.bs2.
Verify that the servo’s horn is rotating between 50 and 60 RPM clockwise.
Save ServoP13Clockwise.bs2 as ServoP12Clockwise.bs2.
Modify the program by updating the comments and the
Pin
Your entire system, including servos should be connected to power for this activity.
arguments less than 750, will cause the servo to rotate clockwise.
argument to 12.
√
√
PULSOUT
from the battery pack. This will restore power to the servo ports. Also, connect
the 9 V battery to the battery clip. This will supply power to the embedded BASIC
Stamp, Vdd, Vin, and Vss.
If you have a Board of Education Rev C, set the 3-position switch to position-2.
This connects power to the servo ports in addition to the position-1 power to the
BASIC Stamp, Vdd, Vin, and Vss.
If you have a BASIC Stamp HomeWork Board, replace the battery you removed
command’s
PULSOUT
Pin
argument from 13 to 12, you can make the
command
Duration
PULSOUT
argument of 650,
command’s
PULSOUT
Related parts for 28125
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: