28128 Parallax Inc, 28128 Datasheet - Page 85

no-image

28128

Manufacturer Part Number
28128
Description
KIT BASIC ANALOG/DIGI PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28128

Accessory Type
ADC, DAC
Product
Microcontroller Accessories
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Modify the Code
If the D/A converter works as we expect, each time the value of
the D/A output should increment by 0.2 volts. Try starting with n=0 by modifying the
value of
Then run the program again with n=1.
Then change n to 2 and run the program a third time.
Continue for each value up to
Figure 4-4 shows a sample measurement of a resistive ladder D/A conversion with the
value of
Chapter #3, we were interested in programming our DVM for accurate calculations to the
nearest hundredth of a volt. In this experiment, anything within 10% of the expected
value is fine. So your end output when
volts. If the errors are larger than that, double check to make sure that a 1k
didn’t get swapped with a 2k somewhere in the resistive ladder.
n = 0
n = 1
n = 2
n
n
in the
set to 15. Remember that the 10% resistors lead to some error in the output. In
DAC
subroutine.
n=15.
n=15
might be as low as 2.7 volts or as high as 3.3
n
is incremented by 1,
'
'
'
resistor

Related parts for 28128