Final year degree project for engineers Final year projects based on microcontrollers
Microcontroller based different projects abstract and source code
AT89s51 microcontroller projects Motion control
at89c2051 motor controller and other light projects
Tutorials of microcontroller 8051, A step by step easy to use self learning rapidex
Click Here to Advertise on My Blog

Sunday, June 19, 2011

Signal control on ADC0804

In this section, we will discuss the practicle issues og ADC0804 and Signal control on ADC0804. Then we will move to the interfacing of ADC0804 with microcontroller.

Signal control on ADC0804

1. Make CS = 0 and send a L-to-H pulse to pin WR to start the conversion.
2. Keep monitoring the INTR pin. If INTR is low, the conversion is finished and we can go to the next step. If INTR is high, keep polling until it goes low.
3. After the INTR has become low, we make CS = 0 and send a H-to-L pulse to the RD pin to get the data out of the ADC0804 IC chip.

timing diagram of ADC0804
Note: CS is set to low for both RD and WR pulses.

Testing and interfacing of  ADC0804 microcontroller 8051

Write a program to monitor the INTR pin and bring the digital input value into register A. Then call a subroutine to display the input value on a 7-segment display. Do this continuously.
P2.6 = WR (Start conversion needs a L-to-H pulse)
; P2.7 = INTR (When low, end-of-conversion)
; P2.5 = RD (H-to-L will read the data from ADC chip)
; P1.0 – P1.7 = D0 – D7 of the ADC0804
;
MOV P1, #0FFH ; make P1=input
BACK: CLR P2.6 ; WR=0
SETB P2.6 ; WR=1 L-to-H to start conversion
HERE: JB P2.7, HERE ; wait for end of conversion
CLR P2.5 ; conversion finished, enable RD
MOV A, P1 ; read the data
ACALL DATA_DISPLAY ; display the data
SETB P2.5 ; make RD=1 for next round
SJMP BACK

Example of ADC Application

Temperature detection
A temperature sensor (LM34 or LM35) is interfaced to the 8051 via an ADC (ADC0804)
The output voltage from the LM34/LM35 is linearly proportional to the measuring temperature
The ADC0804 converts the output voltages from the LM34/LM35 into digital signals, which correspond to the measured temperature.They are then handled by the 8051
Interfacing with the LM35 (Temperature Sensor)

Testing and interfacing of  ADC0804 microcontroller 8051 Interfacing with the LM35 Temperature Sensor

ADC Application:-

The ADC0804 converts the output voltages from the LM35 into digital signals, which correspond to the measured temperature.
Step size of the ADC0804 = (1.28)x(2)/255 = 0.01004V
Clock input to the ADC0804 = clock frequency / 4
If the following data of LM35 are given
the temperature range of the temperature sensor LM35 is -55C to 150C and its output scale is 10mV/C, and the output value of the ADC0804 is 00H when the LM35 senses -55C
then the value output from the ADC0804 for a measuring temperature 100 C is:


 ADC0804 microcontroller 8051 Interfacing with the LM35 Temperature Sensor



