Adc Dac and Sensors for Avr
-
Upload
vipul-mishra -
Category
Documents
-
view
249 -
download
0
Transcript of Adc Dac and Sensors for Avr
-
7/23/2019 Adc Dac and Sensors for Avr
1/18
ADC, DAC and SENSOINTERFACING IN AVRMICROCONTROLLER
-
7/23/2019 Adc Dac and Sensors for Avr
2/18
TOPICS
What is ADC and why do we need it?
ADC Major Characteristics.
ADC in AVR.
Hardware Consideration.
AVR ADC Programming
ADCH and ADCL
ADMUX
ADCRA
DAC.
igna! Conditioning and ensors.
-
7/23/2019 Adc Dac and Sensors for Avr
3/18
What is ADC and Why Do We Nee
We!!" a!! the info!ation in ea" wor!d is #rin ana"o# fo!" $%t a microcontro!!er is a d#rocessing de&ice which can #rocess on!y disigna!s hence" there is a need to con&ertin'ormation #resent in ana!og 'orm to its
corres#onding digita! 'orm. (his #%r#ose is s$y ADC )ana!og to digita! con&erter*.
(he in'ormation 'rom the rea! wor!d is sensede&ice ca!!ed as +,-R.
(here are dierent ty#e o' sensors a&ai!a$!e
-
7/23/2019 Adc Dac and Sensors for Avr
4/18
&LOC' DIAGRAM fo A(DCon)esion*
The a+o)e Fi#%e e$esents a Mioonto""eonnetion to senso )ia an ADC*
This is an - &it ADC +"o. dia#a!*
-
7/23/2019 Adc Dac and Sensors for Avr
5/18
A(D Wo.in#
(he ADC con&erts an ana!ogin#%t &o!tage to a /01$it dig&a!%e thro%gh s%ccessi&e
a##ro2imation.
(he minim%m &a!%e re#rese
3,D and the ma2im%m &a!%
-
7/23/2019 Adc Dac and Sensors for Avr
6/18
ADC Ma/o Chaateist
Con&ersion (imeReso!%tion
Para!!e! &s eria!
6n#%t Channe!s
Ste$ Si0e
-
7/23/2019 Adc Dac and Sensors for Avr
7/18
ADC Si#na"s In Gene
Stat of
Con)esion
Channe" Se"eto
-
7/23/2019 Adc Dac and Sensors for Avr
8/18
ADC In AVR
At!e#a 12(34 ha)e intena" A
- ana"o#%e in$%t hanne"
5 di6eentia" in$%t hanne"
4 di6eentia" in$%t hanne"7ith 189 o 4889 #ain
3 so%e of
Intena" eneato
-
7/23/2019 Adc Dac and Sensors for Avr
9/18
:ad7ae Consideatio
-
7/23/2019 Adc Dac and Sensors for Avr
10/18
ADC: and ADCL Data e#is
ADCH8ADCL store the res%!ts o
(he /0 $it res%!t can $e right
-
7/23/2019 Adc Dac and Sensors for Avr
11/18
ADM;< =;se S"idesho7 To Vie
-
7/23/2019 Adc Dac and Sensors for Avr
12/18
ADCSA
-
7/23/2019 Adc Dac and Sensors for Avr
13/18
ADC Pesa"a =;se S"idesho7 To Vie7
Preca!er 5its !et %s change the c!oc: 're;%ency o' AD
(he 're;%ency o' ADC sho%!d not $e more than
-
7/23/2019 Adc Dac and Sensors for Avr
14/18
Po#a!!in# The ADC
/. Ma:e the #in 'or the se!ected ADC channe! an in#%t #in.
-
7/23/2019 Adc Dac and Sensors for Avr
15/18
DAC Di#ita" To Ana"o# Con)et
What is DAC ?
How to connect an DAC to AVR?
-
7/23/2019 Adc Dac and Sensors for Avr
16/18
Si#na" Conditionin#
The!o o%$"e $o)ides te!$ in
fo! of %V
PT188 $o)ides te!$ in fo! ofesistane
So!e h%!idity senso $o)ide the
es%"t in fo! of Ca$aitane
@ We ha)e to han#e these si#na"sto Vo"ta#e to on)et it +y ADC
This /o+ is a""ed si#na"onditionin#*
-
7/23/2019 Adc Dac and Sensors for Avr
17/18
Senso Intefain#
-
7/23/2019 Adc Dac and Sensors for Avr
18/18
Than.
Bo%