摘 要: 随着工业互联网的快速发展,智能化远程控制成为现代工业发展的必然趋势,目前主流的基于TCP/IP网 络连接方式是一种MQTT通信协议,它可以通过发布和订阅方式进行数据双向通信,是面向物联网远程通信的轻量级连 接协议。本文设计一种基于MQTT通信协议在ESP32硬件平台上的远程控制设计方案,利用Python语言编程实现远程控 制功能,并通过MQTT通信协议方式实现远程控制风扇。实验结果表明:该系统数据通信稳定和可靠性强,具有一定的 应用前景。 |
关键词: ESP32;MQTT;Python |
中图分类号: TP323
文献标识码: A
|
|
Design of Remote Control System based on ESP32 Platform and MQTT Protocol |
WANG Hao
|
( Institute of Arti cial Intelligence, Suzhou Chien-shiung Institute of Technology, Taicang 215411, China )
769623995@qq.com
|
Abstract: With the fast development of the industrial Internet, intelligent remote control has become the inevitable trend of the modern industry development. At present, the main TCP/ IP-based network connection mode is an MQTT (Message Queuing Telemetry Transport) communication protocol. As a lightweight connection protocol for Internet of Things telecommunication, it allows two-way data communication via publishing and subscription. This paper designs a remote control plan on the ESP32 hardware platform based on MQTT communication protocol. It uses Python as the programming language to realize remote control and remote control fans through MQTT communication protocol. The experiment result shows that the data communication of this system is stable with higher reliability, and has a certain application prospect. |
Keywords: ESP32; MQTT; Python |