27404 Parallax Inc, 27404 Datasheet - Page 150

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Figure 4-3 PULSOUT Duration vs. Rotational Velocity for Parallax Continuous Rotation Servo
With some experimentation, you can also control the speed of the servos too. Note from
Figure 4-3 that the relationship between pulse width and rotational velocity is not simply
linear. For example, a
as you increase to 710, 720, 730, and so on, there should be a noticeable reduction in
speed. The closer
still pretty close to full speed counterclockwise, but as
servo will rotate counterclockwise more slowly.
ServoControlExample.bs2 demonstrates how to use
loop
SumoBot spends executing that maneuver.
Example Program: ServoControlExample.bs2
PULSOUT Duration 650
Pulse Width, µs 1300
EndValue
Enter, save, and run the ServoControlExample.bs2.
Verify that the SumoBot executes each of the maneuvers mentioned in the
comments.
Full Speed
Clockwise
-20
-40
-60
60
40
20
0
arguments to determine the SumoBot's maneuver and the time the
Duration
Duration
1350
675
is to 750, the slower the servo will turn. Likewise, 800 is
Speed Reduces
1400
700
of 700 is still pretty close to full speed clockwise, but
1450
725
Stop
1500
Full
750
PULSOUT Duration
Duration
Speed Reduces
1550
775
1600
800
gets closer to 750, the
and
825
1650
FOR...NEXT
Counterclockwise
Full Speed
850
1700

Related parts for 27404