RS485 TO ETH (B) Connect Alibaba Cloud And EMQX
From Waveshare Wiki
Hardware Connection
Preparation
- PC x 1
- RS485 TO ETH(B) x 2
How To Connect
Software Preparation
Start Communication
- Open Vircom->Device Management-> Double-click the corresponding device ->Firmware Config->MQTT Config.
- Alibaba cloud platform -> Device -> Device Information.
- Configure the MQTT parameters of the Alibaba Cloud IoT platform to one of the RS485 TO ETH (B).
- Download MQTT parameters to RS485 TO ETH(B).
- Check the parameter of MQTT text in the corresponding file.
- Config MQTT parameter -> The Link light of RS485 TO ETH changes from yellow to blue -> successfully connected to the MQTT server
- IoT platform device display offline -> online.
- RS485 TO ETH(B) sends data to Alibaba Cloud MQTT server.
- Alibaba Cloud IoT platform sends information to RS485 TO ETH(B).
- RS485 TO ETH (B) Connect Alibaba Cloud and EMQX (optional).
Open Vircom->Device Management->Double-click the corresponding device->Firmware Config->MQTT Config.
- Configure EMQX's MQTT parameters to another RS485 TO ETH(B)
- Alibaba Cloud sends data to EMQX: Hello, EMQX!
- EMQX sends data to Alibaba Cloud: Hi, ALY!