学校代码: 11059 学 号: 1105021004
Hefei University
毕业设计(论文)
BACHELOR DISSERTATION
论文题目: 基于ZigBee技术的温度采集系统的设计 学位类别: 工 学 学 士
学科专业: 通 信 工 程
作者姓名: 汪 飞 导师姓名: 顾 涓 涓
完成时间: 2015-5-28
基于ZigBee技术的温度采集系统的设计
中 文 摘 要
现如今越来越多的产业在发展,在发展过程中,温度对设备能否正常工作有着决定性作用。而此时,传统的温度检测设备已经不能满足现在的需求,应用而生的是新的无线温度检测设备,通过无线连接来检测和传输温度,这其中应用很广泛的就是ZigBee技术。它具有高安全性、低功耗、使用便捷等优势,是传统传感器所不能替代的。
本次设计是基于ZigBee技术的温度采集系统设计,设计的主要部分有以下几点:温湿度采集模块、无线传输模块、显示模块。其中主控制器是CC2530,选用DS18B20和DHT11传感器和显示屏OLED12864,设计一款无线温度采集、实时显示的电路。
本设计完成了数字传感器采集温度,在显示屏上显示,然后通过ZigBee技术传输给协调器,再通过协调器传输到上位机,实现环境温湿度的实时采集和显示。
关键词:ZigBee;CC2530;温湿度传感器;OLED12864;无线传传感技术
1
The design of the temperature acquisition system based on ZigBee
technology
Chinese Abstract
Today more and more industries in the development, in the development process, temperatures on the equipment works correctly plays a decisive role. But this time, the traditional temperature measurement devices have been unable to meet current needs, applications and new wireless temperature test equipment, to detect and transmit information over a wireless connection, which is the ZigBee technology is widely used. It has advantages such as high security, low power consumption, easy to use, traditional sensors can not be substituted.
This design is the design of temperature acquisition system based on ZigBee technology, design has the following main parts of what time: temperature and humidity data acquisition module, wireless transmission module and display module. Main controller is the CC2530, selection of DS18B20 OLED12864 and DHT11 sensors and displays, designed a wireless temperature data acquisition, real-time display of the circuit.
This design complete digital sensor temperature, displayed on the screen, and then through the ZigBee technology transfer Coordinator, through the Coordinator transfer to PC, real-time capture and display of environmental temperature and humidity.
Key words: ZigBee; CC2530; temperature and humidity sensors ; OLED12864; wireless sensor technology
2
目 录
第一章 绪论 ........................................................................... 1 1.1 选题背景 .................................................................................................................................................. 1 1.2 课题研究的目的 ...................................................................................................................................... 1 1.3 课题研究的意义 ...................................................................................................................................... 1 1.4 课题的主要任务 ...................................................................................................................................... 2 第二章 ZIGBEE简介 ..................................................................... 2 2.1 ZIGBEE概述 ............................................................................................................................................... 2 2.2 ZIGBEE协议栈 ........................................................................................................................................... 4 2.2.1 简介 .................................................................................................................................................. 4 2.2.2 如何使用协议栈 .............................................................................................................................. 5 第三章 系统设计方案 ................................................................... 6 3.1 设计框图 .................................................................................................................................................. 6 3.2 方案论证 .................................................................................................................................................. 6 3.2.1传感器的选择 ................................................................................................................................... 6 3.2.2 主控部分的选择 .............................................................................................................................. 8 3.2.3 显示器的选择 .................................................................................................................................. 8 第四章 系统硬件设计 ................................................................... 9 4.1 DHT11温湿度传感器介绍 ..................................................................................................................... 10 4.1.1 DHT11的主要特性: ..................................................................................................................... 10 4.1.2 DHT11引脚说明 ............................................................................................................................. 10 4.2 DS18B20温度传感器介绍 ......................................................................................................................11 4.2.1 DS18B20的主要特性: ..................................................................................................................11 4.2.2 DS18B20引脚说明 ......................................................................................................................... 12 4.3 ZIGBEE模块介绍 ..................................................................................................................................... 12 4.3.1 主控芯片CC2530 ........................................................................................................................... 12 4.3.2 ZigBee无线收发模块介绍 ........................................................................................................... 14 4.4 显示电路 ................................................................................................................................................ 15 4.4.1 有机发光显示技术介绍 ................................................................................................................ 15 4.4.2 OLED12864介绍 ............................................................................................................................. 15 4.5电源电路 ................................................................................................................................................. 17 第五章 系统软件设计 .................................................................. 18 第六章 系统调试和结果分析 ............................................................ 18 6.1 硬件调试和分析 .................................................................................................................................... 18 6.2 软件调试和分析 .................................................................................................................................... 19 6.3 测试系统性能及分析 ............................................................................................................................ 21 第七章 总结 .......................................................................... 24 第八章 参考文献 ...................................................................... 25 致 谢 .............................................................................................................................................................. 26
3
附 录 .................................................................................................................................................................. 27
4