29122 Parallax Inc, 29122 Datasheet

KIT PARTS IR REMOTE FOR BOE-BOT

29122

Manufacturer Part Number
29122
Description
KIT PARTS IR REMOTE FOR BOE-BOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 29122

Accessory Type
IR Remote
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
Infrared Remote AppKit (#29122)
A Wireless Keypad for Your BASIC Stamp
With a universal remote and an infrared receiver, you can add a wireless keypad to your BASIC Stamp
Applications. The IR receiver is inexpensive, and only takes one I/O pin. Universal remotes are also
inexpensive, easy to obtain and replace, and have enough buttons for most applications. The parts in
this kit along with the example programs make it possible to enter values and control your projects in the
same way you might with a TV, VCR, or other entertainment system component.
IR Remotes can also add zing to your robotics projects. While this package insert provides you with
the essential background information, circuits, and example programs to get started, you can learn
lots more with IR Remote for the Boe-Bot by Andy Lindsay of Parallax Inc. This text is, for the most
part, a continuation of Robotics with the Boe-Bot, but with an IR remote twist. It follows the same
format in terms of introducing new hardware, explaining how things work, and demonstrating new
PBASIC techniques. IR remote applications for the Boe-Bot
entry control, hybrid autonomous and remote control, and remote motion sequence programming.
How IR Communication Works
The universal remote sends messages by strobing its IR LED at 38.5 kHz for brief periods of time. The
actual data is contained in the amount of time each strobe lasts. Each IR protocol is different. In general,
the amount of time each 38.5 kHz signal lasts transmits some kind of message. One duration might
indicate the start of a message, while another indicates a binary-1, and still another indicates a binary-0.
The IR detector's output pin sends a low signal while it detects the 38.5 kHz IR signal, and a high signal
while it does not. So, a low signal of one duration might indicate the start of a message, while another
indicates a binary-1, and still another indicates a binary-0. This communication scheme is called pulse
width modulation (PWM), because when it is graphed against time, the IR detector's high/low signals form
pulses of different widths that correspond to their durations.
© 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004
Kit Contents*
Infrared Remote Parts List:
(1) 020-00001 Universal Remote and
(1) 350-00014 IR detector
(1) 150-02210 Resistor – 220 Ω
(1) 800-00016 Jumper wires – bag of 10
*Requires 2 alkaline AA batteries, not included
Universal Remote Manual
599 Menlo Drive, Suite 100
Rocklin, California 95765, USA
Office: (916) 624-8333
Fax: (916) 624-8003
®
Microcontroller Module
®
robot include remote control, keypad
General: info@parallax.com
Technical: support@parallax.com
Web Site: www.parallax.com
Educational: www.stampsinclass.com
3 2 1
Page 1 of 10

Related parts for 29122

29122 Summary of contents

Page 1

... This communication scheme is called pulse width modulation (PWM), because when it is graphed against time, the IR detector's high/low signals form pulses of different widths that correspond to their durations. © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 599 Menlo Drive, Suite 100 General: info@parallax.com Rocklin, California 95765, USA Technical: support@parallax ...

Page 2

... Bit-6 Bit-8 Bit-10 Bit-3 Bit-5 Bit-7 Bit-9 Bit-11 Binary-1 data pulse durations = 1.2 ms © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 Handheld Remote Infrared Messages Excerpt from IR Remote for the Boe- Bot text. ® TV sets. This IR Message Timing Diagram 0 ...

Page 3

... LOOP UNTIL irPulse > 1000 PULSIN 9, 0, irPulse IF irPulse > 500 THEN remoteCode.BIT0 = 1 RCTIME 9, 0, irPulse IF irPulse > 300 THEN remoteCode.BIT1 = 1 RCTIME 9, 0, irPulse IF irPulse > 300 THEN remoteCode.BIT2 = 1 © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 Vdd 220 Vss ' Stores pulse widths ' Stores remote code ' Main DO ...

Page 4

... 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 Page Repeat main DO...LOOP © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ...

Page 5

... Power CON 21 TvLast CON 59 © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ' 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 PULSIN ' Binary 1 vs. 0 for RCTIME ' Binary 1 vs. start pulse * Binary 1 vs ...

Page 6

... CASE Enter DEBUG "ENTER" CASE ChUp DEBUG "CH+" CASE ChDn Page you may have to ' Stores pulse widths ' Stores remote code ' Main DO...LOOP ' Call remote code subroutine ' Heading ' Select message to display © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ...

Page 7

... RCTIME IrDet, 0, irPulse IF irPulse > ThresholdEdge #CASE BS2SX, BS2P DO PULSIN IrDet, 0, irPulse LOOP UNTIL irPulse > ThresholdStart © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ' Repeat main DO...LOOP ' Wait for end of resting state. ' Get data pulses. THEN remoteCode.BIT1 = 1 THEN remoteCode.BIT2 = 1 THEN remoteCode.BIT3 = 1 THEN remoteCode ...

Page 8

... DEBUG CR, CR, "Type value from", CR, "0 to 65535,", CR, "then press ENTER", CR value = 0 remoteCode = 0 DO value = value * 10 + remoteCode DO GOSUB Get_Ir_Remote_Code IF (remoteCode > 9) AND (remoteCode <> Enter) THEN Page Get data pulses. Word ' Stores multi-digit value © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ...

Page 9

... DEBUG CR, CR, "Press and hold digit", CR, "or CH+/-, VOL+/- keys", CR, "to control the Boe-Bot..." DO GOSUB Get_Ir_Remote_Code SELECT remoteCode CASE 2, ChUp PULSOUT 13, 850 PULSOUT 12, 650 CASE 4, VolDn © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 Numeric Keypad Direction Control ' Forward ' Rotate Left Page ...

Page 10

... Page Rotate Right ' Backward ' Pivot Fwd-left ' Pivot Fwd-right ' Pivot back-left ' Pivot back-right ' Hold position , Student Guide, Version 1.0, California: Parallax, , Volume 3, California: Parallax, Inc, introduces capturing and decoding SONY TV IR control © 2004 Parallax Inc. • IR Remote AppKit (#29122) • 10/2004 ...

Related keywords