1、 存档日期:存档日期: 存档编号:存档编号: 本科生毕业设计(论文)本科生毕业设计(论文) 论论 文文 题题 目:目:基于单片机的数据采集系统的设计 姓姓 名:名: 学学 院:院: 专专 业:业: 班班 级级 、 学学 号:号: 指指 导导 教教 师:师: 江 I 摘摘 要要 本文介绍了基于单片机的数据采集的硬件设计和软件设计, 数据采集系统是模拟 域与数字域之间必不可少的纽带,它的存在具有着非常重要的作用。 本文介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据采 集与通信控制采用了模块化的设计,数据采集与通信控制采用了单片机 AT89C52 来 实现,硬件部分是以单片机为核心
2、,还包括 A/D 模数转换模块,显示模块和串行接 口部分。 本系统下位机负责数据采集并应答主机的命令。8 路被测电压通过模数转换器 ADC0809 进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,并将转 换后的数据通过串行口 RS-485 传输到上位机,由上位机负责数据的接受、处理和显 示,并用 LED 数码显示器来显示所采集的结果。软件部分应用 VC+编写控制软件, 对数据采集系统、模数转换系统、数据显示、数据通信等程序进行了设计。 关键词关键词:数据采集 AT89C52 ADC0809 RS-485 江 II Abstract This article describes the
3、 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. It has an very important function. The introductive point of this text is a data to collect the system. The hardware of t
4、he 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. The part of hardwares core is AT89C52, is also includes A/D conversion module, display module, and the serial interface. Slave machine is responsible for data acquisition and answering the host machine.8 roads were measured