28125 Parallax Inc, 28125 Datasheet - Page 56
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: 56 of 360
- Download datasheet (5Mb)
ACTIVITY #1: HOW TO TRACK TIME AND REPEAT ACTIONS
Controlling a servo motor’s speed and direction involves a program that makes the
BASIC Stamp send the same message, over and over again. The message has to repeat
itself around 50 times per second for the servo to maintain its speed and direction. This
activity has a few PBASIC example programs that demonstrate how to repeat the same
message over and over again and control the timing of the message.
Displaying Messages at Human Speeds
You can use the
executing the next command.
The number that you put to the right of the
argument, and it’s the value that tells the BASIC Stamp how long it should wait before
moving on to the next command. The units for the
of a second (ms). So, if you want to wait for one second, use a value of 1000. Here’s
how the command should look:
If you want to wait for twice as long, try:
PAUSE Duration
Standard Servos vs. Continuous Rotation Servos: Standard servos are designed to
receive electronic signals that tell them what position to hold. These servos control the
positions of radio controlled airplane flaps, boat rudders, and car steering. Continuous
rotation servos receive the same electronic signals, but instead of holding certain positions,
they turn at certain speeds and directions.
controlling wheels and pulleys.
A second is abbreviated “s”. In this text, when you see 1 s, it means one second.
A millisecond is one thousandth of a second, and it is abbreviated “ms”. The command
PAUSE 1000 delays the program for 1000 ms, which is 1000/1000 of a second, which is one
second, or 1 s. Got it?
PAUSE 1000
PAUSE 2000
PAUSE
command to tell the BASIC Stamp to wait for a while before
PAUSE
Continuous rotation servos are ideal for
Duration
command is called the
argument are thousandths
Duration
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: