70009 Parallax Inc, 70009 Datasheet - Page 46

BOOK UNDERSTANDING SIGNALS

70009

Manufacturer Part Number
70009
Description
BOOK UNDERSTANDING SIGNALS
Manufacturer
Parallax Inc
Type
Signal Analysisr
Datasheet

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
Part Number:
700090B
Quantity:
5 510
Part Number:
700090B
Manufacturer:
COPAL
Quantity:
5 510
Part Number:
70009AB 7256
Manufacturer:
ST
0
Part Number:
70009CB
Quantity:
5 510
Part Number:
70009CB
Manufacturer:
VISHAY
Quantity:
5 510
Part Number:
70009GB
Manufacturer:
TI/PHILIPS
Quantity:
20 000
Triggering a Sine Wave with TestPiezoWithFreqout.bs2
' Understanding Signals - TestPiezoWithFreqout.bs2
' Send a tone to the piezo speaker using the FREQOUT command.
'{$STAMP BS2}
'{$PBASIC 2.5}
DO
LOOP
With the CH1 probe connected you will see the signal shown in Figure 3-6. The
command in this program generates a 200 Hz signal for 60000 ms (1 minute) from I/O
pin 9. However, since the command is nested in a
repeated and the signal is generated continuously.
FREQOUT 9, 60000, 200
Run the program TestPiezoWithFreqout.bs2.
CH1
CH2
Horizontal Dial
Trigger Source
Trigger Edge
Trigger Mode
Run / Stop Mode
Trigger Voltage
FREQOUT
FREQOUT
a sine wave when filtered. This sine wave can be translated into sound with a piezo
speaker, assuming the frequency is within the audible range. The
requires the following arguments: pin (0-15) is the I/O pin used, duration (1-65535) is the
length of the tone in ms., freq1 is the frequency in Hertz, freq2 is an optional second
frequency, also in Hertz. For detailed information, open the BASIC Stamp Windows Editor
Help file.
pin, duration, freq1 {,freq2}.
is a BASIC Stamp command that generates a series of pulses that approximate
2 V / division
Off
1 ms / division
Channel 1
Rising
Auto
Continuous
2 V
DO
..
LOOP
, the command is immediately
FREQOUT
Figure 3-5:
Configuration for
the OPTAscope to
measure sine
waves
command
FREQOUT

Related parts for 70009