28139 Parallax Inc, 28139 Datasheet - Page 126

KIT REMOTE IR FOR BOE-BOT W/TEXT

28139

Manufacturer Part Number
28139
Description
KIT REMOTE IR FOR BOE-BOT W/TEXT
Manufacturer
Parallax Inc
Datasheets

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
Let's first build and test the program, then we'll take a closer look at how it works.
Example Program: IrMultiBot.bs2
This example program starts off as the normal 7BitRemoteBoeBot.bs2. So, you can use
the number, channel, and volume keys to drive the Boe-Bot around. You can make the
Boe-Bot roam autonomously by pressing the POWER key, then the 2 key. Make the Boe-
Bot follow objects by pressing the POWER key, then the 3 key. To return to remote
keypad controlled navigation, press the POWER key, then the 1 key.
Here's how to build the program. First each of the three programs you will use to build
this larger program have to be run and tested. 7BitRemoteBoeBot.bs2 was developed in
this text, Chapter 2, Activity #3. The other two programs were developed in Robotics
DO
LOOP
SELECT operation
ENDSELECT
' If operation = 1, execute a modified version of
' 7BitRemoteBoeBot.bs2 that also allows
' you to change the operation variable with the POWER key.
CASE 1
' If operation = 2, execute modified FastIrRoaming.bs2.
CASE 2
' If operation is 3, execute the FollowingBoeBot.bs2.
CASE 3
' Modified main routine from 7BitRemoteBoeBot.bs2
' goes here.
' Modified main routine from FastIrRoaming.bs2 goes here.
' Modified main routine from FollowingBoeBot.bs2 goes here.
' End SELECT operation

Related parts for 28139