27404 Parallax Inc, 27404 Datasheet - Page 24

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
LOOP
DEBUG "Press/release reset", CR,
END
Your Turn - More Pulses, Less Distance
Chapter 4, Activity #3 in Robotics with the Boe-Bot demonstrates how the amount of
time a servo turns translates to distance traveled. When there's less time between each
pulse, the program will have to send the servos more pulses to make them turn for the
same amount of time. This can make a huge difference in certain maneuvers, especially
distance and turns. Let's take a closer look at turns. If the low time between pulses is cut
in half, it means you have to deliver around twice as many pulses to execute the same
maneuver.
"twice to restart...", CR
Save ForwardLowTimeTest.bs2 as ForwardLowTimeTestYourTurn.bs2
Set the
Replace the
For counter = 1 to 15
NEXT
Download the modified program to SumoBot A.
Set the
Modify the Main Routine again, this time doubling the number in the
FOR...NEXT
FOR counter = 1 to 30
NEXT
Download the modified program to SumoBot B.
PULSOUT ServoLeft,
PULSOUT ServoRight, 850
PAUSE LowTime
PULSOUT ServoLeft,
PULSOUT ServoRight, 850
PAUSE LowTime
LowTime CON
LowTime CON
DO...LOOP
loop's
EndValue
directive to 40.
directive to 20.
in the Main Routine with this:
850
850
:
' User instructions
' Deliver 15 left turn pulses
' Deliver 30 left turn pulses

Related parts for 27404