SlideShare a Scribd company logo
ADC INTERFACING USING
IC0808/09
PRESENTED BY:
ABRAHAM SIRIL SAM (UR15EC070)
B.TECH ECE DEPARTMENT
KARUNYA UNIVERSITY
ADC INTERFACING USING
IC0808/09
WHAT IS ADC?
*An electronic integrated circuit which
transforms a signal from analog(continuous) to digital(discrete) form.
*Analog Signals are continuous in nature.
*Digital signals are finite in nature & only have two states ON & OFF i.e 0 & 1.
Why we need ADC?
*Microprocessors & Microcontrollers or any digital system can only
perform complex processing on digitized signals.
*When signals are in digital form they are less
susceptible to the deleterious effects of
additive noise.
*ADC Provides a link between the analog world of transducers and
the digital world of signal processing and data handling.
PIN DIAGRAM:
FEATURES OF 0808/0809
 28 PIN DIP
 Resolution-8 bits
 8 INPUT & OUTPUT CHANNELS
 Sample Rate (max) (SPS)-10K SPS
 Successive approximation technique is used in this IC
 High accuracy
 High conversion speed[100ms at 640kHz]
 8-channel multiplexer with latched control logic
 Clock Frequency 10kHz to 1280kHz used clock frequency is 640 KHz
 Latched Tri-state output
 The IC internally consists of COMPAROTOR SAR, DAC etc.
Signal Description of ADC0808
ADC TECHIQUE BY SUCCESSIVE
APPROXIMATION METHOD:
INTERFACING OF ADC0809 WITH 8051
STEP1: FIRST THE CONTROLLER SELECTS A CHANNEL
ADDRESS THROUGH P0.0-P0.2 PORT LINES. THEN PORT 0.3
IS ASSERTED HIGH AND THEN A LOW SIGNAL TO LATCH
ADDRESS IN ADC.
STEP2:THE ADC CONVRSION IS INITIATED BY ASSERTING SOC
AS HIGH AND LOW THROUGH PORT 0.4 PIN.
STEP 3:THEN CONTROLLER KEEPS ON POLLING THE STATUS
OF EOC THROUGH P0.5 TO VERIFY WHETHER IT IS SET TO 1.
STEP4:WHEN THE CONTROLLER FINDS A VALID EOC i.e if
1,THEN IT WILL READ THE DIGITAL VALUE FROM THE OUTPUT
BUFFER BY SENDING A LOGIC HIGH ENABLE SIGNAL THROUGH
P0.6 PIN
ADC INTERFACING WITH 8051:
SUCCESIVE APPROXIMATION METHOD:
 TH IC consists of a successive approximation register (SAR), DAC and
comparator. The output of SAR is given to n-bit DAC. The equivalent analog
output voltage of DAC, VD is applied to the non-inverting input of the
comparator. The second input to the comparator is the unknown analog input
voltage VA. The output of the comparator is used to activate the successive
approximation logic of SAR.
When the start command is applied, the SAR sets the MSB to logic 1 and other
bits are made logic 0, so that the trial code becomes 1000
SUCCESSIVE APPROXIMATION WORKING:
 PLEASE REFER THIS LINK FOR VIDEO ON SUCCESSIVE APPROXIATION
CALCULATION https://www.youtube.com/watch?v=jtb0XXnaYk8
Formula for calculating step size &
digital data output
Step size:
 The step size is the voltage difference between one digital level (i.e. 0001)
and the next one (i.e. 0010 or 0000). For example if an ADC has a step size of
1 Volt an input of 1 volt will produce an output, in a 4 bit converter, of 0001.
0 volts is always considered 0000.
Problems: calculation of Step size & digital
data
ADC APPLICATION:
APPLICATIONS:
 Scanner : When you scan a picture with a scanner , what scanner is doing is an analog
to digital conversion : it is taking the analog information provided by the picture(light)
and converting into digital form
 Recording a voice : When you record your voice or use a VoIP solution on your
