Using M5Stack to connect to MakerCloud

MakerCloud UiFlow Custom

UiFlow already has MQTT capability, but the steps to connect to MakerCloud are more complicated. In order to connect M5Stack to MakerCloud, users can download and use Custom:

MakerCloud UiFlow Custom

Connect MakerCloud

Join the MakerCloud Custom on UiFlow

  1. Click on the Custom(Beta) column and select "Open .m5b file".
  2. Open the downloaded "MakerCloud1.m5b".

img_3.gif

  1. After opening the file, you can find blocks that work with MakerCloud in Custom.

img_4.png

Connect MakerCloud

  1. Click on the "Advanced" column, then click on the "MQTT" column.
  2. Under Setup, add the building blocks for setting up MQTT.
  3. Click the "MakerCloud" column and add the "MakerCloud server" block to the "server" of the MQTT setup block.

img_8.gif

4.Add "mqtt start" to the setup building block.

img_9.png

  1. When using MQTT blocks, programming must be downloaded to M5Stack. Click the option in the upper right corner and then click "download".

img_7.png

After the download is successful, M5Stack will be connected to MakerCloud.