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.

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

  • 1.
    ADC INTERFACING USING IC0808/09 PRESENTEDBY: ABRAHAM SIRIL SAM (UR15EC070) B.TECH ECE DEPARTMENT KARUNYA UNIVERSITY
  • 2.
    ADC INTERFACING USING IC0808/09 WHATIS 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 needADC? *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.
  • 4.
  • 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.
  • 6.
  • 7.
    ADC TECHIQUE BYSUCCESSIVE APPROXIMATION METHOD:
  • 8.
    INTERFACING OF ADC0809WITH 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
  • 9.
  • 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 calculatingstep size & digital data output
  • 13.
    Step size:  Thestep 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 ofStep size & digital data
  • 15.
  • 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.