摘要本论文的目的就是设计实现一个具有一定有用性的实时数据采集系统。本文介绍了基于单片机的数据采集的硬件设计和软件设计。数据采集系统是模拟域与数字域之间必不可少的纽带,它的存在具有非常重要的作用。本文介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据采集与通信控制采纳了模块化的设计,数据采集与通信控制采纳了单片机AT89C51 来实现,硬件部分是以单片机为核心,还包括A/D 模数转换模块,显示模块,和串行接口电路。本系统能够对8 路模拟量,8 路开关量和1 路脉冲量进行数据采集。被测数据通过TLC0838 进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转换后的数据通过串行口MAX232传输到上位机,由上位机负责数据的接受、处理和显示,并用LCD显示器来显示所采集的结果。对脉冲量进行采集时,通过施密特触发器进行整形后再送入单片机。本文对数据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。关键词 数据采集 AT89C51 单片机 TLC0838 MAX232AbstractWe should combine with the structure of concrete hardware and characteristics ofrelevant software to design the system.The purpose of this thesis is to design a practicalreal-time data collection system.This article describes the hardware design and software design of the data on which based on signal-chip microcomputer .The data collection system is the link between the digital domain and analog domain.The hardware of the system focuses on signal-chip microcomputer .Data collection and communication control use modular design. The data collected to control with correspondence to adopt a machine 8051 to carry out. It has an very important function. The introductive point of this text is a data to collect the system. The part of hardware’s core is AT89C51, is also includes A/D conversion module, display module and the serial interface.The system can eight analog, eight digital pulse volume and one for data acquisition8 roads were measured the electric voltage to pass ...