28129 Parallax Inc, 28129 Datasheet - Page 24
![TEXT BASIC ANALOG & DIGITAL](/photos/6/49/64954/mfg_28129_sml.jpg)
28129
Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet
1.28129.pdf
(176 pages)
Specifications of 28129
Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 24 of 176
- Download datasheet (3Mb)
Page 14 · Basic Analog and Digital
About the Comparator
Using PBASIC, we programmed the BASIC Stamp to function as a comparator. A
comparator is so named because it's a circuit that compares its input voltage to a
particular voltage, also called the threshold voltage. If the input voltage is higher than the
threshold voltage, the comparator sends a high signal at its output. If the input to the
comparator is below the threshold voltage, it sends a low signal.
In the case of our circuit and program, when the analog voltage at pin P7 is below 1.4
volts, the BASIC Stamp sends a low signal (0 volts) at pin P12. When the analog voltage
at pin P7 is above 1.4 volts a high signal (5 volts) is sent from pin P12. As you can see in
the Debug Terminal, the BASIC Stamp interprets analog input below 1.4 volts as low (0)
and input above 1.4 volts as high (1).
Operating a comparator near the threshold voltage is interesting because you can make a
small change in voltage at a BASIC Stamp input pin, say from 1.3 to 1.5 volts, and it
results in a fairly large change, from 0 to 5 volts at the output.
Related parts for 28129
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![30008](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
![70009](/photos/26/92/269208/70009-l_tmb.jpg)
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
![27404](/photos/26/91/269197/27404-l_tmb.jpg)
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
![70016](/photos/8/99/89966/mfg_70016_tmb.jpg)
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
![28135](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
![28023](/photos/9/30/93020/mfg_28023_tmb.jpg)
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
![30010](/photos/9/30/93025/mfg_30010_tmb.jpg)
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
![SX18AC/SO](/images/manufacturer_photos/0/5/515/parallax_inc_tmb.jpg)
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: