1 / 95
文档名称:

精品毕业论文--基于单片机的无线温度采集系统的设计5.doc

格式:doc   页数:95
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

精品毕业论文--基于单片机的无线温度采集系统的设计5.doc

上传人:mkt365 2013/6/14 文件大小:0 KB

下载得到文件列表

精品毕业论文--基于单片机的无线温度采集系统的设计5.doc

文档介绍

文档介绍:摘要
随着信息领域各种技术的发展,在数据采集方面的技术也取得了长足的进步,采集数据的信息化是目前社会的发展主流方向。各种领域都用到了数据采集,在石油勘探、地震数据采集领域已经得到应用。
本课题提出一种基于单片机的无线温度采集系统方案,该方案是利用单片机控制DS18B20温度传感器采集温度、控制LED数码管实时显示温度值、控制NFR240L1进行数据的无线传输,并由单片机去把温度数据传至计算机进行存储。本系统中所用到的器件是STC 公司的STC89C52 单片机、数字温度传感器DS18B20和无线芯片NFR24L01,测量结果用七段段LED数码管显示采集的数字信息,并利用单片机串行口,通过RS-232 总线及通信协议将采集的数据传送到PC 机,进行进一步的存档、处理,并对测量结果进行显示和存储。
关键词单片机;温度采集;NFR24L01;数据传输;串口通信;
Abstract
With the development of various technologies of information in the field,in data collection techniques have also made great progress,collect data,information and social development is the mainstream. Various areas of data collection used in oil exploration, seismic data acquisition in the field has been applied.
This issue presents a collection based on single chip system solutions for wireless temperature, the program is the use of puter control the temperature DS18B20 temperature sensor acquisition, real-time control of LED digital display temperature control, control NFR240L1 wireless data transmissionby the microcontroller to the temperature data transmitted to puter for storage. This system is a device used in the STC's STC89C52 microcontroller, digital temperature sensor DS18B20 and wireless chips NFR24L01, measured with a seven-segment LED digital display segment of digital information collectionand use Serial port, RS-232 bus and through munication protocol to collect data to the PC, for further archiving, processing, and measurement resultsare displayed and stored.
Keywords SCM Temperature collection NFR24L01 Data transmission munication
目录
1 绪论 1
课题背景 1
数据采集系统简单介绍 1
2 温度采集系统的设计 3
系统硬件电路构成 3
单片机部分 3
温度传感器部分 7
LED数码管部分 15
NRF24L01无线数据传输部分 16
系统软件设计 29
DS18B20 程序的设计 29
数码管显示程序的设计 31
3 串口通信 36
通信简介 36
单片机串口通信接口 37
单片机串口结构 37
单片机与PC 机之间电平转换硬件接口 38
单片机串口通信设置及程序设计 40
4 上位机程序设计 43
Visual Basic 语言简介 43
串口通信的实现 43
m 控件的操控原则 44
m 的属性 44
上位机程序设计 45