Question

In: Electrical Engineering

Consider a 12-bit ADC with an analog input voltage range of 0 to 3 volts. a)...

Consider a 12-bit ADC with an analog input voltage range of 0 to 3 volts.

a) Compute the ADC precision, ADC ranges for input and output, and ADC resolution.

b) What is the binary value computed by the ADC for an analog input voltage of 1.0 volt?

c) Write an ADC0_In function in C that uses busy-wait synchronization to sample the ADC. The function reads the ADC output, and returns the 12-bit binary number. Assume the ADC has already been initialized to use sequencer 3 with a software trigger and channel 1. See supplement pages for ADC registers.

Solutions

Expert Solution


Related Solutions

334) An Arduino analog input voltage is 4.320 volts. The Arduino PWM output pin drives a...
334) An Arduino analog input voltage is 4.320 volts. The Arduino PWM output pin drives a low-pass filter, which converts the PWM signal back to an average-DC voltage. Arduino specifications include: I/O voltage ranges of 0 to 5VDC; 10-bit A/D; and 8-bit D/A PWM output. The analog voltage DC input results in an analog output DC volage at the low-pass filter. Determine (Vout - Vin). Arduino functions include: analogRead(), map(), and analogWrite(). The analogRead() and map() use integer I/O.
1. Calculate the step values for the following ADC bit sizes over a range of 0...
1. Calculate the step values for the following ADC bit sizes over a range of 0 to 3.3v. a.4 Bit b.8 Bit c.10 Bit d.12 Bit 2.Calculate the step size for 4, 8, 10, and 12 Bit analog to digital conversation of the temperature sensor with a range of 90 to 100 degrees fahrenheit. 3.Identify the minimum ADC bit size that is needed to convert the temperature with one tenth of a degree accuracy.
2. A digital signal processing system with analog audio signal input in the range of 0-20...
2. A digital signal processing system with analog audio signal input in the range of 0-20 Khz uses oversampling techniques and a second order sigma delta modulator to convert the analog signal into a digital bit stream at a rate of 3.072 Mhz. i) Explain how the digital bit stream may be converted in to a digital multibit stream for x(n). ii) Determine the overall improvement in signal to quantization noise ratio made possible by oversampling and noise shaping and...
Analog-to-Digital convertor, modified. Assume that you have a 12-bit A/D converter that can digitize an analog...
Analog-to-Digital convertor, modified. Assume that you have a 12-bit A/D converter that can digitize an analog voltage over the range of 0.00 Volts to + 3.30 Volts (just like the one in the TM4C123G). (a) What is the minimum voltage that an analog input voltage could change and be guaranteed to be detected by a change in the digital output value? E.g. in millivolts or microvolts. (b) What is the binary number that represents an analog voltage of +1.11 volts?...
Consider 2-bit input functions that has either constant output (0 or 1) or balanced output (the...
Consider 2-bit input functions that has either constant output (0 or 1) or balanced output (the number of {0,1} outputs are equal to each other). First a class is selected with1/2 probability and then one of the functions that belong to the chosen class is selected uniform randomly. We would like to guess the class of the function with minimum function evaluations. • What is the average number of guesses before we identify the chosen class using classical bits? •...
Determine the coding efficiency of PCM max analog input f=4KHz, max decoded voltage at receiver =±4V,...
Determine the coding efficiency of PCM max analog input f=4KHz, max decoded voltage at receiver =±4V, Minimum dynamic range of 80Db
Suppose you have an 8-bit A/D converter that has a full-scale input range of ︎2V to...
Suppose you have an 8-bit A/D converter that has a full-scale input range of ︎2V to ︎6V. When a particular voltage is applied, the computer records the hex number B3. Assuming a perfect calibration, answer the following questions: - What output voltage does this value correspond to? - What is the digitization (quantization) error in the voltage? - By how much percent would this error change if 12 bits were used to approximate the output instead of 8 bits? PLEASE...
Consider the following program specification: Input: An integer n > 0 and an array A[0..(n –...
Consider the following program specification: Input: An integer n > 0 and an array A[0..(n – 1)] of n integers. Output: The largest index b such that A[b] is the largest value in A[0..(n – 1)]. For example, if n = 10 and A = [ 4, 8, 1, 3, 8, 5, 4, 7, 1, 2 ] (so A[0] = 4, A[1] = 8, etc.), then the program would return 4, since the largest value in A is 8 and...
Construct an array of 1000 random integers within range [0, 100] An input file input.txt is...
Construct an array of 1000 random integers within range [0, 100] An input file input.txt is provide. Each line of input.txt is a query integer that you need to check how many of that number is in your random integer array. For each query integer, fork a new child process to do the counting. The output is for each input query, output the count and child process id. For example: $> query: 13    count: 5    pid: 13342 $> query: 22   ...
Consider the following data: quantity total cost total revenue 0 3 0 1 9 12 2...
Consider the following data: quantity total cost total revenue 0 3 0 1 9 12 2 16 24 3 24 36 4 33 48 5 45 60 6 58 72 7 74 84 a. Calculate the profit for each quantity. How many units should this firm produce to maximize profit? b. Calculate MR for each quantity. Calculate MC for each quantity. Does the profit-maximizing formula support your answer from part a? c. Is this firm perfectly competitive? How do you...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT