27403 Parallax Inc, 27403 Datasheet - Page 167
![GUIDE APP ROBOTCS W/SUMOBOT V1.0](/photos/8/99/89972/mfg_27403_sml.jpg)
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: 167 of 266
- Download datasheet (6Mb)
The Main Routine below incorporates this code for both sides, and is a drop-in
replacement for the main routine in FrontIrNavigation.bs2.
' -----[ Main Routine ]-------------------------------------------------------
DO
IF irLF = 1 AND irRF = 1 THEN
ELSEIF irLF = 1 THEN
ELSEIF irRF = 1 THEN
√
√
√
maneuver = Forward
GOSUB Servos_And_Sensors
counter = 0
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 15
LOOP
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 30
LOOP
counter = 0
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 15
LOOP
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 30
maneuver = CurveLeft
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateLeft
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = CurveRight
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateRight
Save FrontIrNavigation.bs2 as FrontIrNavigationYourTurn.bs2.
Replace the Main Routine in the program with the one shown below.
Test the program and note the differences in the way the SumoBot faces and
lunges toward your hand.
ELSEIF irLF = 1 THEN
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 15
LOOP
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 30
LOOP
maneuver = CurveLeft
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateLeft
GOSUB Servos_And_Sensors
counter = counter + 1
' Both?
' State = Lunge forward
' Just left?
' State = track front left object
' Curve left 15
' Rotate left 30
' Just right?
' State=track front right object
' Curve right 15
' Rotate right 30
' Just left?
' Curve left 15
' Rotate left 30
Related parts for 27403
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: