【正文】
I 摘 要 隨著物聯(lián)網(wǎng)技術(shù)的發(fā)展和人們對(duì)物質(zhì)生活水平的要求的不斷提高,人們對(duì)生活的安全、舒適、便捷等方面的要求也越來越高。近年來人們對(duì)家庭住宅觀念發(fā)生了巨大改變,智能家居將成為現(xiàn)代化住宅的發(fā)展趨勢(shì)。對(duì)于它的研究和開發(fā),是一項(xiàng)有關(guān)自動(dòng)控制、無線連接、無線通信多學(xué)科交叉的研究課題。 本文以物聯(lián)網(wǎng)的發(fā)展為背景,通過學(xué)習(xí)研究物聯(lián)網(wǎng)的相關(guān)技術(shù),明確物聯(lián)網(wǎng)的關(guān)鍵技術(shù)包括: RFID 標(biāo)識(shí)技術(shù)、傳感網(wǎng)技術(shù)、 M2M 技術(shù)。在硬件方面,采用了 GPRS 模塊作為遠(yuǎn)程人機(jī)交互手段,接收和發(fā)送信息。利用器件組成 ZigBee 網(wǎng)絡(luò)實(shí)現(xiàn)短距離的無線 網(wǎng)絡(luò)通信,并詳細(xì)闡述了各硬件模塊的功能和實(shí)現(xiàn)方法。 GPRS 模塊軟件方面,利用 AT 指令編寫程序,實(shí)現(xiàn)用戶手機(jī)的短信收發(fā)過程;利用單片機(jī)實(shí)現(xiàn)了對(duì)家用電器的控制。在智能家居控制系統(tǒng)中應(yīng)用了星型網(wǎng)的網(wǎng)絡(luò)拓?fù)?,通過 ZigBee 網(wǎng)實(shí)現(xiàn)了節(jié)點(diǎn)之間無線通信。 關(guān)鍵詞:物聯(lián)網(wǎng);智能家居; ZigBee; GPRS;遠(yuǎn)程控制 II ABSTRACT As the development of the Inter of Things, the standards of material life are continually improved. The requires of the safe, fortable and convenient are also raised. In recent years, there are huge changes on the concept of family house on people’s mind。 and the smart home will be the trend of modern house. The research and development of it is about the automatic control, wireless connection and wireless munications study subjects. This article is based on the development of the Inter of studying the technology of the Inter of Things, and kowing that the key technologys include : RFID identify the work technology, sensing technology, M2M. In the hardware, the module GPRS is used as the remote interaction of manmachine。 by sending and receiving messages. To realize wireless munication in short distance, some equipment are used to form a ZigBee . And tell the details of every module’s function and method to realize. In GPRS software modules, the program is edited by AT instruction and realized the process of sending and receiving messages. The control of household appliances bees true by the single chip. Network topology structure of star is applied in the smart house control system。 by using the of ZigBee that the wireless munication between nodes is realized. Key words: Inter of Things。 Smart Home。 ZigBee。 GPRS。 Remote Control 目 錄 前言 ....................................................................................................................... 1 1 緒論 ................................................................................................................... 2 物聯(lián)網(wǎng)技術(shù)概述 ............................................................................................. 2 智能家居概述 .............................................................................................. 3 智能家居的發(fā)展 ............................................................................................. 3 智能家居系統(tǒng)的特點(diǎn) ..................................................................................... 4 本章小結(jié) ......................................................................................................... 4 2 物聯(lián)網(wǎng)相關(guān)通信技術(shù)的原理 ............................................................................ 5 ZigBee 無線技術(shù) ............................................................................................. 5 ZigBee 的概念 .............................................................................................. 5 ZigBee 的協(xié)議棧 .......................................................................................... 5 ZigBee 的應(yīng)用領(lǐng)域和應(yīng)用前景 ................................................................. 10 ZigBee 應(yīng)用于家庭網(wǎng)絡(luò)中的關(guān)鍵問題 ......................................................11 GPRS 網(wǎng)絡(luò)技術(shù) ..............................................................................................11 本章小結(jié) ....................................................................................................... 12 3. 智能家居系統(tǒng)設(shè)計(jì)方案 ................................................................................. 13 智能家居系統(tǒng)總體設(shè)計(jì)思想 ....................................................................... 13 系統(tǒng)工作過程 ............................................................................................... 14 應(yīng)用技術(shù)分析 ............................................................................................... 14 無線傳輸技術(shù) ............................................................................................ 14 GPRS 技術(shù) .................................................................................................. 15 系統(tǒng)控制器技術(shù) ........................................................................................ 17 智能家居的系統(tǒng)設(shè)計(jì) .................................................................................... 18 主處理器的選取 ........................................................................................ 18 ............................................................................................. 18 本章小結(jié) ....................................................................................................... 19 4 系統(tǒng)硬件設(shè)計(jì) .................................................................................................. 20 復(fù)位電路 ........................................................................................................ 20 單片機(jī)晶振電路 ........................................................................................... 21 ZigBee 無線傳輸電路 ................................................................................... 21 GPRS 無線傳輸電路 ..................................................................................... 22 家電控制電路 ............................................................................................... 24 本章小結(jié) ....................................................................................................... 24 5 智能家居系統(tǒng)軟件設(shè)計(jì) .................................................................................. 25 通信協(xié)議的定義 ........................................................................................... 25 手機(jī)與 TC35i模塊之間的通信協(xié)議 ......................................................... 25 ZigBee模塊與上位機(jī)的通信協(xié)議 .......................................................... 25 系統(tǒng)程序設(shè)計(jì) ............................................................................................... 25 TC35i短信收發(fā)程序 ...........