摘 要随着人们对生活质量要求的提高以及智能家电的发展,普通家庭使用的智能家电设备逐渐增多,迫切需要集中地控制家电设备。与此同时,随着智能手机性能的提升以及移动互联网的发展,智能手机已经成为人们生活不可或缺的一部分, 未来将成为智能家居控制系统的主流控制终端。在这样的背景下,本文研究了基于手机加速度传感器和陀螺仪的智能家居控制系统,该系统以 Wi-Fi 通信技术为基础,以 Android 智能手机作为控制终端,以手势作为控制方式。本文在阐明智能家居控制系统的课题背景以及研究意义后, 介绍了实现系统所需的 Wi-Fi 通信技术、手势识别以及 WebService 技术;在分析了系统的功能需求后,给出了基于智能手机加速度传感器和陀螺仪的智能家居控制系统的总体设计方案。在对系统进行总体设计后,本文分别对手机控制端的家电控制、入网设备注册、文件共享以及交互模块进行详细设计与实现,并且在家电控制模块中详细说明了系统采用的手势识别算法,然后对系统服务端的网络服务、命令解析以及命令处理模块分别进行了设计与实现。最后,本文对系统的各个功能模块进行了黑盒测试,同时对 Wi-Fi 网络丢包率及手势识别率进行实验测试,并对测试结果进行了分析。关键词:Android智能家居Wi-Fi手势识别智能手机AbstractWith the pursuit of a better life quality and more interests in smart home gradually, intelligent appliances have entered into ordinary families and thus a centralized control system for these appliances is essential. At the same time, smart phones have become an indispensable part of people’s life for their improving performance and the rapid mobile internet. Therefore they will play an important role in centralized control system of the smart home in the future.Against such a backdrop, this paper studies the smart home control system using smart phones embedded with accelerometers and gyroscopes. The system selects an Android smart phone as the terminal to control applicances by recognizing users’ gesture communicating via Wi-Fi. After a description of the research significance and status of the smart h...