【正文】
I 基于物聯(lián)網(wǎng)的智能家居系統(tǒng) Smart Home System based on EPC System Network 設 計 報 告 II 摘 要 智能家居是以住宅為平臺,利用綜合布線技術、網(wǎng)絡通信技術、 智能家居 系統(tǒng)設計方案安全防范技術、自動控制技術、音視頻技術將家居生活有關的設施集成,構建高效的住宅設施與家庭日程事務的管理系統(tǒng),提升家居安全性、便利性、舒適性、藝術性,并實現(xiàn)環(huán)保節(jié)能的居住環(huán)境。本系統(tǒng)采用 S3C24 PXA270、 AT89S52 等芯片進行系統(tǒng)控制。利用 IP 網(wǎng)和串口進行通信。實現(xiàn)了實時監(jiān)控、實時溫度控制、門禁系統(tǒng)等。并且在娛樂方面利用了 QT與 FFMPEG開發(fā)了嵌入式視頻播放器,支持的解碼文件有 H26 AVI、 MPEG 3GP 等。而且提供了文本閱讀、電子相冊與主題變換等功能。 關鍵詞: 智能 家居 ; 網(wǎng)絡通信 ; 實時監(jiān)控 ; QT; FFMPEG III Abstract Intelligent household is for the platform, and using of prehensive housing muting technology, work munication technology and intelligent household the system design scheme security presentation technology, automatic control technology, audio and video technology will household life relevant facilities integration, constructing efficient residential facilities and family affairs of the schedule management system management sys tem, ascending household safety, convenience, fort, artistic, and realize environmental protection and energy saving living environment. This system USES S3C2410,PXA270, AT89S52 devices such as chips for system control. Using IP s and serial interface munication. Realize the realtime monitoring, realtime temperature control, entrance guard system, etc. And in entertainment use QT FFMPEG developed with the video player, support embedded documents are H264, decoding of AVI, mpeg4, 3GP, etc. But also provides text reading, electronic albums and theme transform, and other functions. Key words: Intelligent household; work munication; realtime monitoring; QT;FFMPEG 目 錄 基于物聯(lián)網(wǎng)的智能家居系統(tǒng) ......................................................................................................................I 摘 要 .................................................................................................................................................. II Abstract .................................................................................................................................................. III 目 錄 ..................................................................................................................................................... 4 第一章 緒論 ....................................................................................................................................... 1 智能家居的現(xiàn)狀與開發(fā)意義 ....................................................................................................... 1 論文主要內(nèi)容 ............................................................................................................................ 1 第二章 智能家居的總體設計方案 ........................................................................................................... 3 系統(tǒng)核心控制軟件流程及其說明 ................................................................................................ 3 Linux 內(nèi)核移植 .......................................................................................................................... 4 QT Embedded 移植 .................................................................................................................... 5 第三章 智能家居多功能娛樂系統(tǒng) ........................................................................................................... 7 基于 QT 和 FFMPEG 的嵌入式播放器 ........................................................................................ 7 FFMPEG 簡介 .................................................................................................................. 7 FFMPEG 及其編解碼庫的移植 ......................................................................................... 8 FFMPEG 解碼流程 ........................................................................................................... 9 基于 Qt 的嵌入式播放器的實現(xiàn) ........................................................................................ 9 播放器的邏輯結構 ......................................................................................................... 13 基于 QtNetwork 和 V4L 的視頻監(jiān)控系統(tǒng) .................................................................................. 16 V4L 簡介 ....................................................................................................................... 16 基于 V4L 的視頻采集與傳輸 .......................................................................................... 18 基于 QT MVC 結構的電子相冊 ................................................................................................ 22 QT 的 MVC 結構 ........................................................................................................... 22 相冊的文件遍歷 ............................................................................................................. 23 相冊的漸變效果 ............................................................................................................. 24 多功能電子書 .......................................................................................................................... 24 第四章 智能家居的 控制系統(tǒng) .................................................................................................................. 26 基于博創(chuàng) UPSTAR2410 的無線遙控器 ...................................................................................... 26 第五章 特色 ......................................................................................................................................... 28 附錄 A ................................................................................................................................................... 29 1 第一章 緒論 智能家居的現(xiàn)狀與開發(fā)意義 20 世紀 80 年代初,隨著大量采用 電子技術 的家用電器面市,住宅電子化( HE,Homen Electronics)出現(xiàn)。 80 年代中期,將家用電器、通信設備與安保防災設備各自獨立的功能綜合為一體后,形成了 住宅自動化 概念( HA, Home Automation)。 80 年代末,由于通信與 信息技術 的發(fā)展,出現(xiàn)了對住宅中各種通信、家電、安保設備通過總線技術進行監(jiān)視、控制與管理的商用系統(tǒng),這在 美國 稱為 Smart Home,也就是現(xiàn)在智能家居的原型。 中國人口 眾多,城市住宅也多選擇密集型的 住宅小區(qū) 方