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.
|Published (Last):||17 April 2005|
|PDF File Size:||15.48 Mb|
|ePub File Size:||15.65 Mb|
|Price:||Free* [*Free Regsitration Required]|
You are commenting using your WordPress.
You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. I am jayanth This is a blog on electronics. Aith updated via RSS.
Interfacing 3 channels of ADC with Microcontroller (AT89C51)
An analog-to-digital converter is a device which converts continuous signals to discrete digital numbers. Typically, an Interfacig is an electronic device that converts an input analog voltage or current to a digital number proportional to the magnitude of the voltage or current.
The digital output is taken on a set of LEDs. This is an intermediate circuit which finds several applications. This circuit depicts a way to provide the external clock, required for ADC, from the microcontroller.
Interfacing ADC with Microcontroller (AT89C51) using Interrupt clock
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. Therefore, we need an analog-to-digital converter to translate these analog signals to digital signals.
An ADC has n-bit resolution where n can be 8,10,12,16 etc. The ADC chips are either parallel or serial.
Parallel ADC has 8 or more pins dedicated to bring out the binary data. To select these input channels, three select pins are to be configured.
Interfacing 8051 with ADC 0808
ALE Address latch enable, pin22 is given a low to high pulse to latch in the address. When a low to high pulse is given to this pin ADC starts converting the data. EOC end of conversion, pin7 is an output pin and goes low when the conversion is complete and ready to be picked up, and OE output enable, pin9 is given a low to high pulse to bring the converted data from the internal register of ADC to the output pins.
Pin11 is Vcc and pin13 is GND.
Here interfacig are using external clock for clock input pin The connection of the ADC with the microcontroller can be seen on the circuit diagram.
Output of ADC goes to port P0 pins of controller. The program continuously scans the input of ADC and displays the output on the output port P2. To enable the Timer0 in interrupt enable mode, the register IE is loaded with the value 0x Every time the Timer completes the counting, pin P1.
Controller interrupt is used to generate the clock for driving the ADC Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in: Email required Address never made public.