SiliconLabs Thunderboard

How to connect a Thunderboard™ sensor to Xively

The Silicon Labs Thunderboard™ family is a small and feature packed development platform for battery operated IoT applications. The mobile app enables a quick proof of concept of cloud connected sensors. The multi-protocol radio combined with a broad selection of on-board sensors, make the Thunderboard Sense and React an excellent platform to develop and prototype a wide range of battery powered IoT applications.

Scan this tutorial to get familiar with it. Then complete each step in a sequential manner. Each step builds upon the previous one.

What you will learn

This tutorial will teach you how to connect your Thunderboard™ device to Xively through a customized iOS Thunderboard application on your iPhone, and then visualize the device data in the Xively management app.

Hardware you will need

Thunderboard React and Sense development kits

Thunderboard React and Sense development kits

Software you will need during the tutorial

Step 1 of 5: Download the customized Thunderboard™ application

Download the Xively Thunderboard application on your iPhone.

If you cannot start your application right away after you downloaded it, see Guidelines for installing custom enterprise apps on iOS for further instructions.

Step 2 of 5: Create your Xively digital device

Before connecting a physical device to Xively, create its digital representation in the system. This operation will create a device template and a device instance inside the Xively service to represent your Thunderboard™ device.

  1. Log in to the Xively management app.
  2. Click on Product Launcher > Add another device.
  1. From the pop-up window select Choose from our template gallery and click Next.

  2. From the buttons at the top of the window, select Quickstart Kits, then select SiLabs Thunderboard, and click Next.

Result: The digital representation of your physical device is created in Xively and you see the device simulation page.

Step 3 of 5: Connect your Xively device with the app

  1. Navigate to the digital device page:
    a. Go to DEVICES > Device templates and click the SiLabs Thunderboard template you have just created.
    b. Go to the Devices tab and click My Sample SiLabs Thunderboard.
  2. On the device page, in the top right-hand corner, click Get password or Regenerate.
  3. On the pop-up window, click QR code.
    The QR code appears on the display:
  1. On the iPhone, open the Xively Thunderboard application and click on the settings cogwheel button.
  1. Click Edit next to Personal Info.
  1. Click Read QR.
  1. Read the QR from the web browser with your iPhone camera.
  2. Close the settings view and keep the app open on your iPhone.
    Tip: Set the Auto-Lock to Never on your iPhone, that ensures a stable connection. Keep the app open on your iPhone.

Step 4 of 5: Power on your Thunderboard™ device and watch incoming data

  1. Power on your Thunderboard™ device and wait until the device appears in the application.
    That usually takes a few seconds. If you don't see the device after that time, restart the app or the board, or both.
  1. Select the device.
  2. Select one of the sensor categories you want to track, for example, select Motion.
  3. Enable streaming to cloud.
  1. Go back to the Xively management app and navigate to the device page.
  2. On the device page, click Simulate in the top right-hand corner and watch the visualized incoming data.
    The data is presented in real time. Depending on your internet connection, visualization speed may vary.

Now your Thunderboard™ device is connected to Xively and the Xively management app shows the device data in real time.

Step 5 of 5: Let's play!

  1. On the device simulation page, scroll down to the Green LED chart and click it.
    The green LED toggle appears.
  2. To turn the LED on, click its toggle.
    The LED on the board turns on.