70016 Parallax Inc, 70016 Datasheet - Page 122

TEXT INFRARED REMOTE FOR BOE-BOT

70016

Manufacturer Part Number
70016
Description
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 70016

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
For Use With
29122 - KIT PARTS IR REMOTE FOR BOE-BOT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
70016SE
Manufacturer:
ST
0
How RoamingWithRemoteSpeedControl.bs2 Works
Normally, during IR detection, a
IR on/off at 38.5 kHz. If this flashing infrared light reflects off an object in the Boe-Bot's
path, it will be detected by the IR detector. Remember that this value has to be stored in
a bit variable immediately after the
output returns to high indicating that IR is not detected.
During roaming with no IR remote message coming in, the Main Routine's
executes over and over again, checking for obstacles with IR and controlling the servos.
The key to intercepting an IR remote message is to check the state of the IR detectors
output before broadcasting any infrared with the IR LEDs. The perfect time to do this is
at the beginning of the Main Routine's
pause at the end of the
The statement
an incoming IR remote message. It also checks whether or not the
LOOP
Save and run your modified program.
To interrupt the Boe-Bot's roaming, point the remote at it and press any key.
The Boe-Bot will beep twice to indicate that it received the signal. Make sure to
release the key you're pressing as soon as you hear the beep.
Use the remote's numeric keypad to type in the new percent speed value (0 to
100).
Press the ENTER key to get the Boe-Bot to resume its roaming at the new speed.
IF (irDetectLeft = 0) AND (irDetectRight = 0) THEN
ELSEIF (irDetectLeft = 0) THEN
ELSEIF (irDetectRight = 0) THEN
ELSE
ENDIF
PAUSE 15
PULSOUT 13,
PULSOUT 12,
PULSOUT 13, 750 + speed
PULSOUT 12, 750 + speed
PULSOUT 13, 750 - speed
PULSOUT 12, 750 - speed
PULSOUT 13, 750 + speed
PULSOUT 12, 750 - speed
IF (IN9 = 0) OR (speed = 0) THEN...
DO…LOOP
750 - speed
750 + speed
.
FREQOUT
FREQOUT
DO…LOOP
command causes one of the IR LEDs to flash
command. An instant later, the IR detector's
, because this comes right after the 15 ms
' Backward
' Rotate right
' Rotate left
' Forward
' Between servo pulses.
' Repeat main routine.
does the actual checking for
speed
variable has
DO…LOOP

Related parts for 70016