学士学位论文---智能温室上位系统(单片机 vb).docVIP

  • 2
  • 0
  • 约3.04万字
  • 约 52页
  • 2017-01-08 发布于辽宁
  • 举报

学士学位论文---智能温室上位系统(单片机 vb).doc

学士学位论文---智能温室上位系统(单片机 vb)

目录 摘 要 2 Abstract 3 第1章 绪论 4 1.1 课题背景 4 1.2 智能温室系统发展现状 5 1.3 课题研究内容以及技术指标 6 第2章 智能温室系统总体方案的设计 8 2.1 系统描述 8 2.2 总体方案选择 8 第3章 上位测控系统与现场测控系统通信设计 12 3.1 串行通信 12 3.2 RS-232总线标准·························12 3.3 硬件连接电路以及通信协议 14 3.4 Visual Basic6.0中的串行通信控件MSComm·························16 3.4.1 MSComm控件处理通信的方式 16 3.4.2 MSComm控件的常用属性 16 3.4.3 MSComm控件的使用 18 3.5 VB程序编制 18 第4章 上位测控系统软件系统 20 4.1 上位测控系统信息管理系统功能 20 4.2 数据库的设计 21 4.2.1 Access数据库的设计 21 4.2.2 VB操作Access数据库的方法 23 4.3 应用程序的设计 24 4.3.1 用户管理模块设计 25 4.3.2主界面的设计 28 4.3.3 实时数据显示模块的设计 31 4.3.4 查询模块的设计 32 4.3.5 历史数据趋势图模块的设计 33 4.3.6标准参数修改模块的设计 34 4.3.8 保存程序以及建立可执行文件 36 总结与展望 38 参考文献 39 致 谢 41 附录 程序清单 42 摘 要 基于现场测控系统实现温度湿度光照信号的上位测控系统,首先分析了在Visual Basic 编程环境中实现上位测控系统与现场测控系统之间的串口通信技术,介绍了如何通过MSComm控件实现两者之间的通信,现场测控系统将数据送至串口,上位测控系统通过程序将数据取走并将其保存在数据库中。然后介绍了VB 和ACCESS的连接,并介绍了相关控件和实现方法, 最后显示到主界面, 可以进行查询,参数设置等功能。经调试表明,该设计性能较稳定,界面较美观,该智能温室上位测控系统系统拥有较良好的人系统界面,通用性好,操作简单、方便、易于实现温度的集中监控和管理等特点,理论上具有较广泛的应用前景。 关键词: VB 现场测控系统 串口通信 数据库 Abstract MCU-based PC monitor temperature and dampness and beam signal first analyzed the Visual Basic programming environment in the host computer and serial communication between MCU,and describes how the API functions for communication between PC and MCU, Serial data sent to the microcontroller, PC taken away by the program and save the data in the database and gives the collection of the system code. Then introduces the VB and ACCESS connections, and describes the relevant controls and implementation methods, the test results are given to ver ify the effectiveness and feasibilit y of the methods finally. The shakedown test application shows that this design performance is stable and the contact surface is artistic.The Intelligent greenhouse computer 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 applicat

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档