1、I 传感器信息检测数据处理与软件设计 摘要 本文主要研究利用传感器对目标信息进行检测,处理,分析以及利用 Visual Basic(v b)进行界面软件设计和密码设置,以及设置报警状态下的情况以及正 常情况下的状态,等等。文中首先介绍了传感器的发展以及未来在各个领域的应 用,然后介绍了 v b 语言程序的应用历史和发展,以及利用 v b 进行程序和软件 设计。本研究讲述了对信息的检测后对数据进行处理的过程,v b 进行界面软件 设计的过程和结果,因为传感器在未来的发展中可能会在更广的领域中运用,所 以研究传感器对今后传感器的发展有重要意义。 关键词:关键词:传感器;v b;界面软件;数据处理。
2、 ABSTRACT: This paper mainly studies the use of sensors to detect target confidence, handle . Analysis and the use of Visual Basic (VB below instead) interface software design, And use VB password settings, Also set up alarm state and normal state, etc This paper firstly introduces the development a
3、nd application of sensor in various fields, and then introduces the application of the history and development of VB program language, and the use of VB programming and software design. This study describes the process of information detection after processing the data, process and result of softwar
4、e design for v b ! Because the sensor may be used in more wide fields in the future development,so it has important significance for the future development of the sensor sensor. Key words: Sensor; Visual Basic; Interface software ;Data processing. III 目录 第 1 章 概述 1 1.1 引言. 1 1.2 传感器. 1 1.2.1 传感器的历史.
5、 1 1.2.2 新型传感器 3 1.2.3 智能传感器 4 1.2.4 新材料 5 1.2.5 新工艺 5 1.2.6 智能材料 6 1.3 Visual Basic. 7 1.3.1 VB 概要 7 1.3.2 vb 的发展 8 1.4 本章小结 8 第 2 章 设计方案和步骤 9 2.1 引言. 9 2.2 系统设计. 9 2.2.1 系统结构设计 9 2.2.2 系统硬件设计 10 2.2.3 传感器模块 10 2.2.4 数据处理模块和无线通信模块 11 2.2.5 电源模块 12 2.3 系统软件设计. 13 2.3.1 系统软件结构图. 13 2.4.单片机报警电路设计. 15
6、2.4.1 理论分析 15 2.4.2 系统硬件 15 2.5 本章小结. 21 第 3 章 程序设计 22 3.1 引言 22 3.2 报警电路设计. 22 3.2.1 声光报警电路 22 3.2.2 总电路设计 22 3.3 软件实现. 24 3.3.1 .编程 KEIL 环境介绍 24 3.3.2 程序流程. 25 3.3.3 程序 25 3.3.4 调试及测试方法 26 3.4 VB 软件设计 28 3.4.1 简介 28 3.4.2 界面设计初步规划. 28 3.4.3 控件设计. 28 3.4.4 程序 30 3.5 本章小结. 32 第 4 章 设计心得 33 参考文献 34 1 第第 1 章章 概述概述 1.1 引言引言 本文主要研究传感器信息检测数据的处理和界面软件的设计, 根据以下的几 大要求来完成本课题,一,windows 环境中完成本系统的界面程序设计;二,九 位密码的设置;三,界面全部采用窗口画面;四,报警的界面上出现声光报警, 其对象的背景颜色改变;五,巡回工作状态下正常数据的接收与显示以及报警状 态下异常数据的接收与显示,数据的日存入程序;六,查询工作状态