SlideShare a Scribd company logo
Adc interfacing






In the Real World, a sensor senses any
physical parameter and converts into an
equivalent analog electrical signal.
For efficient and ease of signal processing,
this analog signal is converted into a digital
signal using an Analog to Digital Converter
(ADC).
This digital signal is then fed to
the Microcontroller (MCU) and is processed
accordingly.
Adc interfacing
Adc interfacing
Atmega8
provides 10
Bit Resolution
for ADC










The ADC of the AVR converts analog signal
into digital signal at some regular interval
Determined by the clock frequency
ADC operates within a frequency range of
50kHz to 200kHz
But CPU clock frequency is much higher (in
the order of MHz)
Frequency division must take place
The prescaler acts as this division factor








Out of the 50kHz-200kHz range of
frequencies, which one do we need?
There is a trade-off between frequency and
accuracy
Greater the frequency, lesser the accuracy
and vice-versa
So, if your application is not sophisticated
and doesn’t require much accuracy, you
could go for higher frequencies
1. ADMUX – ADC Multiplexer
Selection Register
Adc interfacing
Adc interfacing
Adc interfacing
Adc interfacing







Bit 7 – ADEN – ADC Enable
Bit 6 – ADSC – ADC Start Conversion
Bit 5 – ADFR – ADC Free Running Select
Bit 4 – ADIF – ADC Interrupt Flag
Bit 3 – ADIE – ADC Interrupt Enable
Bits 2:0 – ADPS2:0 – ADC Prescaler Select Bits
Adc interfacing
Adc interfacing

More Related Content

PPT
Interfacing adc
PDF
ADC Interfacing with pic Microcontrollert
PPTX
Digital to Analog Converter by LDCE students
PPTX
Analog to Digital Converters
PPTX
Pic ppt 13104022(4th_year)
PPTX
Digital object counter (group 12)
PDF
8051 interfacing
DOCX
Object counter
Interfacing adc
ADC Interfacing with pic Microcontrollert
Digital to Analog Converter by LDCE students
Analog to Digital Converters
Pic ppt 13104022(4th_year)
Digital object counter (group 12)
8051 interfacing
Object counter

What's hot (20)

PPTX
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
PPTX
2 Digit Object counter
PPT
DAC-digital to analog converter
PPTX
Power point presenttation seminar
PPTX
Digital voltmeter using 89c51 microcontroller
PPTX
simple ADC Interfacing
PPTX
Concept of Digital measurement, block Diagram & study of Voltmeter
PPTX
basics of temperature data logger (with energia and stellaris)
PPT
PPTX
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
PDF
Construction of digital voltmeter by Bapi Kumar Das
PPTX
Successive approximation adc
PPTX
Successive Approximation ADC
PDF
Temperature control Switch and Display By Led
PPTX
Ad and da convertor
PDF
Analog to digital converter
PPTX
Digital voltmeter (DVM) and its Classification
PDF
Transformer Interfacing with Laptop
PPTX
Digital to-analog and analog-to-digital converter by Md Nazmul Islam
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
2 Digit Object counter
DAC-digital to analog converter
Power point presenttation seminar
Digital voltmeter using 89c51 microcontroller
simple ADC Interfacing
Concept of Digital measurement, block Diagram & study of Voltmeter
basics of temperature data logger (with energia and stellaris)
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
Construction of digital voltmeter by Bapi Kumar Das
Successive approximation adc
Successive Approximation ADC
Temperature control Switch and Display By Led
Ad and da convertor
Analog to digital converter
Digital voltmeter (DVM) and its Classification
Transformer Interfacing with Laptop
Digital to-analog and analog-to-digital converter by Md Nazmul Islam
Ad

Similar to Adc interfacing (20)

PDF
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
PPT
04._sensors_and_actuators.ppt Kassa presentation
PPTX
Interfacing to the analog world
PPT
Analog to digital converters, adc
PPTX
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
PPTX
adcPresentation for microcontrolling process techniq
PPTX
lecture11-analog.pptx
PDF
Types of Actuators and Sensors in Robotics
PPT
Sensors And Actuators
PPTX
STM_ADC para microcontroladores STM32 - Conceptos basicos
PPT
Fundamental of MSD Module-III Part-a.ppt
PPT
PDF
Microcontroller part 6_v1
PPTX
05 analog control_sp15
PDF
Cd00004444 understanding-and-minimising-adc-conversion-errors-stmicroelectronics
PPT
analog to digital conversion FOR ELC.ppt
PPTX
Chap 3. signal processing elemnt part three
PDF
Lecture 12 (adc) rv01
PPT
"Empowering Motion: A Dive into Actuators"
PPTX
AVR_Course_Day6 external hardware interrupts and analogue to digital converter
04._sensors_and_actuators.ppt Kassa presentation
Interfacing to the analog world
Analog to digital converters, adc
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
adcPresentation for microcontrolling process techniq
lecture11-analog.pptx
Types of Actuators and Sensors in Robotics
Sensors And Actuators
STM_ADC para microcontroladores STM32 - Conceptos basicos
Fundamental of MSD Module-III Part-a.ppt
Microcontroller part 6_v1
05 analog control_sp15
Cd00004444 understanding-and-minimising-adc-conversion-errors-stmicroelectronics
analog to digital conversion FOR ELC.ppt
Chap 3. signal processing elemnt part three
Lecture 12 (adc) rv01
"Empowering Motion: A Dive into Actuators"
Ad

Recently uploaded (20)

PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
Lesson notes of climatology university.
PDF
Computing-Curriculum for Schools in Ghana
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Cell Types and Its function , kingdom of life
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Trump Administration's workforce development strategy
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Lesson notes of climatology university.
Computing-Curriculum for Schools in Ghana
202450812 BayCHI UCSC-SV 20250812 v17.pptx
human mycosis Human fungal infections are called human mycosis..pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
GDM (1) (1).pptx small presentation for students
Cell Types and Its function , kingdom of life
Final Presentation General Medicine 03-08-2024.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
RMMM.pdf make it easy to upload and study
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
O7-L3 Supply Chain Operations - ICLT Program
Anesthesia in Laparoscopic Surgery in India
A systematic review of self-coping strategies used by university students to ...
Trump Administration's workforce development strategy
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

Adc interfacing

  • 2.    In the Real World, a sensor senses any physical parameter and converts into an equivalent analog electrical signal. For efficient and ease of signal processing, this analog signal is converted into a digital signal using an Analog to Digital Converter (ADC). This digital signal is then fed to the Microcontroller (MCU) and is processed accordingly.
  • 6.       The ADC of the AVR converts analog signal into digital signal at some regular interval Determined by the clock frequency ADC operates within a frequency range of 50kHz to 200kHz But CPU clock frequency is much higher (in the order of MHz) Frequency division must take place The prescaler acts as this division factor
  • 7.     Out of the 50kHz-200kHz range of frequencies, which one do we need? There is a trade-off between frequency and accuracy Greater the frequency, lesser the accuracy and vice-versa So, if your application is not sophisticated and doesn’t require much accuracy, you could go for higher frequencies
  • 8. 1. ADMUX – ADC Multiplexer Selection Register
  • 13.       Bit 7 – ADEN – ADC Enable Bit 6 – ADSC – ADC Start Conversion Bit 5 – ADFR – ADC Free Running Select Bit 4 – ADIF – ADC Interrupt Flag Bit 3 – ADIE – ADC Interrupt Enable Bits 2:0 – ADPS2:0 – ADC Prescaler Select Bits