And by using their ADC register we can interface. When we select microcontroller family for making any project, in which we need of an. Interface ADC with serial port (RS) using microcontroller ( AT89C51). This Project include circuit diagram and source code in C. Interfacing of ADC with microcontroller (AT89C51) project including circuit diagram and source code in C.

Author: Gujind Shaktill
Country: Kuwait
Language: English (Spanish)
Genre: Art
Published (Last): 4 April 2017
Pages: 145
PDF File Size: 6.42 Mb
ePub File Size: 20.8 Mb
ISBN: 968-3-44723-199-5
Downloads: 19155
Price: Free* [*Free Regsitration Required]
Uploader: Nikolar

How to interface ADC0804 using 8051 microcontroller (AT89C51)

And by using their ADC register we can interface. And data pin D4-D7 is connected to pins P2.

As shown in the typical circuit, ADC can be interfaced with any microcontroller. This pin goes low when the conversion is over. In present time there are lots of microcontrollers in market which has inbuilt ADC with one or more channels.

And here we have used three potentiometers connected at pin 26, 27, and 28 of ADC Leave a Reply Cancel reply Your email address will not be published. This Code is only visible to Registered users. CS pin of ADC is directly connected to ground. This is an input pin connected to an external clock source.


Interfacing ADC0804 with Serial port (RS232) using 8051 micocontroller (AT89C51)

ADC has 8 bit resolution. This high-density System-in-Package SiP integrates controller, power switches, and support components. Get Our Weekly Newsletter!

Read RD pin 2 is connected to P2. This pin is used to get the data out of the ADC chip.

These digital signals are used for further processing by the digital processors. To use the internal clock a capacitor and resistor is connected to pin 19 and 4 as shown in the circuit diagram.

Interfacing ADC with Microcontroller

The pin out diagram of ADC is shown in the figure below. Virgin Galactic — Commercial Space Flight. This can be done by using this pin. Typical applications include sound processing, temperature processing etc. Choosing Motor For Robots. Interface SD Card with Arduino. And for demonstration we have used three variable resistors.

We can provide it by using oscillator or by using microcontroller. The input to the ADC is supplied through a preset. In many applications it is required to convert the output of the sensor, which is analogue in nature to a digital form.


In this circuit microcontroller is used to provide the control signals to the ADC. ADC can be given clock from external source. Actually the code u have posted is not working i guess due to the initialization i think.

Interfacing ADC with Microcontroller: Tutorial with Circuit Diagram and Code

The program continuously monitors the output of ADC and transmits it to the serial port. Its resolution is 8 so it can encode the analog data into one of the levels 2 8. SPI Module of Arduino. The data in digital format can then be utilized for further processing by the qith processors. Hope this helps CODE: