28139 Parallax Inc, 28139 Datasheet - Page 48
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: 48 of 212
- Download datasheet (3Mb)
' IR Remote for the Boe-Bot - 3BitRemoteBoeBot.bs2
' Control your Boe-Bot with keys 1-8 on a remote set to control a SONY TV.
'{$STAMP BS2}
'{$PBASIC 2.5}
time
FREQOUT 4, 2000, 3000
DEBUG "Press and hold a digit key (1-8)..."
DO
DO
LOOP UNTIL time(0) > 1000
PULSIN 9, 0, time(0)
PULSIN 9, 0, time(1)
PULSIN 9, 0, time(2)
' Decide which maneuver to execute depending on the combination
' of pulse durations stored in the first three pulse measurements.
IF (time(2) < 500) AND (time(1) < 500) AND (time(0) < 500) THEN
ELSEIF (time(2) < 500) AND (time(1) < 500) AND (time(0) > 500) THEN
ELSEIF (time(2) < 500) AND (time(1) > 500) AND (time(0) < 500) THEN
ELSEIF (time(2) < 500) AND (time(1) > 500) AND (time(0) > 500) THEN
ELSEIF (time(2) > 500) AND (time(1) < 500) AND (time(0) < 500) THEN
ELSEIF (time(2) > 500) AND (time(1) < 500) AND (time(0) > 500) THEN
ELSEIF (time(2) > 500) AND (time(1) > 500) AND (time(0) < 500) THEN
ELSEIF (time(2) > 500) AND (time(1) > 500) AND (time(0) > 500) THEN
√
RCTIME 9, 1, time(0)
PULSOUT 13, 750
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 650
PULSOUT 13, 850
PULSOUT 12, 750
PULSOUT 13, 650
PULSOUT 12, 650
PULSOUT 13, 750
PULSOUT 12, 750
PULSOUT 13, 850
PULSOUT 12, 850
PULSOUT 13, 750
PULSOUT 12, 850
PULSOUT 13, 650
PULSOUT 12, 850
Explain the problem with the 9 key using Table 1-1 as a reference.
VAR
Word(3)
' SONY TV remote variables.
' Start/reset indicator.
' Beginning of main loop.
' Wait for rest between messages.
' Measure/store data pulses.
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: