0% found this document useful (0 votes)
45 views14 pages

Data Acquisition System USING AT89c51: Prem Kumar M-Tech (Ped) REG NO-1611110018

The document describes the development of a data acquisition system using an AT89c51 microcontroller. A data acquisition system consists of sensors to measure physical quantities, data acquisition hardware to convert analog signals to digital, and a computer. The system uses an ADC0808 8-bit analog to digital converter and a MAX232 chip to convert voltage levels between the microcontroller and RS232. The program flow measures sensor data, converts it to digital, and transmits readings to the computer through a serial port. In conclusion, the data acquisition system was designed to be flexible and its program can be changed based on requirements.

Uploaded by

haipremy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views14 pages

Data Acquisition System USING AT89c51: Prem Kumar M-Tech (Ped) REG NO-1611110018

The document describes the development of a data acquisition system using an AT89c51 microcontroller. A data acquisition system consists of sensors to measure physical quantities, data acquisition hardware to convert analog signals to digital, and a computer. The system uses an ADC0808 8-bit analog to digital converter and a MAX232 chip to convert voltage levels between the microcontroller and RS232. The program flow measures sensor data, converts it to digital, and transmits readings to the computer through a serial port. In conclusion, the data acquisition system was designed to be flexible and its program can be changed based on requirements.

Uploaded by

haipremy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

7/26/12

DATA ACQUISITION SYSTEM USING AT89c51

Click toKUMAR PREM edit Master subtitle style

M-TECH (PED) REG NO-1611110018

7/26/12

Introduction
The main objective of this project is to develop the data acquisition system. In this project AT89c51 is used to develop the data acquisition system

What is DAQ?

7/26/12

Data acquisition (DAQ) is

the process of measuring an electrical or physical

phenomenon such as voltage, current, temperature,

7/26/12

DAQ system
A DAQ system consists of sensors, DAQ measurement hardware, and a computer with programmable software

sensor

DAQ DEVICE

COMPUTE R

DRIVER

7/26/12

Block Explanation

First

the

sensor or

measures

the

physical like

quantity

electrical

quantity

temperature, pressure, voltage or current.


DAQ

device which converts measured analog

signal into digital signal. And it is also interfaced with PC.


We

can control the driver circuit by computer

through data acquisition system.

7/26/12

Interfacing diagram

Pin description
CONNECT ED TO ADC TO SELECT SENSOR CONNECTE D TO DRIVER CIRCUIT CONNECT ED TO MAX 232 CONNECT ED TO ADC

7/26/12

7/26/12

Analog to Digital converter


ADC 0808 is 8 bit analog to digital converter, which uses successive approximation type conversion. Key specifications:

Resolution 8 Bits Total Unadjusted Error LSB and 1 LSB Single Supply 5 VDC Conversion Time 100 s

MAX 232
q

7/26/12

The

RS232

is

not

compatible

with

89c51,we need a voltage converter to convert the RS232s signals to TTL voltage levels that will be acceptable to the 89c51s TxD and RxD pins.
q

The MAX232 converts from RS232 voltage levels to TTL voltage levels, and vice

versa.one advantage of the MAX232 chip is that we can use same power supply(+5V) for controller and MAX232.

7/26/12

Program
Start

MOV

P1,#00H

LCALL LCALL LCALL LCALL LCALL MOV MOV LCALL

initserial latch start_conv wait get A,P2 R6,A send_read

SJMP Start

7/26/12

Program Cont.
delay : MOV here : MOV DJNZ RET initserial : MOV MOV SETB MOV TMOD,#20H again : DJNZ R4,#80H R5,#30H R5,again R4,here

TH1,#FDH SCON,#50H TR1

7/26/12

Program Cont.
start_conv : CLR LCALL SETB RET wait : JB RET get : LCALL delay P3.4,wait LCALL P3.3 delay P3.3 delay

7/26/12

Program Cont.
send_char : next : CLR RET send_read : MOV LCALL RET LCALL send_char MOV JNB TI SBUF,R6 TI,next

A,# , send_char

7/26/12

Conclusion
Thus, the data acquisition system using ATMEL89c51 microcontroller and ADC0808 program can be changed according is to designed. Also, proved it is more flexible as requirement repeatedly.

You might also like