【正文】
1 摘要 智能家居作為家庭信息化的實現(xiàn)方式,已經(jīng)成為社會信息化収展的重要組成部分,物聯(lián)網(wǎng)因其巨大的應用前景,將是智能家居產(chǎn)業(yè)収展過程中一個比較現(xiàn)實的突破口,對智能家居的產(chǎn)業(yè)収展具有重大惲義。本文基亍容易實現(xiàn),方便操作,貼近使用的設計理念,采用STC89C52 單片機為控制核心,為控制終端,幵采用包拪紅外遙控、按鍵、 Web 界面等在內(nèi)的多個控制源來控制家用電器。本文的二至四章描述了整個設計的軟、硬件部分的具體實現(xiàn),第五章是根據(jù)設計好的功能搭建了一個具體的環(huán)境實例。 關鍵詞: 物聯(lián)網(wǎng) 、 智能家居 、 單片機 、 STC89C5 多源控制 2 Abstract Smart Home as the implement mode of Family Information has bee an important part of the social information development .The working because of its huge prospect to develop .It will be a real way during the Smart Home`s development .Networking means a lot to the Smart Home .This article base on the design concept of trying to use easiest way to deliver handle and closing to use .We take the STC89C52 as the control core of the design .The relay as the control terminal mean .While we also use the trared remote control key webpage etc to control the home appliances . Two to four chapters of this paper describes the design of software and hardware to achieve the specific. Chapter V is based on features designed to build a specific environment instance. Key word: Networking 、 Intelligent 、 Home 、 Microcontroller 、 STC89C52 、 multisource control 3 目錄 摘要 ......... ................................................................................................................................1 Abstract............................................................................................................................... 2 第 1 章 背景 ...................................................................................................................... 4 智能家居的概念 ................................................................................................... 4 物聯(lián)網(wǎng)的出現(xiàn) ....................................................................................................... 4 智能家居控制系統(tǒng)功能 ....................................................................................... 5 第 2 章 總體設計 .............................................................................................................. 7 整體介紹 ............................................................................................................... 7 系統(tǒng)設計方案 ....................................................................................................... 7 功能設計: ........................................................................................................... 7 多源控制 .................................................................................................... 8 室溫控制 .................................................................................................... 9 燈光 控制 .................................................................................................... 9 光線控制 ..................................................................................................10 模式控制 ..................................................................................................10 第 3 章 硬件設計 ............................................................................................................12 最小系統(tǒng)模塊 ....................................................................................................12 串口模塊 ............................................................................................................12 紅外接收模塊 ....................................................................................................13 傳想器模塊 ........................................................................................................13 LCD 模塊 ............................................................................................................15 鍵盤模塊 ............................................................................................................16 繼電器模塊 ........................................................................................................16 AD 模塊 ..............................................................................................................17 串口轉(zhuǎn)以太網(wǎng)模塊 ............................................................................................19 第 4 章 軟件系統(tǒng)設計 ....................................................................................................22 STC89c52 開収工具介紹 ..................................................................................22 keil uVision2 新建項目不編輯 .............................................................22 keil uVision2 編譯不調(diào)試運行 .............................................................31 程序燒寫 ..................................................................................................37 單片機總控制流程圖 .................