FutureBoard and ThingSpeak

ThingSpeak is free to use, however its settings may be difficult for beginners. This tutorial is suitable for complete beginners to start using ThingSpeak with FutureBoard.

Registering a ThingSpeak Account

Follow the instructions to register for a ThingSpeak account.

ThingSpeak Introduction

Setting Up ThingSpeak Platform

Create a new Channel

Create a new channel.

../../_images/120.png

Choose a name for your channel.

../../_images/29.png

Other fields can be ignored, click Save Channel.

../../_images/39.png

Open the Sharing tab.

../../_images/411.png

Set the sharing settings to “Share channel view with everyone”.

../../_images/58.png

The Access with change to “Public”.

../../_images/65.png

Add a new device

Open the Devices menu, select MQTT.

../../_images/75.png

Add a new device.

../../_images/84.png

../../_images/94.png

Select the channels accessible by this device and click Add Channel.

../../_images/104.png

Click Add Device.

../../_images/1110.png

IMPORTANT! These MQTT Credentials are used for connecting to ThingSpeak! Please save or download the credentials as they can’t be seen after closing this page.

../../_images/125.png

../../_images/135.png

KittenBlock Coding

KittenBlock is recommending for beginners.

Connecting to ThingSpeak

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

  • MQTT Host: mqtt3.thingspeak.com

  • ID: ThingSpeak Device ID

  • Username: ThingSpeak Device ClientID

  • Password: ThingSpeak Device Password

../../_images/143.png

Publishing to ThingSpeak Channel

We need the Channel ID for publishing. The channel ID is displayed on the Channel page as a 7-digit number.

../../_images/153.png

Build the following program to publish a data to ThingSpeak:

  • MQTT Topic: channels/[Channel ID]/publish

  • Message: field[field No.]=[Numeric Data]

../../_images/162.png

On the ThingSpeak page, you can see the published data.

../../_images/173.png

Subscribing to ThingSpeak Channel

We can read the channel data by subscribing to the channel.

  • MQTT Topic: channels/[Channel ID]/subscribe/fields/field[field No.]

Press A to publish a message to the channel, FutureBoard will display the data received.

../../_images/183.png