29122 Parallax Inc, 29122 Datasheet
![KIT PARTS IR REMOTE FOR BOE-BOT](/photos/8/99/89956/mfg_29122_sml.jpg)
29122
Specifications of 29122
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 ...