27403 Parallax Inc, 27403 Datasheet - Page 169
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: 169 of 266
- Download datasheet (6Mb)
Figure 4-8 Peripheral Vision for Opponent Detection
Responding to an Object Detection on the Side
This code for side IR object detection works about the same as the examples from the
previous activity. They can be added to the
example program's main routine. They will make the SumoBot respond by rotating in
place to turn toward objects it detects on either side. If an object is on the SumoBot's left
side, the
makes the SumoBot rotate left until either one of the front IR detectors sees the object.
The
side.
ELSEIF irLS = 1 THEN
ELSEIF irRS = 1 THEN
DO UNTIL irRF = 1 OR irLF = 1
LOOP
DO UNTIL irRF = 1 OR irLF = 1
LOOP
ELSEIF irRS = 1 THEN...
maneuver = RotateLeft
GOSUB Servos_And_Sensors
maneuver = RotateRight
GOSUB Servos_And_Sensors
ELSEIF irLS = 1 THEN
code block will get executed. The
code block behaves similarly for objects on the right
IF...THEN
' Object left side?
' State = track left side object
' Rotate left
' Object right side?
' State = track right side object
' Rotate right
statements in the previous
DO UNTIL...LOOP
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: