122-27400 Parallax Inc, 122-27400 Datasheet - Page 26

MANUAL FOR SUMOBOT

122-27400

Manufacturer Part Number
122-27400
Description
MANUAL FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 122-27400

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
Page 16 · SumoBot – Mini Sumo Robotics
Don't worry, for the moment, how the program works; that will become clear in the next
section.
SUMOBOT MOTION TEST
With the motors aligned, it is time to test the SumoBot for essential motion control. Load
the following program into the BASIC Stamp Editor, and then download it to the
SumoBot:
' SumoBot_2.2_Motor_Test.BS2
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]-------------------------------------------------
LMotor
RMotor
' -----[ Constants ]-------------------------------------------------------
LFwdFast
LFwdSlow
LStop
LRevSlow
Figure 2.5: SumoBot Servo Adjustment Ports
PIN
PIN
CON
CON
CON
CON
13
12
1000
800
750
700
' left servo motor
' right servo motor
' left motor fwd; fast
' left motor fwd; slow
' left motor stop
' left motor rev; slow

Related parts for 122-27400