Font Size: a A A

Smart Home System’s Design Based On Android Platform

Posted on:2016-09-20Degree:MasterType:Thesis
Country:ChinaCandidate:Q LiFull Text:PDF
GTID:2272330470966063Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
The smart home become reality from imagination gradually while the traditional smart home is difficult to promote in the market because of it is not easy to control, high cost, complex wiring and hard to maintain. And with the popularity of Android smart phone, it become a hot spot to choose it as the control device. Combining with the characteristics of easily ZigBee network, low power consumption, low cost and so on, Android smart phone is very suitable for the bottom level network of smart home system. So this paper process a system scheme that controlling the equipment of smart home with choosing the Android smart phone as the control terminal and the technology of ZigBee as the intranet of smart home.This system includes tree parts of the software of Android client, the server of family gateway and the terminal’s children nodes who is controlled. After the corresponding software is installed on Android smart phone, the phone initiate a connection to the home network and receives data form the server by the wifi and display the information on the phone. Family gateway includes the server of ARM and the ZigBee coordinator, it is used to connect the communication between the control terminal and the controlled terminal as a bridge between them. On one hand, the server of ARM receives the client’s instructions and sends them to ZigBee coordinator through the serial port; on the other hand, it receives data form coordinator and finally real-time display them on client. The controlled terminal builds a internal network of home with the technology of ZigBee wireless network and allocates the address of every child’s node through the ZigBee coordinator. The coordinator is used not only to receive from the instructions of the server of ARM but also receive the environmental information that collected by the controlled terminal.After determined the system’s scheme, this thesis analysis the feasibility of this system from the several pasts such as cost,operability, expand ability and security. Then it introduces the detailed design of the Android terminal that including the interface design of the client, the realization of socket communication based on TCP protocol and SQLite database. Then this paper chooses the server’s hardware and software platform of the family gateway and realizes the design of a multi-threaded concurrent server based on Linux platform. At last this paper introduces the design of hardware of the controlled child’s node of the lamp and the electric curtain. The thesis finished the design of schematic,drew the PCB and welded it,then programmed on the hardware platform to achieve the communication with the server.After the completion of the overall system design, this paper respectively tested the client’s function and the interface adaptive testing, then recorded the testing process and analyzed the results. The test results shows that the system realized to control the switch of light, intelligent dimming, adjusted the electric curtain dynamic and controlled the air condition though an Android phone.
Keywords/Search Tags:smart home, Android, technology of ZigBee, ZigBee coordinator, socket communication
PDF Full Text Request
Related items