ADC0804 Pinout and Typical Connections

As shown in the typical circuit, ADC0804 can be interfaced with any microcontroller. You need a minimum of 11 pins to interface ADC0804, eight for data pins and 3 for control pins. As shown in the typical circuit the chip select pin can be made low if you are not using the microcontroller port for any other peripheral (multiplexing).

ADC0804 connection with microcontroller

There is a universal rule to find out how to use an IC. All you need is the datasheet of the IC you are working with and take a look at the timing diagram of the IC which shows how to send the data, which signal to assert and at what time the signal should be made high or low etc.

Note: Keep this in mind that whenever you are working with an IC and you want to know how to communicate with that IC, then simply look into the timing diagram of that IC from its datasheet. It gives you complete information that you need regarding the communication of IC.

ADC0804 Timing diagram - start of conversion
ADC0804 Timing diagram - reading ADC output

The above timing diagrams are from ADC0804 datasheet. The first diagram (FIGURE 10A) shows how to start a conversion. Also you can see which signals are to be asserted and at what time to start a conversion. So looking into the timing diagram FIGURE 10A. We note down the steps or say the order in which signals are to be asserted to start a conversion of ADC. As we have decided to make Chip select pin as low so we need not to bother about the CS signal in the timing diagram. Below steps are for starting an ADC conversion. I am also including CS signal to give you a clear picture. While programming we will not use this signal.

  1. Make chip select (CS) signal low.
  2. Make write (WR) signal low.
  3. Make chip select (CS) high.
  4. Wait for INTR pin to go low (means conversion ends).

Once the conversion in ADC is done, the data is available in the output latch of the ADC. Looking at the FIGURE 10B which shows the timing diagram of how to read the converted value from the output latch of the ADC. Data of the new conversion is only avalable for reading after ADC0804 made INTR pin low or say when the conversion is over. Below are the stepts to read output from the ADC0804.

  1. Make chip select (CS) pin low.
  2. Make read (RD) signal low.
  3. Read the data from port where ADC is connected.
  4. Make read (RD) signal high.
  5. Make chip select (CS) high.


In the next section of this tutorial we will follow the above mentioned steps to program the ADC.

Conversation

ajay_bhargav
Fri Dec 12 2014, 04:38 AM
@Abdul BAsit, Post in forum please. We will help you.
Wed Dec 10 2014, 06:41 PM
Abdul BAsit
I am working on smoke detector using AT89S52 and dont know how its wors..kindly send me circuit diagram and code for its hardware & software implementation
Wed Dec 10 2014, 06:40 PM
Abdul BAsit
I am working on smoke detector using AT89S52 and dont know how its wors..
Tue Dec 09 2014, 11:30 AM
Irinel
Please send me the content of that cd-rom (embedded c - michael j pont. Thank you.
Tue Dec 09 2014, 02:45 AM
kmyo
please give me the operation of 12v trickle charger
Sun Dec 07 2014, 07:50 AM
hidawi
we need the circuit diagrom of the remote control of iduction motor by android appliction
PsySc0rpi0n
Tue Dec 02 2014, 10:30 AM
I have no idea... I'm new to micro controllers
Tue Dec 02 2014, 08:35 AM
samarnath dev
how can usb key bord interfasing to dot matrx led moving, by asm51 ?
Tue Dec 02 2014, 08:32 AM
samarnath dev
how can usb key bord interfasing to 8051 by asm code?
Fri Nov 28 2014, 06:31 AM
babar
aoa ,, i need a project for 8051 microcontroler can some one plz give me the pdf form of this project android control robot

Downloads

Comments

naimish324
Wed Dec 17 2014, 04:48 AM
sathish177
Tue Dec 16 2014, 06:43 PM
djnokey
Sat Dec 13 2014, 12:12 PM
sai9113
Tue Dec 09 2014, 07:23 AM
alexlomol
Fri Dec 05 2014, 12:06 AM
chandujonty
Thu Dec 04 2014, 10:11 AM
fantasy1214
Mon Dec 01 2014, 01:45 PM
vumbelino
Sat Nov 29 2014, 04:43 PM

Online

Guests: 64, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 37560
Newest member: naimish324
Forum Activity
sankalp_s Avatar
Posted By sankalp_s
Wed Dec 17 2014, 04:11 PM
ORG 000H ; starting address SJMP LABEL1 ORG 0...
engr1931 Avatar
Posted By engr1931
Wed Dec 17 2014, 08:16 AM
Hello can i ask how many digit can Input in this p...
engr1931 Avatar
Posted By engr1931
Wed Dec 17 2014, 08:09 AM
Thank you sir for help! I did change the code sir ...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Dec 16 2014, 05:05 AM
Did you check our tutorial?http://www.8051projects...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Dec 16 2014, 04:55 AM
ORG 000H ; starting address SJMP LABEL1 ORG 0...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Dec 16 2014, 04:44 AM
Well Mode 2 is only 8-bit so its even simpler, max...
software_developer Avatar
Posted By software_developer
Sat Dec 13 2014, 08:05 AM
Hello Sir,I want to access one file from SD card u...
sankalp_s Avatar
Posted By sankalp_s
Fri Dec 12 2014, 06:29 PM
Thank u sir for your response. sir can u explain m...
PsySc0rpi0n Avatar
Posted By PsySc0rpi0n
Fri Dec 12 2014, 04:37 PM
Does that method of reading timers works if I use ...
PsySc0rpi0n Avatar
Posted By PsySc0rpi0n
Fri Dec 12 2014, 07:07 AM
If you want to read the complete timer register th...