• Home
  • Textbooks
  • AVR Microcontroller And Embedded Systems
  • ADC, DAC, and Sensor Interfacing

AVR Microcontroller And Embedded Systems

Muhammad Ali Mazidi, Sarmad Naimi and Sepehr Naimi

Chapter 13

ADC, DAC, and Sensor Interfacing - all with Video Answers

Educators


Chapter Questions

02:13

Problem 1

True or false. The output of most sensors is analog.

Narayan Hari
Narayan Hari
Numerade Educator
00:37

Problem 2

True or false. A 10-bit ADC has 10-bit digital output.

Rick Faulk
Rick Faulk
Numerade Educator
01:12

Problem 3

True or false. $A D C 0848$ is an 8-bit $A D C$.

Yujie Wang
Yujie Wang
College of San Mateo
00:37

Problem 4

True or false. MAX1112 is a 10-bit ADC.

Rick Faulk
Rick Faulk
Numerade Educator
03:12

Problem 5

True or false. An ADC with 8 channels of analog input must have 8 pins, one for each analog input.

Matthew Bradley
Matthew Bradley
Numerade Educator
02:13

Problem 6

True or false. For a serial $A D C$, it takes a longer time to get the converted digital data out of the chip.

Narayan Hari
Narayan Hari
Numerade Educator
00:17

Problem 7

True or false. ADC0848 has 4 channels of analog input.

Natalie Anderson
Natalie Anderson
Numerade Educator
01:06

Problem 8

True or false. MAX 1112 has 8 channels of analog input.

Manisha Sarker
Manisha Sarker
Numerade Educator
02:13

Problem 9

True or false. ADC0848 is a serial ADC.

Narayan Hari
Narayan Hari
Numerade Educator
00:49

Problem 10

True or false. MAX 1112 is a parallel ADC.

Heather Zimmers
Heather Zimmers
Numerade Educator
01:18

Problem 11

Which of the following ADC sizes provides the best resolution?
$\begin{array}{lllll}\text { (a) 8-bit } & \text { (b) 10-bit } & \text { (c) 12-bit } & \text { (d) 16-bit } & \text { (e) They are all the same. }\end{array}$

James Kiss
James Kiss
Numerade Educator
01:39

Problem 12

In Question 11, which provides the smallest step size?

Rick Faulk
Rick Faulk
Numerade Educator
01:43

Problem 13

Calculate the step size for the following $\mathrm{ADCs}$, if $\mathrm{V}_{\text {ref }}$ is $5 \mathrm{~V}$ :
(a) 8-bit
(b) 10-bit (c) 12-bit
(d) 16-bit

Aaron Goree
Aaron Goree
Numerade Educator
01:40

Problem 14

With $\mathrm{V}_{\text {ref }}=1.28 \mathrm{~V}$, find the $\mathrm{V}_{\text {in }}$ for the following outputs:
(a) D7-D0 = 11111111
(b) D7-D0 $=10011001$
(c) D7-D0 $=1101100$

ES
Ellie Sun
Numerade Educator
02:41

Problem 15

In the $\mathrm{ADC} 0848$, what should the $\mathrm{V}_{\text {ref }}$ value be if we want a step size of $5 \mathrm{mV}$ ?

Vishal Gupta
Vishal Gupta
Numerade Educator
01:33

Problem 16

With $\mathrm{V}_{\mathrm{ref}}=2.56 \mathrm{~V}$, find the $\mathrm{V}_{\text {in }}$ for the following outputs:
(a) $\mathrm{D} 7-\mathrm{D} 0=11111111$
(b) D7-D0 $=10011001$
(c) D7-D0 $=01101100$

Narayan Hari
Narayan Hari
Numerade Educator
02:13

Problem 17

True or false. The ATmega32 has an on-chip A/D converter.

Narayan Hari
Narayan Hari
Numerade Educator
01:03

Problem 18

