doesn’t has inbuilt ADC. So we have to use external ADC. There are many ADCs. Learn to interface microcontroller with ADC analog to digital converter with sample code in assembly and C language. The project Explains each and every step to interface adc analog to digital converter with (89c51,89c52) microcontroller. Simple example with Free.

Author: Kikazahn Faugami
Country: Bosnia & Herzegovina
Language: English (Spanish)
Genre: Love
Published (Last): 19 October 2008
Pages: 331
PDF File Size: 17.6 Mb
ePub File Size: 2.2 Mb
ISBN: 808-1-47648-375-6
Downloads: 63192
Price: Free* [*Free Regsitration Required]
Uploader: Vujora

Digital Thermometer using LM35 and Microcontroller

AT89C51 is an 8-bit microcontroller and belongs to Atmel’s family. An ADC has n bit resolution binary form where n can be 8,10,12,16 or even 24 bits. This can be done by using this pin. RS is made high for command write. Force the cursor to beginning of 1 st line. micdocontroller

The major advantage, of using ADC is that, we noise can be efficiently eliminated from the original signal and digital signal can travel more efficiently than analog ad0804. Data pins are connected to port 0 of microcontroller. The figure above shows the schematic for interfacing ADC to I have not tested on the actual hardware but i have done the simulation in proteus and it works.


RS is made low for command write. 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. Interface GPS with Arduino.

Interfacing ADC with Microcontroller

Resistors Acd0804 to R8 are current limiting resistors. This is an input pin and intercacing low. Various sensors like temperature, pressure, force etc Get Our Weekly Newsletter! And then microcontroller changes ADC channel by using address line. Is it possible to use the code for Proteus Simulation? ADC is connected as shown in the circuit diagram.

The table below shows the comparison of family members. This pin is used to set the reference voltage. Next we have to define some functions which are used in the program.

If we give microconteoller to pin 9, will ADC work? In simple words P1 of the microcontroller is the input port and P0 is the output port. If you have any queries, doubts or feedback on this tutorial please share in our discussion forum.

How to interface ADC0804 using 8051 microcontroller (AT89C51)

As shown in the typical circuit the chip select pin can be made low if you are not using the microcontroller port for any intetfacing peripheral multiplexing. For selecting all the other input channels, have a look on the given table: INTR becomes low at the end of conversion. The data is copied to port 0 of microcontroller. Microcojtroller some application it is required to reduce the step size. Below steps are for starting an ADC conversion.


We note down the steps or say the order in which signals are to be asserted to start a conversion of ADC. What is Web Browser.

The following steps are used to interface the ADC Typical applications include sound processing, temperature processing etc. RW is made low for write operation.

Telephone modem is one of the examples of ADC, which is used for internet, it converts analog data into digital data, so that computer can understand, because computer can only understand Digital data. In this circuit microcontroller is used to provide the control signals to the ADC.

And by using their ADC register we can interface. Thanks and more power.