27220 Parallax Inc, 27220 Datasheet - Page 133

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
Moving Forward · Page 123
EXPERIMENT #21: ANALOG INPUT WITH PULSIN
This experiment demonstrates the ability to measure a resistive element using
PUSLIN and common oscillator circuit.
Building the Circuit
Note: The 0.01 µF capacitor is marked: 103.
Program: SW21-EX21-Analog_In.BS2
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Program Description ]---------------------------------------------
'
' This program "reads" an analog value by using that component to control
' the output frequency of a 555-based oscillator.
PULSIN is used to
' measure the high portion of the signal as it is controlled by the
' variable resistance.
' -----[ I/O Definitions ]-------------------------------------------------

Related parts for 27220