True or false. A/D of the ATmega32 is an 8-bit ADC.

Kian Manafi
Kian Manafi
Numerade Educator
01:06

Problem 19

True or false. ATmega32 has 8 channels of analog input.

Manisha Sarker
Manisha Sarker
Numerade Educator
01:25

Problem 20

True or false. The unused analog pins of the ATmega32 can be used for $\mathrm{I} / \mathrm{O}$ pins.

AG
Ankit Gupta
Numerade Educator
00:42

Problem 21

True or false. The A/D conversion speed in the ATmega32 depends on the crystal frequency.

Aadit Sharma
Aadit Sharma
Numerade Educator
01:03

Problem 22

True or false. Upon power-on reset, the A/D module of the ATmega32 is turned on and ready to go.

Kian Manafi
Kian Manafi
Numerade Educator
00:54

Problem 23

True or false. The A/D module of the ATmega32 has an external pin for the start-conversion signal.

Lucas Finney
Lucas Finney
Numerade Educator
00:13

Problem 24

True or false. The A/D module of the ATmega32 can convert only one channel at a time.

Sam Limsuwannarot
Sam Limsuwannarot
Numerade Educator
01:12

Problem 25

True or false. The A/D module of the ATmega32 can have multiple external $\mathrm{V}_{\text {ref }}{ }^{+}$at any given time.

Dwijendra Rao
Dwijendra Rao
Numerade Educator
00:43

Problem 26

True or false. The A/D module of the ATmega32 can use the $V_{c c}$ for $V_{\text {ref }}$.

Yiming Zhang
Yiming Zhang
Numerade Educator
02:18

Problem 27

In the A/D of ATmega32, what happens to the converted analog data? How do we know that the $\mathrm{ADC}$ is ready to provide us the data?

MH
Malya Arula Halimun
Numerade Educator
02:33

Problem 28

In the A/D of ATmega32, what happens to the old data if we start conversion again before we pick up the last data?

Shelby Mohamed
Shelby Mohamed
Numerade Educator
01:18

Problem 29

For the A/D of ATmega32, find the step size for each of the following $V_{\text {ref }}$ :
(a) $\mathrm{V}_{\text {ref }}=1.024 \mathrm{~V}$
(b) $\mathrm{V}_{\text {ref }}=2.048 \mathrm{~V}$
(c) $\mathrm{V}_{\text {ref }}=2.56 \mathrm{~V}$

James Kiss
James Kiss
Numerade Educator
02:47

Problem 30

In the ATmega32, what should the $V_{\text {ref }}$ value be if we want a step size of 2 $\mathrm{mV}$ ?

Suzanne W.
Suzanne W.
Numerade Educator
03:26

Problem 31

In the ATmega32, what should the $V_{\text {ref }}$ value be if we want a step size of 3 $\mathrm{mV}$ ?

Jheremiah Simon
Jheremiah Simon
Numerade Educator
02:29

Problem 32

With a step size of $1 \mathrm{mV}$, what is the analog input voltage if all outputs are 1 ?

Nikhil Kumar Rajpurohit
Nikhil Kumar Rajpurohit
Numerade Educator
00:42

Problem 33

With $\mathrm{V}_{\text {ref }}=1.024 \mathrm{~V}$, find the $\mathrm{V}_{\text {in }}$ for the following outputs:
(a) D9-D0 $=0011111111$ (b) D9-D0 $=0010011000$ (c) D9-D0 $=0011010000$

Lily An
Lily An
Numerade Educator
01:21

Problem 34

In the $\mathrm{A} / \mathrm{D}$ of ATmega32, what should the $\mathrm{V}_{\text {ref }}$ value be if we want a step size of $4 \mathrm{mV}$ ?

Guilherme Barros
Guilherme Barros
Numerade Educator
04:42

Problem 35

