28139 Parallax Inc, 28139 Datasheet - Page 120
![KIT REMOTE IR FOR BOE-BOT W/TEXT](/photos/8/99/89978/mfg_28139_sml.jpg)
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: 120 of 212
- Download datasheet (3Mb)
Here's how it will work:
IrRoamingWithSpeedControl.bs2 already uses infrared to check for obstacles between
each pair of pulses to the servos. The key to detecting incoming messages from the
remote is to check the IR detectors before using the
objects. If the program checks to find out if IR is detected before checking for obstacles,
it can easily detect an incoming message from the remote. Here are the steps that should
be executed inside the main routine's
Example Program: RoamingWithRemoteSpeedControl.bs2
Follow these steps to write the program:
•
•
•
•
•
•
√
√
√
By pressing the any button, you will interrupt the Boe-Bot's roaming.
Then, you will use the numeric keypad to type in the new percent-speed.
To make the Boe-Bot resume roaming at the new speed, press the ENTER button.
Before testing for objects with the Boe-Bot's IRLED headlights, test the IR
detector's output pin to see if a signal is coming from the remote.
Check the IR detectors.
Use
Open IrRemoteKeypad.bs2.
Save a copy of it as RoamingWithRemoteSpeedControl.bs2.
Add these declarations to the variables section:
' Boe-Bot control variables.
irDetectLeft
irDetectRight
speed
You can copy and paste to transfer sections of code from your version of
IrRoamingWithSpeedControlYourTurn.bs2 into RoamingWithRemoteSpeedControl.bs2.
•
•
IF…THEN
If the IR detector is sending a low signal it means an infrared message is
coming in. Call the
If the IR detector is sending a high, move on to the next task, which is
object detection.
to control the servo directions and speeds.
VAR
VAR
VAR
Bit
Bit
Byte
Process_Ir_Message
DO…LOOP
:
FREQOUT
' IR detector bit storage
' Speed control variable
subroutine.
command to look for
Related parts for 28139
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: