文档介绍:System Design of Serial munication between 51
Single-chip puter and PC
ZHU Jian-jun,Lin Shi-wei, Yu Jun,Sun Lu-mei
Jilin Institute of Chemical Technology Jilin 132022, China
Phone:+86 0432 3951815 Email:zjj099@
Abstract:The serial munication is some difficulties in the process of developing this
an efficiency data transfer method. In this paper system.
downward machines use the MCS89C52 single chip
II. Hardware Design of Serial
puter as the core unit device to design a
data acquisition from the Electronic Balance DT20K. Communication
The upward machines software which adopt the The serial port of MCS89C52 is full-duplex
multithread technique and the munication universal receiver & Transmitter UART. Data is
mechanism technique can control the data acquisition transmitted through TXD while received from RXD.
device effectively, provide a multiform observation Two buffers SBIUF, one is used to transmit, the
about the data, overlook or see it in detail, and store other receive, occupy the same address. SCON and
the data automatically in database. The system makes PCON, two registers with specific functions in
the data acquisition and the system control more serial port, control the working mode and baud rate
convenient and efficiency. The system works steady of serial port respectively. By using the serial port
and has a good real time