27220 Parallax Inc, 27220 Datasheet - Page 216

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
Page 206 · StampWorks
EXPERIMENT #35: (BONUS) BS2PX ADC
This experiment takes advantage of the comparator feature available in the BS2px
microcontroller.
By applying a known voltage (using PWM) to one side of the
comparator it can be used to determine an unknown voltage on the other input.
Look It Up: PBASIC Elements to Know
COMPARE (BS2px only)
Building the Circuit
Program: SW21-EX35-BS2px-ADC.BPX
' {$STAMP BS2px}
' {$PBASIC 2.5}
' -----[ Program Description ]---------------------------------------------
'
' Creates a simple 8-bit ADC with the BS2px using the internal comparator.

Related parts for 27220