没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的多路数据采集系统设计论学士学位论文.doc
0 下载量 7 浏览量
2023-07-02
15:01:59
上传
评论
收藏 392KB DOC 举报
温馨提示
试读
20页
基于单片机的多路数据采集系统设计论学士学位论文.doc
资源推荐
资源详情
资源评论
基于单片机的多路数据采集系统设计
物理与电子信息学院 电子信息科学与技术专业 学号:指导教师:
摘要:本文介绍了基于单片机的数据采集的硬件设计和软件设计,数据采集系统
是模拟域与数字域之间必不可少的纽带,它的存在具有着非常重要的作用。本文
介绍的重点是数据采集系统,而该系统硬件部分的重心在于单片机。数据采集与
通信控制采用了模块化的设计,数据采集与通信控制采用了单片机 AT89S52 来实
现,硬件部分是以单片机为核心,还包括 A/D 模数转换模块,显示模块,和串行
接口部分。该系统从机负责数据采集并应答主机的命令。8 路被测电压通过模数
转换器 ADC0809 进行模数转换,实现对采集到的数据进行模拟量到数字量的转换,
并将转换后的数据通过串行口 MAX232 传输到上位机,由上位机负责数据的接受、
处理和显示,并用 LED 数码显示器来显示所采集的结果。软件部分应用 VC++编
写控制软件,对数据采集系统、模数转换系统、数据显示、数据通信等程序进行
了设计。
关键词:数据采集;89C52 单片机;ADC0809;MAX232
The Design Of Multi-channel Data Acquisition System Based
On SCM
Li Zhe
College of Physics and Electronic Information Electronic information science and
technology No: 010414055
Tutor: Zhai Yan-Lei
1
Abstract: 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. It has an very important function. The introductive point of this text is a data to collect
the system. 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. The part of hardware’s core is AT89S52, 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 the electric
voltage to pass the in general use mold-few conversion of ADC0809,the realization carries
on the conversion that imitates to measure the numeral to measure towards the data that
collect .Then send the data to the host machine through MAX232.the host machine is
responsible for data and display, LED digital display is responsible display the data. The
software is partly programmed with VC++. The software can realize the function of
monitoring and controlling the whole system. It designs much program like
data-acquisition treatment,data-display and data-communication ect.
Key words: AT89C52; ADC0809; MAX232
2
目 录
摘要................................................................1
目 录.............................................................3
1 引言..............................................................6
1.1 研究背景及其目的意义............................................6
1.2 国内外研究现状..................................................6
1.3 该课题研究的主要内容内容........................................6
2 数据采集..........................................................7
2.1 数据采集系统....................................................7
2.2 方案器件选择....................................................8
2.2.1 A/D 模数转换的选择. ...........................................8
2.2.2 单片机的选择. .................................................8
2.2.3 串行口的选择..................................................8
2.2.4 显示部分......................................................8
2.2.5 按键..........................................................8
3 硬件电路..........................................................8
3.1 主机电路........................................................8
3.1.1 主机电路原理图设计............................................8
3.1.2 单片机........................................................8
3.1.3 LED 数码显示器的应用原理 ......................................9
3.2 从机电路........................................................9
3.2.1 从机电路原理图设计............................................9
3.2.2 单片机之间的通信..............................................9
3.2.3 模数转换器 ADC0809 ...........................................10
4 软件部分.........................................................10
4.1 简介 KeilUvision2 ..............................................10
4.2 主机程序设计...................................................11
4.3 从机程序设计...................................................14
5 调试结果.........................................................16
6 总结.............................................................16
剩余19页未读,继续阅读
资源评论
xinkai1688
- 粉丝: 335
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功