27220 Parallax Inc, 27220 Datasheet - Page 166

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
EXPERIMENT #28: VOLTAGE MEASUREMENT
This experiment demonstrates the use of the popular ADC0831 analog-to-digital
converter IC to read a variable voltage input
Look It Up: PBASIC Elements to Know
Building the Circuit
Program: SW21-EX28-ADC0831-Simple.BS2
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Program Description ]---------------------------------------------
'
' This program demonstrates reading a variable voltage with an ADC0831
' analog-to-digital converter chip. This program uses a Vref input of
' 5.000 volts (Vdd) for a bit resolution of 19.6 millivolts.
' -----[ I/O Definitions ]-------------------------------------------------
CS
Clock
MSBPOST (used with SHIFTIN)
PIN
PIN
0
1
' chip select (ADC0831.1)
' clock (ADC0831.7)

Related parts for 27220