Professional Documents
Culture Documents
2.3 Analog To Digital Converter - Adc (0804)
2.3 Analog To Digital Converter - Adc (0804)
Analog to digital converters are among the most widely used devices for data
acquisition. Digital computers use binary values, but in physical world everything is analog.
Temperature, pressure, humidity, are a few examples of physical quantities that we deal with every
day. A physical quantity is converted to electrical signals using a device called a transducer.
Transducers are also referred to as sensors. Sensors for temperature, velocity, pressure, light, and
many other natural quantities produce an output that is voltage (or current). Therefore, we need an
analog to digital converter to translate analog signals to digital numbers so that microcontroller
can read and process them. An ADC has n-bit resolution where n can be 8,10,12,16 or even 24
bits. The higher resolution ADC provides smaller step size, where step size is the smallest change
that can be discerned by an ADC. In addition to resolution, converter time is another major factor
in judging an ADC. Conversion time is defined as the time it takes the ADC to convert the analog
input to digital number. Commonly used ADC device ADC804
ADC0804 CHIP:
The ADC0804 IC is an 8 bit parallel ADC in the family of the ADC0800 series.
In ADC0804, the conversion time varies depending on the clocking signals applied to the CLK IN
pin, but it cannot be faster than 110micro seconds.
Pin diagram:
10
• CS – Chip Select , active low
• RD – Read Digital data from ADC, H-L edge triggered
• WR -- Start conversion, L-H pulse edge triggered
• INTR -- end of conversion, Goes low to indicate conversion done
• Data bits -- D0-D7
• CLK IN & CLK R
– CLK IN is an input pin connected to an external clock source when an external clock is used
for timing. However, ADC804 has an internal clock
generator.
To use the internal clock generator of the ADC804, the CLK IN and CLK R pins are connected
to a capacitor and a resistor. In that case, the
clock frequency is determined by the equation.
f = 1/1.1RC
R=10K and C=150pF f=606Hz
the conversion time is 110us.
DataOut
Dout = Vin / Step Size
11
for input vtg. of 2.56 volts (Vref=1.28 volts) and step size of 10mv Dout =2560/10 =256 or FF
that is full scale output.
Resolution
8 bits for ADC804
12
1.13
13