基于Android的室內照明控制系統(tǒng)設計與實現(xiàn)
發(fā)布時間:2019-05-20 08:13
【摘要】:傳統(tǒng)的室內照明系統(tǒng)存在控制不方便、布線困難、智能化程度不高等問題,而隨著Android智能手機不斷發(fā)展,已經可以實現(xiàn)多種控制功能。結合WiFi無線通信技術低功耗、高傳輸速率、組網方便等特點,適合智能化的室內照明控制系統(tǒng)。基于此提出一種以Android手機為平臺,WiFi無線技術為通信方式的室內照明控制系統(tǒng)設計方案。 室內照明控制系統(tǒng)包括Android客戶端軟件、AP服務器和燈控終端。Android客戶端軟件安裝在Android智能手機上,通過手機作為系統(tǒng)控制終端。AP服務器作為WiFi接入點,允許Android手機和燈控終端通過WiFi接入,組成室內照明網絡。同時AP服務器擁有數據存儲和處理、協(xié)調數據發(fā)送等類服務器功能。燈控終端是由WiFi模塊和微控制器及相關電路組成的照明控制設備,是室內照明系統(tǒng)的最基礎部分。 本文首先分析系統(tǒng)設計的基本要求,確定系統(tǒng)設計的原則,然后針對Android客戶端軟件和硬件設計分別進行不同的需求分析。通過對比C/S模式和B/S模式下系統(tǒng)的實現(xiàn),選定基于C/S模式的系統(tǒng)方案,并進行了整體方案設計。接下來對Android客戶端軟件設計與實現(xiàn)進行了詳細的設計,包括UI設計、Android系統(tǒng)基本的功能組件、Android系統(tǒng)WiFi通信機制及Android中SQLite數據庫的實現(xiàn)。硬件部分文章詳細介紹了AP服務器的設計和WiFi-LED終端設計的硬件原理圖,,及功能的實現(xiàn)流程圖。 最后,分別對Android客戶端軟件及系統(tǒng)硬件部分進行了主要性能測試,對測試過程進行記錄,對測試結果進行分析總結。系統(tǒng)整體實現(xiàn)了通過Android手機客戶端對室內LED照明燈具進行開關、調光、分組控制等功能,實現(xiàn)了課題預期的目標,在Android手機開發(fā)與室內照明控制方面有一定的參考意義。
[Abstract]:The traditional indoor lighting system has some problems, such as inconvenient control, difficult wiring, low intelligence and so on. With the continuous development of Android smartphone, a variety of control functions can be realized. Combined with the characteristics of WiFi wireless communication technology, such as low power consumption, high transmission rate, convenient networking and so on, it is suitable for intelligent indoor lighting control system. Based on this, a design scheme of indoor lighting control system based on Android mobile phone and WiFi wireless technology is proposed. The indoor lighting control system includes Android client software, AP server and lamp control terminal. Android client software is installed on Android smartphone and used as system control terminal through mobile phone. AP server is used as WiFi access point. Allow Android mobile phone and lamp control terminal to access through WiFi to form indoor lighting network. At the same time, AP server has data storage and processing, coordination of data transmission and other server functions. Lamp control terminal is a lighting control equipment composed of WiFi module, microcontroller and related circuits. It is the most basic part of indoor lighting system. In this paper, the basic requirements of system design are analyzed, and the principles of system design are determined, and then the different requirements of Android client software and hardware design are analyzed. By comparing the implementation of the system under C / S mode and B / S mode, the system scheme based on C / S mode is selected, and the overall scheme design is carried out. Then the design and implementation of Android client software are designed in detail, including UI design, the basic functional components of Android system, the WiFi communication mechanism of Android system and the implementation of SQLite database in Android. In the hardware part, the design of AP server and the hardware schematic diagram of WiFi-LED terminal design are introduced in detail, and the flow chart of function realization is also introduced. Finally, the main performance of Android client software and system hardware is tested, the test process is recorded, and the test results are analyzed and summarized. The system realizes the functions of switching, dimming and grouping control of indoor LED lighting lamps and lanterns through Android mobile phone client, and realizes the expected goal of the project, which has certain reference significance in the development of Android mobile phones and indoor lighting control.
【學位授予單位】:杭州電子科技大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TM923;TP273
本文編號:2481495
[Abstract]:The traditional indoor lighting system has some problems, such as inconvenient control, difficult wiring, low intelligence and so on. With the continuous development of Android smartphone, a variety of control functions can be realized. Combined with the characteristics of WiFi wireless communication technology, such as low power consumption, high transmission rate, convenient networking and so on, it is suitable for intelligent indoor lighting control system. Based on this, a design scheme of indoor lighting control system based on Android mobile phone and WiFi wireless technology is proposed. The indoor lighting control system includes Android client software, AP server and lamp control terminal. Android client software is installed on Android smartphone and used as system control terminal through mobile phone. AP server is used as WiFi access point. Allow Android mobile phone and lamp control terminal to access through WiFi to form indoor lighting network. At the same time, AP server has data storage and processing, coordination of data transmission and other server functions. Lamp control terminal is a lighting control equipment composed of WiFi module, microcontroller and related circuits. It is the most basic part of indoor lighting system. In this paper, the basic requirements of system design are analyzed, and the principles of system design are determined, and then the different requirements of Android client software and hardware design are analyzed. By comparing the implementation of the system under C / S mode and B / S mode, the system scheme based on C / S mode is selected, and the overall scheme design is carried out. Then the design and implementation of Android client software are designed in detail, including UI design, the basic functional components of Android system, the WiFi communication mechanism of Android system and the implementation of SQLite database in Android. In the hardware part, the design of AP server and the hardware schematic diagram of WiFi-LED terminal design are introduced in detail, and the flow chart of function realization is also introduced. Finally, the main performance of Android client software and system hardware is tested, the test process is recorded, and the test results are analyzed and summarized. The system realizes the functions of switching, dimming and grouping control of indoor LED lighting lamps and lanterns through Android mobile phone client, and realizes the expected goal of the project, which has certain reference significance in the development of Android mobile phones and indoor lighting control.
【學位授予單位】:杭州電子科技大學
【學位級別】:碩士
【學位授予年份】:2014
【分類號】:TM923;TP273
【參考文獻】
相關期刊論文 前10條
1 沈紅雷;陳夠喜;伍玉良;;基于Android系統(tǒng)終端實現(xiàn)3G WIFI無線漫游[J];電腦開發(fā)與應用;2011年03期
2 黃帥;劉瑞通;李茜銘;李鍶;;一種C/S網絡的FPGA/CPLD實驗系統(tǒng)設計[J];電子技術;2011年02期
3 楊生強;;LED光源防爆燈散熱問題的改進[J];電氣開關;2010年03期
4 李攀;楊艷;;嵌入式車載播放系統(tǒng)軟件設計與實現(xiàn)[J];赤峰學院學報(自然科學版);2013年13期
5 張軍;;網頁設計課程中關于UI設計教學的探索體會[J];湖北美術學院學報;2009年04期
6 耿東久;索岳;陳渝;文軍;呂勇強;;基于Android手機的遠程訪問和控制系統(tǒng)[J];計算機應用;2011年02期
7 黎升洪;基于XML的動態(tài)網頁方法[J];計算機與現(xiàn)代化;2001年06期
8 金偉;;Java Socket實現(xiàn)C/S網絡通信[J];科教文匯(中旬刊);2008年05期
9 唐政維;關鳴;李秋俊;董會寧;蔡雪梅;;一種通用低成本大功率高亮度LED封裝技術[J];微電子學;2007年03期
10 詹占嵐;;智能照明控制系統(tǒng)在城市軌道交通的應用研究[J];民營科技;2012年03期
本文編號:2481495
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2481495.html
教材專著