27403 Parallax Inc, 27403 Datasheet - Page 18

GUIDE APP ROBOTCS W/SUMOBOT V1.0

27403

Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 27403

Accessory Type
Manual
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 1-4 SumoBot Servo Connections
The instructions that make the SumoBot move forward starts with these
The SumoBot's left servo is connected to P13, so I/O pin P13 is given the name
ServoLeft
In order for the program to apply 100 pulses, a
This
to Robotics with the Boe-Bot, this loop delivers 40.65 pulses per second, so the SumoBot
will roll forward for 100 ÷ 40.65 = 2.46 seconds.
Your Turn - Does Angle of Approach Matter?
By experimenting with different angles of approach, you might (or might not) find an
even more "winning combination".
approaches. The edge of a SumoBot's plow collides with the flat of the other's (left). The
SumoBot is using a curved approach (right). They aren't necessarily better approaches,
but they are worth investigating for the sake of better understanding the relative merits
and drawbacks of each.
FOR...NEXT
ServoLeft
ServoRight
counter
FOR counter = 1 TO 100
NEXT
PULSOUT ServoLeft,
PULSOUT ServoRight, 650
PAUSE 20
. Likewise, P12 is connected to the right servo, so it's named
loop delivers 100 forward pulses to the SumoBot's servos. According
PIN
PIN
VAR
850
13
12
Byte
Figure 1-5 shows examples of two different
counter
variable is declared:
PIN
ServoRight
declarations:
.

Related parts for 27403