Funktionsweise
Für den ADC Konderter werdendet man Vref = ±2.5 V
Für Vin = 1V bekommt man einen bitstream Ausgang: 1011_1011_0110_1110.
Was stellt dieser bitstream Ausgang dar???
Mal sehen:
Total of pulses = 16
Total of ones = 11
Vout » (total of ones) / (total of pulses) * (vref+ - vref-) - | vref- |
Vout » 11/16 * (2.5 - -2.5) - | -2.5 |
Vout » 11/16 * 5 - 2.5
Vout » 0.9375V ( » 1V )
Je mehr Tasten desto besser Vout ® Vin.