tags:adc0808,adc0804 tutorial,adc0804 circuits,adc0804 forum,adc0803 adc0804,adc0804 interfacing,adc0804 specs,adc0804 8 bit,ADC0801/ADC0802/ADC0803/ADC0804/ADC0805 8-Bit MuP Compatible A/D,ADC0804 Analog to Digital Converter with CdS Sensor Analog to Digital Converter ADC0804 interfacing with microcontrollers AVR 8051 PIC, Digital-Ramp ADC, Successive approximation ADC, Flash ADC and basic A/D and D/A Convertors - ADC - ADC0804 Analog to Digital Converter ADC0804 interfacing with microcontrollers AVR 8051 real time analog to digital converter circuit using IC (ADC0804) ADC0804 μP Compatible A/D Converter [ADC-ADC0804 Temperature Sensor with Digital Output The analog output of the sensor is then passed to the ADC0804 IC which produces an 8-bit binary output (digital output) correspoding to the analog input ADC0831 replaced with ADC0804 8051 with adc0804 : 8051 Microcontroller Projects AVR PIC Projects interfacing ADC0804 with 8051 The names of pins of AT89S52 connected to ADC0804‎ 8051 microcontroller interfacing with adc0804‎ INTERFACE ADC0804 WITH 8051 - Free 8051 Microcontroller projects Automated Car Parking System using LDR interfaced with 8051‎ ADC0804 and analog mux 4051 Interface ADC0804 with 8051 microcontroller (AT89C51) Project Interface ADC0804 with 8051 microcontroller (AT89C51) Project Temperature sensor interfacing using Atmel 89c51 Interfacing ADC0804 with 8051, LM35 with ADC0804‎ Interfacing ADC0804 with 8051, LM35 with ADC0804 interfacing LM35 to 89c51 microcontroller

10 comments:

  1. hello i am designing a PID controller and for this i need serial portinterfacing of RS 232c with 89c51. i designed all the cicuitary but idont have much knowledge about interfacing and programming stuffs.can you please send me assembly code for the attached flowchart. ineed it urgently. thank you

    ReplyDelete
  2. Hi $wati:

    The microcontroller project based on 8051 family, you proposed is a nice project, but these detail is not enough, if you want some help from me then plz send complete information of you and your project.

    The file you send me is .docx, i can not open it, so plz send .doc file, it is very easy, open the file on your word (MS office) and save it as .doc.

    ReplyDelete
  3. Here we are using AD7521 DAC.
    HELLO SIR I am sending you pdf format as well as doc format file.please try to see the attached flowchart and please help me sir.thank you

    ReplyDelete
  4. @ $wati
    ok
    i will check your project files soon and then i will reply accordingly.

    ReplyDelete
  5. @ $wati
    The file you send me have a flow chart only, where is circuit diagram and your project explanation.
    you named the file as subroutine, but i donot find any subroutine there.

    ReplyDelete
  6. okkk i need an assembly code for ascii to binary conversion.The total problem is suppose we are receiving 3 characters from serialport of 89c51 and that characters are in ascii format. so i need toconvert these three characters in their binary equivalent.the first two character's binary equivalents will be combined to forma byte and sent to port P1 of DAC 7521 and the nibble equivalent ofthe third character will be sent to the port P3.4 to P3.7. sory but ihave dis much information only. can u help me out. THANK YOU

    ReplyDelete
  7. @ $wati
    check out my blog, you will find some relvent example, if still there is confusion,then ask that point for help or discussion.

    ReplyDelete
  8. Hey,

    This is Shraddha, BE EXTC student. I m doing project on application of microcontroller MCF 5213.

    Can we do all these projects(based on microcontroller 8051) using microcontroller MCF 5213??

    Plz suggest

    ReplyDelete
  9. @ Shraddha
    Plz send more details of your project based on microcontroller 8051 family. What you want to develop or fabricate using microcontroller.

    ReplyDelete
  10. @ Shraddha
    Plz send more details of your project based on microcontroller 8051 family. What you want to develop or fabricate using microcontroller.

    ReplyDelete

Please note that my helps are not for free.
So, send me your problems and pay money for solution.ok
This is www.microcontroller51.blogspot.com comments section. Here you are requested to write your questions and problems about the microcontroller and electronics projects. Write the questions or comments in such a way that, it have all necessary information, so that i can understand and reply.If you want to send pictures and codes then e-mail me (rghkk@hotmail.com).Thanks.
All comments will be highly appriciated.

Blogroll

  • 8051 Projects
  • Microcontroller based different projects abstract and source code
    AT89s51 microcontroller projects Motion control
    at89c2051 motor controller and other light projects
    Tutorials of microcontroller 8051, A step by step easy to use self learning rapidex

    Microcontroller Forum

    Recent Comments

    About

    rs 232 and microcontrollers , 8051 intelligent robotic car gsm based digital notice board microcontroller projects+steppermotor driver, frequency counter project,TSOP1738 interfacing with AT89C51 data microcontroller 8051:data aquisition and control syatems, microcontroller interface boards, programmable interface controller ready program for rs232 interface in vb6 ,circuit diagram of car parking system for the 8051 microcontroller simple led project using 8051 with assembly language,creating a c interface between a pic and humidity sensor heart beat sensor circuit diagram,t6963 asm 89c51 free schematic,dac08,heart beat monitor with microcontroller 8051.ppt,pressure sensor digitizer,adc0802 +avr +source* -datasheet,i need project explanation of 80c51 microcontrolled based calculator,metro train prototype mini project,lcm interface circuits with 8051 microcontroller ,micro controller application example in industry ,direct logic examples sensor de presion humidity and temperature circuit ,pwm measure microcontroller ,ge sonosite diadnostic picture final project report on weather acquisition system ,82c55a to rs232 ,pc based heart beat pulse monitor microcontroller strobe led project using assemby programming 8051 motor control,ethernet microcontroller interface circuit design for temperature humidity sensor, line follower dengan mikro controller at89s51,"interface a temperature sensor lm35 with 8051 ic using an amplifier and adc 0804 ic ",lift8051 microcontroller code,dac08,heart beat sensor circuit diagram,8051 lcd,pc parelle port projects,solution de connectivité ethernet microcontroleur,t6963 asm 89c51 free schematic,89c51 microcontroller interfacing with adc 0808 data sheet,control port data port lcd,dac-08 ,stepper motor connector,moving message circuit diagrams,stepper motor configuration,c++ lesson at the at89c51,car parking design 8051,dac-08,pc to pc communication using ir transceiver with 8051 and TSOP,8051 micro controller circuit diagram,vb6 rs232,similarities and differences between the 8051 and the atmel,u-shaped photo sensor,dac0800 proteus,how to display adc data on graphic lcd,mcs51 car data acquisition,mcs51 digital automotive gauge,lcd tachometer project with pic 16f877a and micro c,lm324 analog to digital proteus,pc based data acquisition system project,max232 serial programming,max232 serial programming,mcs 8051 and glcd display models installed to run this sample.,The microcontroller AT 89S51 is serially programmed using the software ATMEL,ds1307 89c51 alarm code,16f877a pressure sensor,multiplexed port system of 8051,rs232 micro controller used in closed circuits programmed with vb,8051 heart monitor,pulse rate counter circuit diagram using micro controller,ethernet microcontroller interface circuit design for temperature humidity sensor,project schematic dac0800,industrial robot controller based on '51 microcontroller family,connect lm35 to adc, adc to 8051 and two 7-segment displays to 8051,8051 rs232 serial communication code in c,project with block diagram & circuit diagram of temperature & light monitoring & controlling,main theme of 80c51 microcontroller based calculator,solenoid valve interface with microcontroller,schematic line follower mikrokontroler at89s51,home monitoring system using 8051 c programming,zero crossing triac power control pump,gambar diagram serial port,t6963 asm 89c51 free schematic,address counter lcd interface,t6963c circuit,Electronic meters for power calculation of electricity consumption,adc0808 intel 8051,microcontroller and lcd interface,inductive proximity sensor connect microcontroller,8051, data logger 24c16,interfacing remote to microcontroller pic16f877a.h,pictures for memory orgnization of at89c51 micro controller,frequency counter with atmel flow chart,serial optical microcontroller,pulse width measurement,software codes using keil c compiler for final year projects,micro 7448 7 segment,seminar ppt-8051in automobiles,mcs 51 lcd asm interface a temp. sensor lm35 ic with 8051 using an amplifier and adc0804 with sehematic diagram?,lcd 8051,"stepper motor wires,"what is zero crossing" diac,8051 8255 chip helps,interface a dc motor with 8051 microcontroller to control the speed using a dac with diagram?,keil c51 uploading data from computer,manometer sensor i2c,temperature control using pwm and 89c51,1-wire command 8051 + assembly,keil c51 uploading data from computer,adc converter assembly program,c code for lm35 by use microprocessor,dc motor control site:www.the-crankshaft.info,micro controller clock,microcontroller valve,pdf form of electronic mini project circuit diagram based om sensor,speed detection circuits of high speed vechicles using controller 8051 and sensors,stepper motor wire, interfacing of 8051 with 4511,microcontroller lpc2148 based noise control algorithm for external signals,pin diagram of adc,mini ECG schematic diagram,interfacing of 8051 with 4511,1-wire slave,data acquisition using 8051,definition and description of automatic irrigation system,microcontroller lpc2148 based noise control algorithm,using 89c51 heart bit monitoring system,SPI INTERFACE diagrama de recorrido de sensor de latido de corazón, t6963 asm 89c51 libre esquemático, dac08, monitor de latido de corazón con microregulador 8051.ppt, digitizador de sensor de presión, adc0802 avr source*-datasheet, tengo que proyectar la explicación de 80c51 microcontroló la calculadora basada, prototipo de tren de metro proyecto mini Интерфейс Двигатель постоянного тока с 8051 микроконтроллер для управления скоростью с помощью ЦАП с диаграммой?, Keil C51 загрузки данных с вашего компьютера, манометр i2c датчик контроля температуры использованием ШИМ и 89C51 8051 + 0,1 командной провода сборки, Keil C51 загрузки данных с вашего компьютера , ADC программе сборки преобразователя, C код для использования микропроцессора LM35, DC сайте управления двигателем: www.the-crankshaft.info, микро часы контроллера, микроконтроллера клапан, PDF форме электронных схем проекта мини 如何显示图形LCD,汽车数据采集MCS51的,MCS51的车载数字仪表,转速表项目液晶与ADC日期石化16F877A微型和C,变形LM324的模拟到数字的,基于PC的数据采集系统项目,编程序列的MAX232,串行编程的MAX232,单片机8051 Glcd显示模式,安装运行此示例。中,AT 89S51单片机串行编程软件使用ATMEL公司と液晶グラフィックLCDを、車のデータ集録MCS51、MCS51自動車デジタルゲージ、タコプロジェクトの表示方法のADCの日付は、デジタル、PCベースのデータ集録システムプロジェクト、プログラミングMAX232と、MAX232のシリアルプログラミングシリアル、16F877Aは、マイクロおよびcプロテウスLM324アナログ写真mcsの8051 Glcdディスプレイモデルは、このサンプルを実行するためにインストールされています。は、AT 89S51マイクロコントローラは、シリアルソフトウェアをアトメル使用してプログラムされている lm324 voltage capacity,microcontroller 8051,.bas code rs232 to at89c2051 dot matrix,4 digits 7 segment led circuit 8051, generating frequency using 8051 circuit diagram,how to write controller by c,6 pin electrical clip,8051 based projects using keil software,8051 serial communication to pc, 8255 led driver images developing an acquisition and control system how can we measure reactance using 8051 controller i2c 8051 humidity sensor i2c 8051 humidity sensor sht,microcontroller 8051 rotabit GPS and GSM based Car locator,Send and Receive SMS Keil C code,Play music with 8051 microcontroller,LED dot matrix display using AT89C52 Interfacing GPS with 8051,Wireless keyboard with AT89S52 and nRF2401 RF module ,snake game,led lc meter snake game,LCD display,stepper motor inter facing using 8051 Top Downloads this MonthC51 code for interfacing GPS,8051 based Taximeter,GPS and GSM based Car locator, electonic code lock Send and Receive SMS Keil C code,Play music with 8051 microcontroller LED dot matrix display using AT89C52,120V light bulb on/off LCD Graphic display with AT89s51,Interfacing GPS with 8051,AT89C2051 temperature and humidity using SHT11,Ultrasonic distance meter using AT89S52 Top downloads16x128 Dot matrix moving message display,Digital Capacitance meter using AT89S52,countdown timer LCD Graphic display with AT89s51,PS2 keyboard interfacing with LCD display LED dot matrix display using AT89C52,16x64 dot-matrix LED display with Time,H bridge GPS with AT89s52 and graphics display,8051 based Taximeter,Moving message display Ultrasonic distance meter using AT89S52,simple digital voltmeter with c programming GPS with 8051 digital alaram clock 8x8 Running Texts Display sooxma technologies ,embedded systems projects at home ,interfacing 8051 with gsm modem , projects for enginnering students , android bluetooth "controller area network" ,speedometer as motor vehicle safety system microcontroller ,robotic project,prepaid electricity live monitoring ,ieee papers on gps navigation for the blind , gsm-based prepaid electricity system temperature sensor using 8051,lm324 and lm35,Temperature level monitoring in boilers using 8051 microcontroller,experiment board in instrumentation and control through the PC parallel port,TSOP 1738 interfacing with AT89C51 ,TSOP1738 interfacing with AT89C51 pdf ,solenod valve ,8051project.com ,Temperature controller using DS1820 and LCD displayTemperature controller using DS1820 and LCD display ,Interfacings of Automatic room light controller with visitor counter ,automatic plant irrigation ,TSOP1738 interfacing with AT89C51 synopsis of Lcd interfacer using 8051 microcontroller mini project with circuit diagram 8x8 led display interfacing with microcontroller data acuasition system pwm based speed control of ac motor using 8051 controller with abstract heart rate pic sms based digital notice board real time clock using 8051 microcontroller vb lpt stepermotor assembly code for lcd connected to 8051 mini project on temp controleer with ckt diagram free download 6 wires stepper motor adc0804 lpt assemply language programs with 8051 automatic-plant-watering switch buzzer diagram arrows with pic16f84 forward reverse swr meter frequency control with microcontroller esquematic electronic detector high voltage ic principle diagram 89s51 interface between gps and microcontroller velocity +adc interfacing automatic car parking system circuit triac used with pwm designing pressure sensor as student project microcontroller to drive motors interfacing adc 0809 to 89c51 videos pic microcontroller projects, level gauge 6 wire stepper motor wiring connection home monitoring system with temperature sensing and motion control using pic atmega control board sample code isolation amplifier circuit diagram using 4n33 microcontroller web emulators air fue; rartio meter with pic mcu project with schematic circuit diagram of 8086 microprocessor project microcontroller at89c51 based voting machine moving message oxygen transducer servo symbol list of components in automated carparking simple interfacing projects with microcontroller 8051 microcontroller based moving message display temperature indicator circuit using microcontroller lcd interfacing with 8051 pdf temperature sensor 8051 lcd automatic plant irrigation at89c2051 temperature how to add effect on asm display with 89s52 vhdl ttl module heart beat monitor with wave on lcd 8051 based moving message display : 89c51 micro controller led matrix www.the basic programming of edsim 8051(design of lift using flow chart) automated irrigation controle system using 8051 circut dia gram 8051 memory organization circuit layout of an automayic irrigation system ir led and ldr based heartbeat monitor with display on computer