ZigBee基于物联网的远程控制系统设计

通过手机发送短信给GSM模块上SIM卡的手机号来实现对LED灯亮灭的远程控制,且在有人进入红外探测范围时,家庭网络自动发送短信给预留的用户手机号


摘要:物联网作为一种将信息交换延伸到物品与物品之间的技术,已然成为新一代信息技术的重要组成部分。在这样的背景下,智能家居应运诞生。在智能家居系统中,无线短距离传输协议的选择是首要问题,ZigBee技术的出现则很好地解决了这一问题:它所具有的短距、低耗、可靠等优势,良好地适应了智能家居系统的环境。

本文所设计的智能家居系统,主要在ZigBee技术与GSM通信技术背景下进行。首先,文章对ZigBee技术进行了原理上的阐述,包括其层次和层次间的通信方式,并引出本设计使用的CC2530芯片;而后,对GSM技术进行了简单阐述,并引出本设计使用的SIM800A芯片。接下来,本文分系统硬件和系统软件两个部分,分别对设计方案、实验过程进行了具体的描述。硬件部分包括:ZigBee模块部分的核心,CC2530的基本特性、CC2530核心电路图、具体的外围电路图;GSM模块核心,SIM800A的基本特性、相关电路设计。软件部分包括:ZigBee主节点与ZigBee终端节点间的通信协议、GSM模块与ZigBee模块间的通信程序以及GSM相关的AT指令设定。

最后对本文中的系统进行测试,验证了本设计可以基本完成预期的只能家居系统功能。

关键词  智能家居、ZigBee、GSM、CC2530、SIM800a

毕业设计说明书外文摘要

Title  Design of Remote Control System Based on Internet of Things

       

Abstract:As a technology that extends the exchange of information between objects and articles, the Internet of Things has become an important part of the new generation of information technology. Based on the fact, the smart home was born. In this system, the choice of wireless short-range transmission protocol is the primary problem, ZigBee technology is a good solution to the problem: it has a short, low consumption, reliable and other advantages, well adapted to the intelligence Home system environment.

The smart home system in this paper mainly used the ZigBee technology and GSM communications technology. First , the article describes the principle of ZigBee technology, including its level and communication between levels, and then describes the CC2530 chip; after that, this paper gives a brief introduction to GSM technology and the SIM800A chip. Next, this paper is pided into hardware and software parts, concentrates on the description of the design plan and the experiment process. The hardware part includes: the core of ZigBee module part, the basic characteristic of CC2530, CC2530 core circuit diagram, specific peripheral circuit diagram; GSM module core, SIM800A basic characteristics, related circuit design. The software part includes the communication protocol between the ZigBee master node and the ZigBee terminal node, the communication program between the GSM module and the ZigBee module, and the GSM related AT command setting.

Finally, the system is tested in this paper, which verifies that the design can basically accomplish the expected intelligent home system function.

Keywords  Smart home、ZigBee、GSM、CC2530、SIM800a

目   次

1  绪论 1

1.1  智能家居 1

1.2  课题研究目的及意义 1

1.3  智能家居系统研究历史与现状 2

1.4  本文主要内容及章节安排 2

2  智能家居系统的设计与实现方案 4

2.1  总体设计框图 4

2.2  ZigBee技术 5

2.3  GSM技术 12

2.4  本章小结 13

3  系统模块硬件电路介绍 14

3.1  ZigBee节点电路 14

3.2  GSM模块电路 18

3.3  主节点与GSM模块连接电路 18

3.4  本章小结 19

4  系统软件设计 20

4.1  总体软件设计 20

4.2  开发软件介绍 20

4.3  ZigBee协议栈 20

4.4  AT指令 21