EasyManuals Logo

Waveshare RS485 TO ETH User Manual

Waveshare RS485 TO ETH
36 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #34 background imageLoading...
Page #34 background image
485 TO ETH (B) User Manual
34 / 36 www.waveshare.com
Use the same baud rate as the device to open the serial port and send data "dev send",
and then see the returned data "dev send" in the receiving window. This is because we
publish the dev send message to the MQTT server under the subject of sub. But at the
same time our device is also subscribed to the topic sub, so the server will immediately
send us a subscription message, and the content of the subscription message is dev send.
This information is sent and downloaded as the MQTT payload, and is output from the serial
port through transparent transmission.
If other devices publish information, this device can also receive the data.
Generally speaking, users can directly transparently transmit serial port commands
(such as Modbus RTU) commands to the MQTT server. In addition, you can also use the
JSON function, using automatic Modbus RTU format collection, and regular JSON format
uploading. In addition, you can also find WAVESHARE to customize some non-standard
instruments and host computer protocol formats.
6. MQTT+JSON TO MODBUS RTU
Combining the above JSON and MQTT can achieve the following functions:
1. The MQTT-based protocol is used to establish a connection with the server, and data
communication is carried out in the form of subscription and publication.
2. Support independent design and automatic collection of Modbus RTU registers.
3. Support the conversion of specific Modbus register content into JSON format and send it
regularly and actively.
4. Support adding device ID to JSON format to facilitate cloud identification of devices.
If you need MQTT+JSON to Modbus RTU function, you can design MQTT and JSON
separately, in no particular order. Do not click the "Clear Design" button after designing one
type. After the two designs are finished, click the "Download" button together to download
the contents of the device.
Generally, you can manually restart the device after downloading to load the settings.
7. HTTP POST/GET+JSON
In addition to MQTT, the host computer protocol can also choose HTTP protocol, and
upload data through POST and GET instructions. Let's take the POST command as an
example to introduce.
If you need to support the POST/GET+JSON function, choose the Vircom
configuration tool to select version 5.17 and above; if you need to support POST command,
it needs to be version 5.81 and above (only If you support GETyou can use the ordinary

Other manuals for Waveshare RS485 TO ETH

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Waveshare RS485 TO ETH and is the answer not in the manual?

Waveshare RS485 TO ETH Specifications

General IconGeneral
InterfaceRS485 to Ethernet
Ethernet Port10/100Mbps
RS485 Port1 port
Baud Rate300bps ~ 115200bps
Communication InterfaceEthernet, RS485
ProtectionSurge protection
Operating Temperature-40°C to 85°C
Communication ProtocolTCP/IP, UDP
Storage Temperature-40℃ ~ 85℃
Humidity5% ~ 95%
FunctionRS485 to Ethernet converter

Related product manuals