With $\mathrm{V}_{\text {ref }}=2.56 \mathrm{~V}$, find the $\mathrm{V}_{\text {in }}$ for the following outputs:
(a) D9-D0 = 1111111111 (b) D9-D0 $=1000000001$ (c) D9-D0 $=1100110000$

Eduard Sanchez
Eduard Sanchez
Numerade Educator
01:18

Problem 36

Find the first conversion times for the following cases if $\mathrm{XTAL}=8 \mathrm{MHz}$. Are they acceptable?
(a) Fosc/2
$\begin{array}{ll}\text { (b) Fosc/4 } & \text { (c) Fosc/8 }\end{array}$
(d) Fosc/16
(e) Fosc/32

James Kiss
James Kiss
Numerade Educator
01:18

Problem 37

Find the first conversion times for the following cases if $\mathrm{XTAL}=4 \mathrm{MHz}$. Are they acceptable?
(a) Fosc/8
(b) Fosc $/ 16$
(c) $\operatorname{Fosc} / 32$
(d) Fosc/64

James Kiss
James Kiss
Numerade Educator
08:06

Problem 38

How do we start conversion in the ATmega32?

Brittany Carnathan
Brittany Carnathan
Numerade Educator
01:53

Problem 39

How do we recognize the end of conversion in the ATmega32?

Thomas Harr
Thomas Harr
Numerade Educator
01:29

Problem 40

Which bits of which register of the ATmega32 are used to select the A/D's conversion speed?

James Kiss
James Kiss
Numerade Educator
00:53

Problem 41

Which bits of which register of the ATmega32 are used to select the analog channel to be converted?

James Kiss
James Kiss
Numerade Educator
03:44

Problem 42

Give the names of the interrupt flags for the A/D of the ATmega32. State to which register they belong.

Shelby Mohamed
Shelby Mohamed
Numerade Educator
01:23

Problem 43

Upon power-on reset, the $\mathrm{A} / \mathrm{D}$ of the ATmega32 is given (on, off).

Mahipal Kumawat
Mahipal Kumawat
Numerade Educator
01:05

Problem 44

What does it mean when a given sensor is said to have a linear output?

Carson Merrill
Carson Merrill
Numerade Educator
02:22

Problem 45

The LM34 sensor produces $\mathrm{mV}$ for each degree of temperature.

Prabhu Ramji
Prabhu Ramji
Numerade Educator
01:01

Problem 46

What is signal conditioning?

Sanchit Jain
Sanchit Jain
Numerade Educator
00:59

Problem 47

True or false. DAC0808 is the same as DAC1408.

Alkendra Singh
Alkendra Singh
Numerade Educator
01:11

Problem 48

Find the number of discrete voltages provided by the $n$-bit DAC for the following:
(a) $n=8$ (b) $n=10$ (c) $n=12$

Kajal Gautam
Kajal Gautam
Numerade Educator
01:35

Problem 49

For DAC1408, if $\mathrm{I}_{\mathrm{ref}}=2 \mathrm{~mA}$, show how to get the $\mathrm{I}_{\mathrm{out}}$ of $1.99$ when all inputs are HIGH.

Doruk Isik
Doruk Isik
Numerade Educator
01:47

Problem 50

Find the $\mathrm{I}_{\mathrm{out}}$ for the following inputs. Assume $\mathrm{I}_{\mathrm{ref}}=2 \mathrm{~mA}$ for DAC0808.
(a) 10011001
(b) 11001100
(c) 11101110
(d) 00100010
(e) 00001001
(f) 10001000

Khoobchandra Agrawal
Khoobchandra Agrawal
Numerade Educator
02:23

Problem 51

To get a smaller step, we need a DAC with (more, fewer) digital inputs.

Narayan Hari
Narayan Hari
Numerade Educator
01:55

Problem 52

To get full-scale output, what should be the inputs for DAC?

Nikhil Kumar Rajpurohit
Nikhil Kumar Rajpurohit
Numerade Educator