首页|基于Web的智能家居监测与控制平台设计

基于Web的智能家居监测与控制平台设计

扫码查看
为了提升现代家庭生活的安全性、舒适性、便捷性,设计了一种基于Web的智能家居远程监测与控制平台.平台由家居监控系统、Web服务器平台和Web监控终端三部分组成.采用STM32作为主控核心,采集各传感器模块数据,实现对室内环境的温湿度、空气质量和光照强度的实时监测.同时,通过组网对家电的调控实现远程控制,并通过物联网通信模块M5130-A实现监控系统与服务器的数据交换.Web服务器端采用模型-视图-控制器(MVC)设计模式,实现与监控系统的通信、环境数据的处理和与Web监控终端的通信功能.其中,使用传输控制协议(TCP)实现与监控系统的通信,使用Websocket协议完成服务器与监控终端的通信.运行测试结果表明,该系统稳定、精确、操作性强、人机交互性能优越,具有一定的产业化价值.
Design of a Web-based Smart Home Monitoring and Control Platform
In order to enhance the safety,comfort,and convenience of modern family life,a Web-based smart home remote monitoring and control platform was designed.The platform is composed of home monitoring system,Web server platform and Web monitoring terminal.STM32 is used as the main control core to collect data from various sensor modulesto achieve real-time monitoring temperature and humidity,air quality and light intensity of the indoor environment.At the same time,the remote control function can be realized through the regulation of household appliances through networking,and data ex-change between the monitoring system and the server can be realized through the communication module M5130-A.The web server adopts the model-view-controller(MVC)design pattern to achieve communica-tion with the monitoring system,environmental data processing,and the communication function with the web monitoring terminal.The transmission control protocol(TCP)is used to achieve communication with the monitoring system,and the Websocket protocol is used to achieve communication between the server and the monitoring terminal.The results of the operation test indicate that the system is stable,accurate,highly operable,and has excellent human-machine interaction,which has certain industrialization value.

remote controlreal-time monitoringSTM32M5130-ATCPWebsocket

李国玄、王文博、马凯凯

展开 >

商丘工学院机械工程学院,河南商丘 476000

远程控制 实时监测 STM32 M5130-A TCP Websocket

2022年度商丘工学院一般研究项目

2022KYXM22

2024

沧州师范学院学报
沧州师范学院

沧州师范学院学报

影响因子:0.151
ISSN:2095-2910
年,卷(期):2024.40(1)
  • 9