FutureBoard and MakerCloud

Setting Up MakerCloud

Follow the instructions to set up MakerCloud platform.

UsingMakerCloud

KittenBlock Programming

Connecting to MakerCloud

Build the following program to connect to MakerCloud with the parameters.

  • MQTT Host: mqtt.makercloud.scaleinnotech.com

  • ID: Does not matter

../../_images/mc110.png

Publishing to MakerCloud topic

Build the following program to publish data to MakerCloud.

Copy the topic from MakerCloud.

The data published must follow the following format: _dn=[something],_dsn=[something],[valueField]=[DATA]

For example, if you are publishing “John “to a field called name, the data format will be “_dn=future,_dsn=future,name=John”

../../_images/mc28.png

../../_images/mc33.png

The published data can be seen on MakerCloud.

../../_images/mc82.png

Subscribing to MakerCloud topic

Build the following program to subscribe and read data from MakerCloud.

../../_images/mc43.png

../../_images/mc52.png

If the data contains information such as _dn, you can trim off these data with this algorithm.

../../_images/mc6.jpg

../../_images/mc72.png

../../_images/mc9.jpg

Alternatively, simply use “include” to check the data.

../../_images/mc102.png