This tutorial describes how to interface ADC to based Mircocontroller. The article also provides a sample tested Technology is an online. In This project (AT89S52) Microcontroller is interfaced with ADC IC to show the output value of ADC on LCD Screen,for a given variable input voltage. Interfacing ADC with three LDR using microcontroller and LCD. The project includes circuit diagram and source code in C.

Author: Mera Yozshumuro
Country: Lebanon
Language: English (Spanish)
Genre: Medical
Published (Last): 16 June 2018
Pages: 140
PDF File Size: 14.18 Mb
ePub File Size: 15.90 Mb
ISBN: 152-1-37109-247-3
Downloads: 85116
Price: Free* [*Free Regsitration Required]
Uploader: Zolosida

Interfacing ADC with Microcontroller (AT89C51) using Interrupt clock

AT89C51 is an 8-bit microcontroller and belongs to Atmel’s family. Skip to main content. This device has three channel address line intedfacing Analog signal has infinite no of values like a sine wave or our speech, ADC converts them into particular levels or states, which can be measured in numbers as a physical quantity. Therefore, we need an analog-to-digital converter to translate these analog signals to digital signals.


Thus, it provides continuous 8-bit digital output corresponding to instantaneous value of analogue input. To select these input pins three select pins are available.

8051 – ADC0808 Interfacing

Choosing Battery for Robots. A particular channel is selected by using the address decoder line. Interface GPS with Arduino. ADC needs an external clock to run. Interface SD Card with Arduino. Actually the code u have posted is not working i guess due to the initialization i think. And data pin D4-D7 is connected to pins P2. What is a software to create that program?

If you want us adc08008 write tutorial for more devices please let us know in the forum. Pin10 of the ADC is connected to pin8 P1.

What is Web Browser. Low- High of the Start Conversion pulse. An ADC has n-bit resolution where n can be 8,10,12,16 etc.

Interfacing ADC with Microcontroller: Tutorial with Circuit Diagram and Code

The digital data from the ADC is transferred to the computer using serial port. I have made small changes to the original code.


The output is displayed as a number. The output value of ADC varies in the range 0 to Instead of continuous conversion, ADC converts data periodically, which is usually known as sampling rate. The connection of the ADC with the microcontroller can be seen on the circuit diagram.

How to interface ADC0808 with 8051 microcontroller (AT89C51) using clock from D-flip flop

And show on LCD as name Ch2. Choosing Motor For Robots. Skip to main content.

The input which is to be converted to digital form Binary coded decimal BCD Arduino based GPS receiver. By continuing to use this website, you agree to their use. Hope this helps CODE: This Pin becomes High when the conversion has ended, so the controller comes to know that the data can now be read from intsrfacing data pins.