摘要
近年来,人们越来越重视家居产品的智能性,希望能够拥有高效的住宅环境的系统,以提升生活的舒适感和幸福感。本文根据智能照明系统的相关背景和需求,并考虑到技术、成本等一系列因素,设计了一款基于安卓平台的全屋智能控制系统移动端。本课题的研究内容主要是基于安卓平台的全屋智能照明的系统设计与开发,实现一个让用户通过手机软件控制室内照明的应用程序。本设计以安卓为开发平台,拟采用便捷灵活、方便上手的开源电子原型平台NodeMCU的V3版本模块,并连接与LED灯模拟室内照明,用Lua脚本语言编程。短距离通信采用无线技术以及MQTT协议。本文设计开发了一款全屋智能照明系统,使之能通过局域网短距离通讯,从而让用户可以通过手机上的操作实现家电的控制。本设计可以手动添加住宅房间的载体进行设计。别墅的照明系统可以同时通过物理开关和移动端控制,在手机中可以查询电量消耗情况。另外,还可以控制空调、电扇等辅助功能的设备的开关。
In recent years, people have paid more and more attention to the intelligence of home products, hoping to have a system with an efficient residential environment to enhance the comfort and happiness of life. According to the relevant background and requirements of the intelligent lighting system, and considering a series of factors such as technology and cost, this paper designs a mobile terminal of the whole-house intelligent control system based on the Android platform. The research content of this topic is mainly the system design and development of whole-house intelligent lighting based on Android platform, and realizes an application program that allows users to control indoor lighting through mobile phone software. This design uses Android as the development platform, and plans to use the V3 version module of NodeMCU, a convenient, flexible, and easy-to-use open source electronic prototype platform, and connect it with LED lights to simulate indoor lighting, and use Lua scripting language to program. This paper designs and develops a whole-house intelligent lighting system, which enables short-distance communication through local area network, so that users can control home appliances through the operation on the mobile phone. This design can manually add the carrier of the residential room to design. The lighting system of the villa can be controlled through the physical switch and the mobile terminal at the same time, and the power consumption can be checked on the mobile phone. In addition, it can also control the switches of auxiliary functions such as air conditioners and fans.
出处
《软件工程与应用》
2022年第3期474-486,共13页
Software Engineering and Applications