28129 Parallax Inc, 28129 Datasheet - Page 74

TEXT BASIC ANALOG & DIGITAL

28129

Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

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
Questions
Challenge!
1. In your own words, explain the function of an A/D converter.
2. What would be the resolution if you were to use a 16-bit A/D converter in this
3. How does the voltage divider equation relate to the wiper terminal of the pot?
4. How do the measurements taken at the wiper terminal of the pot in this
5. Given the resolution of our 8 bit A/D converter, when the voltage on the pot is
1. Use another jumper wire to connect the wiper terminal of the pot to an unused
2. Write a program that will monitor the analog value of the 100 kΩ potentiometer,
3. Write a program and build a circuit that creates a “safety zone” between 1.0 volts
4. Draw the complete schematic for Challenge #3, and modify the program so that
5. Assume the power supply on your board of education supplies 4.960 volts.
experiment?
What would you expect the output to be if the resistors are equal? Can you prove
this?
experiment differ from those taken in Chapter #1? What is gained by using the
ADC0831 for measurements instead of just using a BASIC Stamp I/O pin to
check the voltage?
set to 3.6 volts, what decimal value will be displayed? What’s the binary value?
BASIC Stamp I/O pin. Add a subroutine to the DVM program that monitors the
state of the I/O pin set to input. Determine if the threshold voltage you were
working with in Chapter #1 is indeed 1.4 volts.
and alert you to the fact that it has gone beyond a certain pre-set limit.
and 2.0 volts. If the analog voltage goes outside of these boundaries, an LED
blinks.
the LED is only on when the voltage (as set on the pot) is set on exactly 2.0
volts.
Develop a subroutine to adjust the voltage measurements to this scale.

Related parts for 28129