computer you r using analog to digital converter to Convert your voice , which is analog
into digital information.

More Related Content

What's hot

8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
Rahul Kumar
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
Sudhanshu Janwadkar
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
SIVA NAGENDRA REDDY
 
8051 ch9-950217
8051 ch9-9502178051 ch9-950217
8051 ch9-950217
Gopal Krishna Murthy C R
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
hello_priti
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
NimeshSingh27
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051
ssuser3a47cb
 
Op amp
Op ampOp amp
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
Dhaval Kaneria
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
Dr.YNM
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
Sudhanshu Janwadkar
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
Anurag Tomar
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Uart
UartUart
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
anishgoel
 
Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programming
Nilesh Bhaskarrao Bahadure
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
Kashyap Mandaliya
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
I2C
I2CI2C

What's hot (20)

8051 Microcontroller ppt
8051 Microcontroller ppt8051 Microcontroller ppt
8051 Microcontroller ppt
 
SPI Bus Protocol
SPI Bus ProtocolSPI Bus Protocol
SPI Bus Protocol
 
Advance Peripheral Bus
Advance Peripheral Bus Advance Peripheral Bus
Advance Peripheral Bus
 
8051 ch9-950217
8051 ch9-9502178051 ch9-950217
8051 ch9-950217
 
Architecture of 8051
Architecture of 8051Architecture of 8051
Architecture of 8051
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
I/O port programming in 8051
I/O port programming in 8051I/O port programming in 8051
I/O port programming in 8051
 
Op amp
Op ampOp amp
Op amp
 
Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)Serial Peripheral Interface(SPI)
Serial Peripheral Interface(SPI)
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
I2C Protocol
I2C ProtocolI2C Protocol
I2C Protocol
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Uart
UartUart
Uart
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Microcontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programmingMicrocontroller pic 16f877 addressing modes instructions and programming
Microcontroller pic 16f877 addressing modes instructions and programming
 
I2C BUS PROTOCOL
I2C BUS PROTOCOLI2C BUS PROTOCOL
I2C BUS PROTOCOL
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
I2C
I2CI2C
I2C
 

Similar to INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER

Lica 7th chapter slides
Lica 7th chapter slidesLica 7th chapter slides
Lica 7th chapter slides
SIVA NAGENDRA REDDY
 
Digital to Analog Converter by LDCE students
Digital to Analog Converter by LDCE studentsDigital to Analog Converter by LDCE students
Digital to Analog Converter by LDCE studentsMitul Lakhani
 
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptxVhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
asolis5
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
Eng Ahmed Salad Osman
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
National Engineering College
 
adcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptxadcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptx
shivraj3252
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]
Guhan k
 
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS TechnologyIRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET Journal
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadavAnil Yadav
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
DrVikasMahor
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
VikasMahor3
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
Anil Yadav
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
daredevil15082004
 
A 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADCA 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADC
QuEST Global (erstwhile NeST Software)
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
Amitabh Shukla
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
Saumya Ranjan Behura
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked Loop
Dr.Raja R
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
Gaurav Rai
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
Maria Roshan
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptx
Manjunathtv2
 

Similar to INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER (20)

Lica 7th chapter slides
Lica 7th chapter slidesLica 7th chapter slides
Lica 7th chapter slides
 
Digital to Analog Converter by LDCE students
Digital to Analog Converter by LDCE studentsDigital to Analog Converter by LDCE students
Digital to Analog Converter by LDCE students
 
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptxVhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
Vhdl-Code-for-Adc0804-Comparator-and-Parity-Generator.pptx
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
adcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptxadcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptx
 
Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]Interfacing technique with 8085- ADC[0808]
Interfacing technique with 8085- ADC[0808]
 
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS TechnologyIRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadav
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
 
A 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADCA 1.2V 10-bit 165MSPS Video ADC
A 1.2V 10-bit 165MSPS Video ADC
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked Loop
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptx
 

INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER

  • 1. ADC INTERFACING USING IC0808/09 PRESENTED BY: ABRAHAM SIRIL SAM (UR15EC070) B.TECH ECE DEPARTMENT KARUNYA UNIVERSITY
  • 2. ADC INTERFACING USING IC0808/09 WHAT IS ADC? *An electronic integrated circuit which transforms a signal from analog(continuous) to digital(discrete) form. *Analog Signals are continuous in nature. *Digital signals are finite in nature & only have two states ON & OFF i.e 0 & 1.
  • 3. Why we need ADC? *Microprocessors & Microcontrollers or any digital system can only perform complex processing on digitized signals. *When signals are in digital form they are less susceptible to the deleterious effects of additive noise. *ADC Provides a link between the analog world of transducers and the digital world of signal processing and data handling.
  • 5. FEATURES OF 0808/0809  28 PIN DIP  Resolution-8 bits  8 INPUT & OUTPUT CHANNELS  Sample Rate (max) (SPS)-10K SPS  Successive approximation technique is used in this IC  High accuracy  High conversion speed[100ms at 640kHz]  8-channel multiplexer with latched control logic  Clock Frequency 10kHz to 1280kHz used clock frequency is 640 KHz  Latched Tri-state output  The IC internally consists of COMPAROTOR SAR, DAC etc.
  • 7. ADC TECHIQUE BY SUCCESSIVE APPROXIMATION METHOD:
  • 8. INTERFACING OF ADC0809 WITH 8051 STEP1: FIRST THE CONTROLLER SELECTS A CHANNEL ADDRESS THROUGH P0.0-P0.2 PORT LINES. THEN PORT 0.3 IS ASSERTED HIGH AND THEN A LOW SIGNAL TO LATCH ADDRESS IN ADC. STEP2:THE ADC CONVRSION IS INITIATED BY ASSERTING SOC AS HIGH AND LOW THROUGH PORT 0.4 PIN. STEP 3:THEN CONTROLLER KEEPS ON POLLING THE STATUS OF EOC THROUGH P0.5 TO VERIFY WHETHER IT IS SET TO 1. STEP4:WHEN THE CONTROLLER FINDS A VALID EOC i.e if 1,THEN IT WILL READ THE DIGITAL VALUE FROM THE OUTPUT BUFFER BY SENDING A LOGIC HIGH ENABLE SIGNAL THROUGH P0.6 PIN
  • 10. SUCCESIVE APPROXIMATION METHOD:  TH IC consists of a successive approximation register (SAR), DAC and comparator. The output of SAR is given to n-bit DAC. The equivalent analog output voltage of DAC, VD is applied to the non-inverting input of the comparator. The second input to the comparator is the unknown analog input voltage VA. The output of the comparator is used to activate the successive approximation logic of SAR. When the start command is applied, the SAR sets the MSB to logic 1 and other bits are made logic 0, so that the trial code becomes 1000
  • 11. SUCCESSIVE APPROXIMATION WORKING:  PLEASE REFER THIS LINK FOR VIDEO ON SUCCESSIVE APPROXIATION CALCULATION https://www.youtube.com/watch?v=jtb0XXnaYk8
  • 12. Formula for calculating step size & digital data output
  • 13. Step size:  The step size is the voltage difference between one digital level (i.e. 0001) and the next one (i.e. 0010 or 0000). For example if an ADC has a step size of 1 Volt an input of 1 volt will produce an output, in a 4 bit converter, of 0001. 0 volts is always considered 0000.
  • 14. Problems: calculation of Step size & digital data
  • 16. APPLICATIONS:  Scanner : When you scan a picture with a scanner , what scanner is doing is an analog to digital conversion : it is taking the analog information provided by the picture(light) and converting into digital form  Recording a voice : When you record your voice or use a VoIP solution on your computer you r using analog to digital converter to Convert your voice , which is analog into digital information.