Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
b2) Verify that the circuit generates an output voltage from zero to,
5 k 1 (1 / 2) 4
Vmax Vref
10 k 1 (1 / 2)
15
Vmax Vref
16
Vref = 5 Volt
MSB 23 10k, 1%
i3
5k, 1%
20k, 2%
22 If
i2 VCC
- Vout
40k, 4% i1 If + Analog
21 LM358AP
-VCC output
i0
80k, 8%
LSB 20
Digital input
e) Make a table of the digital inputs in one column and the corresponding output voltage in
another column, and verify if the obtained experimental values correspond with the
predicted ones.
2i i i /2 i /4 i /8
VREF vin
R= 50k
= 5 Volts R R R 2R
2R 2R 2R 2R
50 k
If
VCC
- Vout
3 2 1 0 +
2 2 2 2 LM358AP Analog
output
MSB LSB -VCC
Fig. 2 Four-bit DAC.