基于Android平臺的LED照明Wifi控制
本文關(guān)鍵詞: LED照明 Android Wifi軟件 智能控制 出處:《中國計(jì)量學(xué)院》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:傳統(tǒng)的照明控制系統(tǒng)需要進(jìn)行復(fù)雜的布線,并且結(jié)構(gòu)體系龐大,適用于室外照明。本文提出的Wifi控制方式,其組織架構(gòu)簡潔,適用于室內(nèi)照明。本文主要研究了在Android系統(tǒng)平臺上開發(fā)一款LED燈光控制軟件;在LED燈具上接入嵌入式Wifi模塊;通過操作Android手機(jī)上的燈光控制軟件就可以控制LED燈具的照明效果。其中實(shí)現(xiàn)LED照明控制效果的核心是Wifi無線通信模塊以及基于Android系統(tǒng)平臺的LED燈光控制軟件。本文主要研究內(nèi)容可以分為: 1、研究并設(shè)計(jì)了Wifi通信模塊的電路原理圖、Wifi模塊的運(yùn)行框架和Wifi模塊的移植。 研究并選擇了Wifi模塊的核心芯片;Wifi模塊的電路原理圖;Wifi模塊的運(yùn)行框架結(jié)構(gòu)以及Wifi模塊的移植。Android程序一般通過使用Wifi類管理Wifi模塊,Wifi類能夠獲得Wifi模塊的狀態(tài),并可以配置和控制Wifi模塊,而這些所有的操作都是通過WifiService類來實(shí)現(xiàn)的。深入研究了Android開發(fā)平臺下Socket通信機(jī)制,包括客戶端和服務(wù)器端的實(shí)現(xiàn)。 2、設(shè)計(jì)并實(shí)現(xiàn)了運(yùn)行在Android平臺上的LED燈光控制軟件。 首先設(shè)計(jì)LED燈光控制軟件的框架,根據(jù)框架分為不同的功能模塊。主要可以分為用戶登錄、Wifi熱點(diǎn)設(shè)備掃描連接、LED單色光控制、LED RGB控制。軟件設(shè)計(jì)的重點(diǎn)是Android程序中Activity與Activity之間的跳轉(zhuǎn)機(jī)制,以及Android工程與Wifi硬件電路模塊的無線通信協(xié)議的實(shí)現(xiàn),從而達(dá)到對LED燈具照明效果的控制。
[Abstract]:The traditional lighting control system the need for complicated wiring, and the structure of the system is huge, suitable for outdoor lighting. Wifi control method is proposed in this paper, the structure is simple, suitable for indoor lighting. This paper mainly studies the development of a LED light on the platform of Android system access control software; embedded Wifi module in LED lamps; the lighting effect through the operation of Android mobile phone on the lighting control software can control the LED lamp. The effect of the lighting control LED core implementation is the Wifi wireless communication module and the LED lamp light control system based on Android software. The main research contents of this paper can be divided into:
1, the circuit schematic diagram of the Wifi communication module, the running frame of the Wifi module and the transplantation of the Wifi module are studied and designed.
Research and selection of the core chip Wifi module; circuit principle diagram of Wifi module; framework of Wifi module and Wifi module of the.Android transplant procedures generally through the use of Wifi class Wifi management module, Wifi can obtain the status of the Wifi module, and can configure and control Wifi module, and all these operations are achieved through the WifiService class. We deeply studied the communication mechanism of Socket Android development platform, including the realization of the client and the server.
2, the design and implementation of the LED lighting control software running on the Android platform.
The design framework of LED lighting control software, according to the framework is divided into different functional modules. It can be divided into user login, Wifi hot spot scanning equipment connected LED monochromatic light control, LED RGB control. The key of software design is the jump mechanism between Activity and Activity in Android program, and Android and Wifi hardware engineering the circuit module of the wireless communication protocol, to achieve control of the LED lighting effect.
【學(xué)位授予單位】:中國計(jì)量學(xué)院
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TM923.34;TN92
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 陳法海;楊斌;;Android系統(tǒng)中Wi-Fi網(wǎng)絡(luò)的研究與實(shí)現(xiàn)[J];成都信息工程學(xué)院學(xué)報(bào);2010年05期
2 沈娣麗;孟雅俊;路程;李新華;明五一;;基于Wi-Fi的溫室大棚監(jiān)測控制系統(tǒng)[J];中國農(nóng)機(jī)化;2012年01期
3 張周;周劍揚(yáng);閆沫;;ZigBee在智能家居系統(tǒng)中的應(yīng)用研究[J];工業(yè)控制計(jì)算機(jī);2006年12期
4 苗振興;馬幼鳴;周鳴爭;;基于Android平臺的WiFi文件傳輸系統(tǒng)的設(shè)計(jì)[J];長江大學(xué)學(xué)報(bào)(自然科學(xué)版);2013年07期
5 王立剛;建天成;李晶晶;;智能LED照明系統(tǒng)的研究與設(shè)計(jì)[J];黑龍江大學(xué)自然科學(xué)學(xué)報(bào);2009年04期
6 黃皎;吳明春;陸曉春;劉修峰;丁彥;;Wi-Fi與嵌入式設(shè)備的融合技術(shù)研究[J];計(jì)算機(jī)工程;2011年08期
7 黃藝鋒;閆巧;;基于Android平臺電子詞典的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)應(yīng)用;2011年S2期
8 劉燦高;;淺談PLC控制的照明智能控制系統(tǒng)設(shè)計(jì)[J];科技經(jīng)濟(jì)市場;2007年04期
9 徐志堅(jiān);;自動控制在學(xué)校教學(xué)樓照明系統(tǒng)中的應(yīng)用[J];寧夏工程技術(shù);2011年01期
10 吳世玉;曾強(qiáng);趙娟;張志杰;;基于Wi-Fi的遠(yuǎn)距離無線數(shù)據(jù)采集系統(tǒng)[J];核電子學(xué)與探測技術(shù);2012年08期
,本文編號:1531788
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/1531788.html