28139 Parallax Inc, 28139 Datasheet - Page 179

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
You can modify or expand the
the Constants section (Play, Stop, Rewind, etc.). There are usually several different
codes for configuring universal remotes to control SONY VCRs, so you may need to try
a few before finding the code that makes the remote speak the same PWM language as
the TV controller. You can determine if the code worked because number, CH/VOL+/- ,
and POWER keys will still work after you have pressed the VCR button.
' -----[ Title ]-----------------------------------------------------------
' Ir Remote Application - IrRemoteButtonDisplay.bs2
' Process incoming SONY remote signals and display the corresponding button
' in the Debug Terminal.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Revision History ]------------------------------------------------
' V1.0 - Supports most SONY TV and VCR control buttons.
'
' -----[ I/O Definitions ]-------------------------------------------------
' SONY TV IR remote declaration - input receives from IR detector
IrDet
' -----[ Constants ]-------------------------------------------------------
' Pulse duration constants for SONY remote.
#SELECT $STAMP
#CASE BS2, BS2E, BS2PE
#CASE BS2P, BS2SX
ThresholdStart CON 1000
ThresholdEdge
OverStart
UnderStart
As with the previous example program, make sure your remote is configured to
control a SONY TV first.
Update the
Download or hand enter, then run IrRemoteButtonDisplay.bs2.
Point the remote at the IR detector, press and release buttons.
Make sure the Debug Terminal reports the correct button. Start with digits,
channel, volume, etc.
Supports BASIC Stamp 2, 2SX, 2e, 2p, and 2pe modules.
PIN
$STAMP
CON 300
CON 1125
CON 675
9
Directive for the BASIC Stamp module you are using.
SELECT…CASE
Appendix A: IR Remote AppKit Documentation · Page 169
statement to test for VCR keys defined in
' BS2, 2sx, 2e, 2p, or 2pe
' I/O pin to IR detector output
' PULSE durations
' Message rest vs. data rest
' Binary 1 vs. 0 for RCTIME
' Start pulse max
' Start pulse min

Related parts for 28139