Data Acquisition System USING AT89c51: Prem Kumar M-Tech (Ped) REG NO-1611110018
Data Acquisition System USING AT89c51: Prem Kumar 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
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
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
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
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
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.