27403 Parallax Inc, 27403 Datasheet - Page 15
27403
Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
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
- Current page: 15 of 266
- Download datasheet (6Mb)
Example Program: Forward100Pulses.bs2
' -----[ Program Description ]------------------------------------------------
' Applied Robotics with the SumoBot - Forward100Pulses.bs2
' SumoBot goes forward 100 pulses after Reset button is pressed and released.
' To repeat the forward motion, press/release the Reset button twice.
'
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]---------------------------------------------------
ServoLeft
ServoRight
' -----[ EEPROM Data ]--------------------------------------------------------
RunStatus
' -----[ Variables ]----------------------------------------------------------
temp
counter
' -----[ Initialization ]-----------------------------------------------------
DEBUG CLS
Reset_Button:
READ RunStatus, temp
temp = ~temp
WRITE RunStatus, temp
IF (temp > 0) THEN
ENDIF
√
√
√
√
DEBUG "Press/release Reset..."
END
Repeat five to ten times to be sure which SumoBot's plow adjustment has the
advantage.
Adjust the plow of the SumoBot that appeared to lose more often, and repeat the
test.
When you are confident that one of your SumoBots has a winning plow
adjustment, try lots of different adjustments on the other SumoBot to find out if
there is any better adjustment that can make it the winner.
When you are satisfied with your winning SumoBot's plow, leave its adjustment
as-is, and tune the other SumoBot's plow until its chances of winning/losing are
close to even.
PIN
PIN
DATA
VAR
VAR
13
12
0
Byte
Byte
Chapter 1: Mechanical Adjustments · Page 11
' Left servo connected to P13
' Right servo connected to P12
' Start with program not running
' Temporary variable
' FOR...NEXT loop counter
' Clear the Debug Terminal
' read current status
' invert status
' save for next reset
' 0 -> End, 1 -> Main routine
Related parts for 27403
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: