Answer a)
First some explanation:
For an 8-bit ADC, the minimum out number is 00000000 Binary and the maximum is 1111 1111 Binary (i.e. 255 decimal or FF hex). Therefore the equation that relates the ADC output to voltage input is:
Output_number = (255/3) (Vin-1) (You can verify this by putting in the two extreme values of Vin, that is 4V and 1V)
Therefore for Vin =2V, we have
Output_number =(255/3)*(2-1) = 255/3 = 85 decimal or 55 Hex
Answer b) For this 5-bit ADC the input-output relationship is
Output_number=(31/5)*Vin (the max. value in 5-bits is 11111 binary of 31 decimal)
Therefore the input voltage for an output of 12
12 = (31/5)*Vin
Vin = 60/31 = 1.935 volts
Answer c) For this 6-bit ADC the input-output relation is
output_number = (63/(VrefH - VerfL)) *(Vin-VrefL)
Substituting the given values we get
26 = (63/(VrefH-2))*(2.4-2)
0.4/(VrefH-2) = 26/63
VrefH-2 = 0.4*63/26 = 0.97
Therefore VrefH = 2.97 volts or almost 3V
Answer d)
ADATE is ADC Auto Trigger Enable bit. If we set it to 1 then auto-triggering of ADC is enabled.
The three lower-most bits of ADCSRB select the auto-trigger source as shown below. If ADCSRB is unchanged then ADC is in free-running mode, that is it will start the next conversion on its own after one conversion is over.
Hope this helps.
1. (3 points) Review the conceptual operation of an ADC and use the given parameters to...
(a) We have an analogue to digital converter (ADC) described as
8 bit, with a 3V reference and 0V offset. What is the resolution,
expressed in millivolts? [2]
(b) For an input voltage of 0.6V, what is the digital output
value of the ADC described in (a)? Express your answer in both
binary and hexadecimal. [3]
(c) An industrial oven has a thermometer that outputs a voltage
from 0 to 1V for a corresponding range of temperatures of 0 to...