28139 Parallax Inc, 28139 Datasheet - Page 122
28139
Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Specifications of 28139
Accessory Type
IR Remote
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Boe-Bot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 122 of 212
- Download datasheet (3Mb)
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 28139
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: