天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

基于STM32智能家居的無線網(wǎng)關設計與實現(xiàn)

發(fā)布時間:2018-01-19 01:18

  本文關鍵詞: 智能家居 STM32 ZigBee CC2530 WiFi ESP8266 uC/OS-Ⅱ 出處:《浙江理工大學》2017年碩士論文 論文類型:學位論文


【摘要】:經(jīng)濟的發(fā)展與技術的進步帶動著人們更加渴望高品質的生活質量,作為當今產業(yè)大熱門的智能家居逐漸成為市場關注的焦點,很多科技公司紛紛開發(fā)出自己的產品。不過由于浮夸的宣傳,不合理的定位和高昂的價格,導致了消費者紛紛對智能家居產品望而卻步,行業(yè)呈現(xiàn)出叫好不叫賣的現(xiàn)象。鑒于此種情況,本文定位于智能家居中低端產業(yè),開發(fā)設計出一款簡單實用、價格低廉的智能家居控制網(wǎng)關系統(tǒng),目的是在于讓普通人也可以享受科技發(fā)展的成果。該網(wǎng)關系統(tǒng)綜合了電子技術、計算機技術、通信技術等多種技術,從硬件和軟件兩個方面對控制網(wǎng)關進行深入研究,最終實現(xiàn)對家居環(huán)境遠程監(jiān)測的目的。在硬件方面,該控制網(wǎng)關系統(tǒng)采用以單片機為硬件控制平臺,以供電模塊、時鐘模塊、EEPROM模塊等眾多外圍電路模塊為輔助,結合ZigBee與WiFi無線通訊技術,完成對智能家居網(wǎng)關系統(tǒng)的搭建工作。該網(wǎng)關系統(tǒng)的單片機采用功能強大、價格低廉基于ARM 32位Cortex?-M3的STM32F103RCT6,它主要負責對家居環(huán)境的任務調度,智能控制;ZigBee部分采用主芯片為CC2530的無線通信模塊,該模塊主要包括兩個部分:協(xié)調器和終端節(jié)點,終端節(jié)點除了通信部分,還包括溫濕度傳感器、光線傳感器、煙感傳感器等部分,它負責完成對數(shù)據(jù)的采集、打包和發(fā)送工作,協(xié)調器則負責把終端節(jié)點發(fā)送的數(shù)據(jù)進行重新打包然后通過串口傳送給主控模塊;WiFi部分采用的是價格低廉、功能實用的ESP8266WiFi通信模塊,該模塊有三種工作模式:STA、AP和STA/AP,使得WiFi部分兼具連接熱點和發(fā)送熱點兩種功能,該模塊負責智能家居控制單元和外界通信的工作,它通過串口和控制單元通信,然后通過WiFi網(wǎng)絡發(fā)送接收信息。在軟件方面,控制網(wǎng)關采用以Keil和IAR為開發(fā)環(huán)境,以uC/OS-Ⅱ操作系統(tǒng)為程序運行環(huán)境,結合C語言及少量匯編語言,共同完成系統(tǒng)的軟件控制工作。Keil和IAR作為開發(fā)環(huán)境可以進行程序檢測、燒錄等輔助工作,大大減輕了工作量;uC/OS-Ⅱ操作系統(tǒng)短小精煉、功能強大的特點,使得硬件資源可以更加合理的利用,有助于節(jié)約成本,同時也讓控制網(wǎng)關系統(tǒng)可以實時多任務執(zhí)行,增強了系統(tǒng)功能;此外充分合理利用了網(wǎng)絡庫函數(shù)資源,大大節(jié)約了學習與開發(fā)進度。設計的智能家居網(wǎng)關系統(tǒng)關鍵在于構建一個智能家居技術平臺,實現(xiàn)對家居內溫度、濕度、光線強度和煙霧濃度等家居環(huán)境數(shù)據(jù)的采集與發(fā)送,實用性強、成本低廉是它的特色,完成這個平臺的搭建,以后進行系統(tǒng)升級將會非常簡單。不過課題主要是研究智能家居的下位機部分,對于遠程數(shù)據(jù)的發(fā)送與接收則采用網(wǎng)絡調試助手工具。
[Abstract]:With the development of economy and the progress of technology, people are eager for high quality of life. As a hot industry, smart home has gradually become the focus of attention in the market. Many technology companies have developed their own products, but because of grandiose publicity, unreasonable positioning and high prices, consumers have been deterred by smart home products. In view of this situation, this paper focuses on the low-end industry of smart home, and develops and designs a simple and practical intelligent home control gateway system with low price. The goal is to enable ordinary people to enjoy the fruits of the development of science and technology. The gateway system integrates electronic technology, computer technology, communication technology and other technologies. From the hardware and software aspects of the control gateway in-depth study, and finally achieve the purpose of remote monitoring of the home environment. In hardware, the control gateway system uses single-chip microcomputer as the hardware control platform. With power supply module, clock module, EEPROM module and other peripheral circuit modules as assistance, combined with ZigBee and WiFi wireless communication technology. To complete the building of smart home gateway system. The single chip microcomputer of the gateway system is powerful and cheap based on ARM 32-bit Cortex-based. M3 STM32F103RCT6, it is mainly responsible for the home environment task scheduling, intelligent control; The ZigBee part uses the main chip as the CC2530 wireless communication module, this module mainly includes two parts: the coordinator and the terminal node, the terminal node in addition to the communication part, also includes the temperature and humidity sensor. Light sensor, smoke sensor and other parts, it is responsible for data collection, packaging and sending work. The coordinator is responsible for repackaging the data sent by the terminal node and transmitting it to the main control module through the serial port. The WiFi part uses the low-cost, functional ESP8266WiFi communication module, this module has three working modes: STAAP and STA/AP. The WiFi part has two functions of connecting hot spot and sending hot spot. The module is responsible for the communication between the intelligent home control unit and the outside world. The module communicates with the control unit through the serial port. In software, the control gateway adopts Keil and IAR as the development environment and UC / OS- 鈪,

本文編號:1442008

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/shoufeilunwen/xixikjs/1442008.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權申明:資料由用戶01166***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com