Schematic diagram

RS485 TO WIFI ETH MQTT—Modbus测试_物联网

Hardware connection

Connect RS485 TO WIFI ETH with A-A and B-B of modbus sensor:

RS485 TO WIFI ETH MQTT—Modbus测试_数据_02

Configure the module to bit Modbus TCP - Modbus RTU mode

RS485 TO WIFI ETH MQTT—Modbus测试_TCP_03


The MQTT application test supporting Hex data is shown in the following figure

RS485 TO WIFI ETH MQTT—Modbus测试_TCP_04

中文版本

原理脑图示意

RS485 TO WIFI ETH MQTT—Modbus测试_Hardware_05

硬件连接

RS485 TO WIFI ETH MQTT—Modbus测试_TCP_06

将 RS485 TO WIFI ETH 和 modbus传感器的A-A,B-B 对应连接起来:

将模块配置位 Modbus TCP - Modbus RTU 模式

RS485 TO WIFI ETH MQTT—Modbus测试_TCP_07

在支持Hex 数据的MQTT 应用测试如下图

RS485 TO WIFI ETH MQTT—Modbus测试_TCP_08