28139 Parallax Inc, 28139 Datasheet - Page 184

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
The routine below is for a Boe-Bot robot with Parallax Continuous Rotation servos. Its
left servo should be connected to P13, and its right servo connected to P12. If you have
Parallax PM servos, use 500 in place of 650 and 1000 in place of 850 for the
command
Replace the
one, run it, and operate the Boe-Bot with your remote. Have fun!
DEBUG CR, CR, "Press and hold digit", CR, "or CH+/-, VOL+/- keys", CR,
DO
Duration
GOSUB Get_Ir_Remote_Code
SELECT remoteCode
CASE 2, ChUp
CASE 4, VolDn
CASE 6, VolUp
CASE 8, ChDn
CASE 1
"to control the Boe-Bot..."
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 650
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 850
DO…LOOP
arguments.
in the IrRemoteButtonDisplay.bs2's main routine with this
Numeric Keypad
Direction Control
' Forward
' Rotate left
' Rotate right
' Backward
' Pivot Fwd-left
PULSOUT

Related parts for 28139