没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机的模拟量数据采集系统设计本科毕业论文设计.doc
0 下载量 74 浏览量
2023-06-28
07:06:52
上传
评论
收藏 516KB DOC 举报
温馨提示
试读
57页
基于单片机的模拟量数据采集系统设计本科毕业论文设计.doc
资源推荐
资源详情
资源评论
)
I
基于单片机的模拟量数据采集系统设计
)
II
摘 要
随着计算机技术的飞速发展和普及,数据采集系统也得到了广泛的应用。微机
在通用自动化、信息处理、信息系统等方面得到广泛的应用。在冶金、化工、医疗
等应用场合,需要对很多信号进行采集,预处理,暂存和对上位机的传输。再由上
位机对数据进行分析处理。
本文设计的模拟量采集系统采用上位机、下位机通信方式运行。由上位机实现
对下位机的控制和数据采集的显示,下位机实现模拟量的采集过程。下位机硬件设
计采用 AT89C52 单片机为控制核心,采用 ADC0808 将模拟量进行转化为数字量进行
采集,完成了模拟量采集系统的硬件设计。采用 RS-232 进行串口通信。结果证明,
该设计方法可行,实现了离散量采集系统的自动化,克服了传统数据采集的弊端,
应用具有良好的前景和使用价值。
关键词:模拟量采集系统;单片机;通信
)
III
Abstract
Along with the rapid development of computer technology and popularization, data
acquisition system is also widely application. Microcomputer is widely applied in general
automation, information processing and information system etc . Signal acquisition,
pretreatment, temporary and PC transmission is needed by metallurgy, chemical, medical
care and other applications 。 The design is a discrete variables acquisition system with
upper and lower operating mode. The PC machine controls the lower machine and display
the date, and the lower machine realizes data collection. Hardware design of digital
machines AT89C52 single-chip design Used for RS-232 serial communication, you can
relay through the computer to control the realization of the bright lights out billiards
control and manual control switch can monitor. The results proved that the design method
is feasible to achieve a billiards automated agency management system to overcome the
drawbacks of traditional management methods, the application has good prospects and the
value.
Keywords: single chip; data acquisition system; communication
)
IV
目 录
1 绪论 ............................................................................................................................1
1.1 课题背景................................................................................................................2
1.2 课题相关技术........................................................................................................2
1.3 课题任务及要求....................................................................................................5
1.4 课题内容及安排....................................................................................................5
2 系统方案设计 ............................................................................................................7
2.1 方案设计原则........................................................................................................7
2.2 方案设计................................................................................................................7
3 系统硬件设计与设备选型.........................................................................................9
3.1 单片机模块............................................................................................................9
3. 1.1 AT89C52 介绍.............................................................................................10
3.1.2 单片机最小系统..........................................................................................16
3.2 A/D 转换模块.......................................................................................................18
3.2.1 A/D 转换.......................................................................................................18
3.2.2 ADC0808 介绍 .............................................................................................18
3.3 输入模块..............................................................................................................21
3.4 串口模块..............................................................................................................22
3.5 电源模块..............................................................................................................25
3.6 设备选型..............................................................................................................26
4 系统软件设计与实现...............................................................................................27
4.1 软件编程介绍....................................................................................................27
4.2 系统软件方案设计..............................................................................................29
)
V
4.2.1 上位机设计部分 ...........................................................................................29
4.2.2 下位机设计部分..........................................................................................31
5 系统集成与调试 ......................................................................................................34
5.1 Keil 软件开发平台介绍.......................................................................................34
5.2 调试分析..............................................................................................................35
5.3 调试步骤..............................................................................................................35
5.4 故障调试及解决方式..........................................................................................35
5.5 联调结果..............................................................................................................36
结论 ..............................................................................................................................37
社会经济效益分析 ......................................................................................................38
参考文献 ......................................................................................................................39
致 谢 ..........................................................................................................................41
附录Ⅰ 原理图 ............................................................................................................42
附录Ⅱ 元器件清单.....................................................................................................43
附录Ⅲ 程序清单 ........................................................................................................44
剩余56页未读,继续阅读
资源评论
zzzzl333
- 粉丝: 698
- 资源: 7万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功