摘要
介绍了基于单片机技术的数据采集系统的硬件设计和软件设计。该系统以AT89C51单片机为核心,TLC2543作为A/D转换器,通过RS232通信接口,实现单片机与PC机间的采集数据的传输。该系统分为数据采集传输和数据显示两大模块,数据采集通过单片机控制TLC2543芯片实现A/D转换,并通过RS232实现单片机和PC机间采集数据的传输。数据显示模块,通过在Visual Basic开发环境下,运用VB提供的通信控件MSCOMM来实现上位机对采集数据的收集和显示。
The paper introduces the hardware design and the sottware design ot a data acquisition system based on single-chip-computer technology. AT89C51 MCU and TLC2543 A/D chip are used in this system. The whole system can be divided into data acquisition transmitting module and data display module. In data acquisition and transmitting module, TLC2543 is working under the control of AT89C51, the digital signal can be got from TLC2543 output, and data transmission between PC and single-chip-computer is realized by RS232 as the communication interface. In the data display module, data is collected by MSCOMM controller and displayed in Visual Basic environment.
出处
《信息技术》
2008年第12期5-7,共3页
Information Technology
基金
南通大学自然科学研究项目资助(07Z040)
关键词
TLC2543
单片机
数据采集
串行通信
TLC2543
single-chip-computer
data acquisition
serial communication