Page 16 · SumoBot – Mini Sumo Robotics
Figure 2.5: SumoBot Servo Adjustment Ports
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
PIN
RMotor
PIN
' -----[ Constants ]-------------------------------------------------------
LFwdFast
CON
LFwdSlow
CON
LStop
CON
LRevSlow
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
Need help?
Do you have a question about the Boe-Bot and is the answer not in the manual?