没有合适的资源?快使用搜索试试~ 我知道了~
基于单片机和VB的多点温度监控系统设计.docx
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
1 下载量 32 浏览量
2022-06-28
05:44:16
上传
评论
收藏 1.47MB DOCX 举报
温馨提示
试读
55页
。。。
资源推荐
资源详情
资源评论
Private Declare Function timeGetTime Lib "winmm.dll" () As Long
延时函数
单位是毫秒
支持小数
Public Function YanShi(HaoMiao As Double)
Dim t1
t1 = timeGetTime
While (timeGetTime - t1) < HaoMiao
DoEvents
Wend
End Function
基于单片机和 VB 的多点温度监控系统设计
(二)-上位机设计
院
专
班
学
姓
系
业
级
号
名
自动化学院
自动化
5407202
200504072064
姚维丹
指导教师
负责教师
王 昱
王 昱
沈阳航空工业学院
2009 年 6 月
沈阳航空工业学院毕业设计(论文)
摘 要
温度是一个基本的物理量,它是工农业生产过程中最普遍、最主要的工艺参数
之一,实时精确的温度监控是产品质量的重要保证。随着现代科技的发展,电子计
算机已越来越多地应用于温度的监控中。
本文针对下位机多点温度测控系统的各点温度值,通过 VB 建立一个温度信息
管理系统。详细阐述了系统的设计方法及功能。实现了与温度测控电路进行实时数
据通信,完成温度信息的上传和温度设定值的下传功能。采用 Access 设计数据库,
记录用户信息和温度信息。用 VB 连接数据库,完成温度信息的查询、显示、趋势
图、报表生成等功能。达到了实时记录温度信息,定时传送温度设定值的技术指标
要求。该多点监控系统拥有良好的人机界面,通用性好,操作简单、方便、易于实
现温度的集中监控和管理等特点,具有较广泛的应用前景。
关键词:VB;数据库;温度;监控
-I-
沈阳航空工业学院毕业设计(论文)
Abstract
Temperature is a fundamental physical quantity, it is one of the most general and
important process parameters in industrial and agricultural production.Accurate real-time
temperature monitoring is an important guarantee for the quality of products. With the
development of modern science and technology, electronic computer has been used in
temperature monitoring frequently.
Therefore, in this paper an information management system of temperature is
established for multi-point temperature monitoring system by VB. The design methods
and functions of the system is illuminated in detail. The system has not only achieved
real-time data communication with temperature monitoring and control circuits but also
accomplished the transfer of temperature information and temperature settings. An access
database is used to record users ’information and temperature information. Using VB to
connect to the database the system has many functions such as the query, display, trend,
report generation and so on. The technical target of the record, the transmission of
real-time temperature information and the temperature settings is also achieved. The
multi-point temperature monitoring system has good human-computer interface, good
common, simple and convenient operation. It is easy to implement centralized
monitoring and management of the temperature. The system has a very extensive
application prospect.
Keywords: VB; database; temperature; monitoring
-II-
沈阳航空工业学院毕业设计(论文)
目 录
第 1 章 绪论......................................................................................................................... 1
1.1 课题背景 .................................................................................................................... 1
1.2 多点温度监控系统发展现状 .................................................................................... 1
1.3 课题研究内容及技术指标 ........................................................................................ 4
1.4 本文安排 .................................................................................................................... 5
第 2 章 多点温度监控系统总体方案的设计..................................................................... 6
2.1 系统描述 .................................................................................................................... 6
2.2 总体方案设计 ............................................................................................................ 6
2.3 课题主要技术指标 .................................................................................................... 7
第 3 章 VB 与单片机通信的建立 ...................................................................................... 8
3.1 串行通信及 RS—232 总线 ....................................................................................... 8
3.1.1 串行通信.............................................................................................................. 8
3.1.2 RS-232 总线标准................................................................................................ 10
3.2 Visual Basic6.0 中的串行通信控件 MSComm ....................................................... 11
3.2.1 MSComm 控件处理通信的方式 ....................................................................... 12
3.2.2 MSComm 控件的常用属性 ............................................................................... 12
3.2.3 MSComm 控件的使用 ....................................................................................... 14
3.3 PC 机与 AT89S51 单片机的通信 ............................................................................ 15
3.3.1 硬件连接线路.................................................................................................... 15
3.3.2 通信协议............................................................................................................ 15
3.3.3 VB 程序编制 ...................................................................................................... 16
第 4 章 多点温度信息管理系统....................................................................................... 19
4.1 多点温度信息管理系统功能 .................................................................................. 19
4.2 数据库的设计 .......................................................................................................... 20
4.2.1 Access 数据库的设计......................................................................................... 20
4.2.2 VB 操作 Access 数据库的方法......................................................................... 21
4.2.3 数据库的生成.................................................................................................... 22
-III-
剩余54页未读,继续阅读
资源评论
xxpr_ybgg
- 粉丝: 6506
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于opencv+yolov8实现目标追踪及驻留时长统计源码.zip
- 水稻病害基于Yolov8算法优化目标检测识别与AI辅助决策python源码+模型+使用说明.zip
- 海尔618算价表_七海5.20_16.00xlsx(1)(2).xlsx
- WebCrawler.scr
- 【计算机专业毕业设计】大学生就业信息管理系统设计源码.zip
- YOLO 数据集:8种路面缺陷病害检测【包含划分好的数据集、类别class文件、数据可视化脚本】
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于YOLOv8的FPS TPS AI自动锁定源码+使用步骤说明.zip
- JAVA实现Modbus RTU或Modbus TCPIP案例.zip
- 基于yolov8+streamlit的火灾检测部署源码+模型.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功