28139 Parallax Inc, 28139 Datasheet - Page 2

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
Pages 59, 63, 64
Delete or disregard any references to the SLEEP button.. Replace all instances of LAST with PREV CH .
Page 89
Replace LAST with PREV CH in the text. In the code examples, replace
CON 59
Pages 93 and 95
For Project 1, use MUTE instead of SLEEP .
RemoteSleep CON 54
substitute
Pages 60 - 61, 68 - 69, 78, 84-85, 121-122, 146 - 147
This is an updated
from glitches in some IR receivers' outputs as well as sporadic interference that some fluorescent lights generate. The
example programs with this improved subroutine are available from the IR Remote for the Boe-Bot pages at
www.parallax.com.
' -----[ Subroutine - Get_Ir_Remote_Code ]---------------------------------
' SONY TV IR remote subroutine loads the remote code into the
' remoteCode variable.
Get_Ir_Remote_Code:
© 2006 Parallax Inc. Errata for IR Remote for the Boe-Bot v1.0
remoteCode = 0
' Wait for resting state between messages to end.
DO
LOOP UNTIL irPulse > 1000
' Measure start pulse.
RCTIME 9, 0, irPulse
IF irPulse > 1125 OR irPulse < 675 THEN GOTO Get_Ir_Remote_Code
' Get data bit pulses.
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT0 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT1 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT2 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT3 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT4 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT5 = 1
RCTIME IrDet, 0, irPulse
IF irPulse > 300 THEN remoteCode.BIT6 = 1
' Adjust remoteCode so that keypad keys correspond to the value
' it stores.
IF (remoteCode < 10) THEN remoteCode = remoteCode + 1
IF (remoteCode = 10) THEN remoteCode = 0
RETURN
RCTIME IrDet, 1, irPulse
with
MuteCode
PrevCh CON 59
Get_Ir_Remote_Code
for
. Also, use
RemoteSleep
If out of range, then retry at Get_Ir_Remote_Code.
. Also, substitute
mute VAR Bit
. Also substitute
subroutine that features improved immunity to interferences that can result
PrevCh
In the Solution for Project 1, use
' Clear all bits in remoteCode
' Measure pulse
' Set (or leave clear) bit-0
' Measure next pulse
' Set (or leave clear) bit-1
' etc
instead of
mute
for
2-18-06
Last
for
SleepOnOff
in the command
sleepOnOff VAR Bit
Last
with
.
IF (remoteCode = Last)
PrevCh
MuteCode CON 20
. For example, replace
. Throughout the solution,
instead of
Page 2 of 2
.
Last

Related parts for 28139