apogeeweb title
Home  Technical Articles   Introduction to ADC0804: 8bits A/D Converter [FAQ]

Nov 18 2020

Introduction to ADC0804: 8bits A/D Converter [FAQ]

ADC0804 Description

There are multiple kinds of Analog to Digital Converters (ADC) which are used to convert the signal for microprocessors or controllers. Every “ADC” has its own specification and advantages on the base of the requirement. Here we are going to discuss “ADC0804 IC” which is known as the low voltage 8-bit Analog to Digital Converter. ADC0804 is a low voltage IC use to convert the low voltage analog signal to an 8-bit digital signal. It works with 0-5 Volts, has 1 Analog input and 8 output pins. ADC0804 comes with an internal clock but to increase or change the clock the cycle we could use the external clock. Always keep in mind that conversion speed cannot be faster than 110us either we are using an internal clock or external clock.

ADC0804LCNCatalog

ADC0804 Description

ADC0804 Pin Configuration and Functions

ADC0804 Functional Block Diagram

ADC0804 Features

Where to Use ADC0804

How to Use ADC0804

ADC0804 Typical Application

ADC0804 Applications

ADC0804 Physical Dimensions

Component Datasheet

FAQ


ADC0804 Pin Configuration and Functions

ADC0804 Pinout

ADC0804 Pin Functions


ADC0804 Functional Block DiagramADC0804 Functional Block Diagram

 


ADC0804 Features

  • Easy to interface with all Microprocessors or works Stand-alone.
  • Single-channel 8-bit ADC module
  • On-chip Clock available, no need for external Oscillator(Clock)
  • Digital output various from 0 to 255
  • When Vref = 5V, for every 19.53mV of analog value there will be the rise of one bit on the digital side (Step size)
  • Available in 20-pin PDIP, SOIC packages

Where to Use ADC0804

The ADC0804 is a commonly used ADC module, for projects were an external ADC is required. It is a 20-pin Single channel 8-bit ADC module. Meaning it can measure one ADC value from 0V to 5V and the precision when voltage reference (Vref –pin 9) is +5V is 19.53mV (Step size). That is for every increase of 19.53mV on input side there will be an increase of 1 bit at the output side.

This IC is very Ideal to use with Microprocessors like Raspberry Pi, Beagle bone etc. Or even to use as a standalone ADC module. Every ADC module requires a clock to function; this IC comes with its own internal clock so you don’t have to worry about it. Hence, if you are looking for a compact ADC module with a decent resolution of 8-bit then this IC is for you.


How to Use ADC0804

Since the IC comes with an internal clock we do not need many components to make it work. However to make the internal clock to work we have to use an RC circuit. The IC should be powered by +5V and both ground pins should be tied to circuit ground. To design the RC circuit simply use a resistor of value 10k and capacitor of 100pf (approx) and connect them to CLK R and CLK IN pins as shown in the circuit below. The chip select (CS) and Read (R) pin should also be grounded. The Vref pin is left free because by default without any connection it will be connected to +5V.

The digital output will be obtained from the pins DB0 to DB7 and the analog voltage should be connected to V in(+) pin as shown in the circuit. Also note that another end of the voltage source (sensor/module) should also be grounded to the circuit for the ADC conversion to work. Now, for the ADC Conversion to start we have o make the Write(WR) pin to go high momentary this can be done connecting the pin to I/O of MPU and toggling it high before every ADC read. Only if this is done the ADC value on the output side will be updated.

How to use ADC0804

In the above circuit, I have used a potentiometer to feed in a variable voltage of 0V to 5V to the Vin pin and the present Voltage is read using a voltmeter. As you can see in the image the voltage value is 1.55V and the resulting binary value is 01001111. Let us see how this binary value can be converted to Analog value, since we will need it while programming/designing.

Binary Value = 01001111

Converting to Decimal  =  (0*128)+(1*64)+(0*32)+(0*16)+(1*8)+(1*4)+(1*2)+(1*1)

                                         =   79

Analog Voltage = Decimal Value * Step size

                             = 79 * 19.53mV

                             = 1.54V

The obtained value is 1.54V and the measured voltage is 1.55V which are very much close. So this is how you use an ADC0804 IC.


ADC0804 Typical Application

ADC0804 Applications

  • Transducer-to-microprocessor interface
  • Digital thermometer
  • Digitally-controlled thermostat
  • Microprocessor-based monitoring and control systems

ADC0804 Physical Dimensions

  • Dual-In-Line Package (J)
    Order Number ADC0801LJ, ADC0802LJ, ADC0801LCJ,
    ADC0802LCJ, ADC0803LCJ or ADC0804LCJ
    ADC0802LJ/883 or 5962-9096601MRA
    NS Package Number J20A

ADC0804 package(J)

  • SO Package (M)
    Order Number ADC0802LCWM, ADC0803LCWM or ADC0804LCWM
    NS Package Number M20B

ADC0804 package(M)

  • Molded Dual-In-Line Package (N)
    Order Number ADC0801LCN, ADC0802LCN,
    ADC0803LCN, ADC0804LCN or ADC0805LCN
    NS Package Number N20A

ADC0804 package (N)

 

  • Molded Chip Carrier Package (V)
    Order Number ADC0802LCV, ADC0803LCV or ADC0804LCV
    NS Package Number V20A

ADC0804 package (V)


Component Datasheet

ADC0804 Datasheet


FAQ

  • What is adc0804?

The ADC0804 is a commonly used ADC module, for projects were an external ADC is required. It is a 20-pin Single channel 8-bit ADC module. Meaning it can measure one ADC value from 0V to 5V and the precision when voltage reference (Vref –pin 9) is +5V is 19.53mV (Step size).

  • What is the difference between adc0804 and max1112?

ADC0804 is used for parallel ADC and MAX1112 is used for serial ADC.

  • Which pin of the adc0804 indicates the end of conversion?

PIN-5 – Interrupt (INTR) This pin automatically goes low when the conversion is done by ADC0804 or when the digital equivalent of analog input is ready.

PIN-6 – Vin (+) connect input analog sensor pin/input voltage to this pin.

  • What are ADC and DAC?

ADC stands for Analog to Digital Converter, which converts the analog signal into the digital signal. DAC stands for Digital to Analog Converter and it converts the Digital signal into an analog signal.

  • What is the resolution of 8 bit ADC?

For example, an ADC with a resolution of 8 bits can encode an analog input to one in 256 different levels (28 = 256). The values can represent the ranges from 0 to 255 (i.e. as unsigned integers) or from −128 to 127 (i.e. as signed integer), depending on the application.

 

Related Articles

0 comment

Leave a Reply

Your email address will not be published.

 
 
   
 
Rating: