



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




The real world is analog. Interfacing a microprocessor-based system to real-world devices often requires conversion between the microprocessor’s digital representation of values to an analog representation. We will focus on conversions to and from analog voltages; converting from electrical signals to other signals is the domain of sensors (e.g., thermistors) and transducers (e.g., speakers).
11
10
01
00 Vref Vref 4
0 Vref 2
3Vref 4 Input Voltage
Output Code
Vref
2-to- decoder
Vout
Din[2]
Vref
Iout
Vref
Vin
priority encoder
Vcc 0
Dout[2]
successive approximation register
Vin
control
Dout
n
Vref