28119 Parallax Inc, 28119 Datasheet - Page 67

KIT UNDERSTANDING SIGNALS

28119

Manufacturer Part Number
28119
Description
KIT UNDERSTANDING SIGNALS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28119

Lead Free Status
Contains lead
Accessory Type
Oscilloscope
Interface Type
USB
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
281197-2
Manufacturer:
TE
Quantity:
20 000
Part Number:
281197-2
Manufacturer:
MOLEX
Quantity:
2 500
RCTimeConstantWithPhotoresistor.bs2
' Understanding Signals - RCTimeConstantWith Photoresistor.bs2
' Read photoresistor in RC-time circuit using RCTIME command.
'{$STAMP BS2}
'{$PBASIC 2.5}
time
DO
LOOP
HIGH 0
HIGH 15
PAUSE 10
RCTIME 15, 1, time
LOW 0
DEBUG HOME, "(time/1000)*2 = ", DEC3 (time/1000)*2
LOW 15
Run the program RCTimeConstantWithPhotoresistor.bs2.
Cover and uncover the photoresistor with your hand, and observe the discharge
time extending or contracting. You may need to adjust the Horizontal dial to best
display the waveform. The Debug Terminal will display the discharge time in
milliseconds.
VAR
CH1
CH2
Horizontal Dial
Trigger Source
Trigger Edge
Trigger Mode
Run / Stop Mode
Trigger Voltage
Word
2 V / division
Off
10-20 ms / division
Channel 1
Rising
Auto
Continuous
2 V
' 5 V on P0
' 5 V to capacitor for charge curve
' time for capacitor to fully charge
Figure 4-11:
Configuration for
OPTAscope to
measure R/C
curves

Related parts for 28119