70009 Parallax Inc, 70009 Datasheet - Page 100
70009
Manufacturer Part Number
70009
Description
BOOK UNDERSTANDING SIGNALS
Manufacturer
Parallax Inc
Type
Signal Analysisr
Datasheet
1.70009.pdf
(137 pages)
Specifications of 70009
Style
Book
Title
Understanding Signals
Contents
Guide to Generate, View and Measure Wave Forms
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
70009PAR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
700090B
Manufacturer:
COPAL
Quantity:
5 510
Company:
Part Number:
70009CB
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
70009GB
Manufacturer:
TI/PHILIPS
Quantity:
20 000
Reading a Remote Control with DecodeSonyIRRemote.bs2
This application program is longer and more complex than the example programs used in
the other Activities. The author has inserted some informational comments; for an in-
depth look check out the Weekend Application Kit in the Further Investigation section at
the end of this chapter.
' -----[ Program Title and Description ]-----------------------------------
' Understanding Signals - DecodeSonyIRRemote.bs2
' Decode 38 kHz Sony IR TV remote control signal.
' Author: Andy Lindsay, Parallax, Inc.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]-------------------------------------------------
IR_detect
' -----[ Constants ]-------------------------------------------------------
active_high
active_low
' -----[ Variables ]-------------------------------------------------------
' This program reads all the pulses delivered by the remote, but in
' practice, only the first two to five pulses are required.
' used To save seven To 9 Words in RAM (in this section) and the same
' number OF PULSIN commands in the Process IR Pulses subroutine.
√
Run the program DecodeSonyIRRemote.bs2
CH1
CH2
Horizontal Dial
Trigger Source
Trigger Edge
Trigger Mode
Run / Stop Mode
Trigger Voltage
Autoscale
PIN
CON
CON
8
1
0
Off
2 V / division
2 ms / division
Channel 2 at 50%
Falling
Normal
Continuous
2 V
Off
' IR detector output -> P8.
' Used to set PULSIN commands
' to detect +/- pulses.
This can be
Figure 7-10:
OPTAscope
configuration for
handheld infrared
remote control
decoding