SimpleLink™ SensorTag and!

Guest blog post by Gautam Banerjee, product manager of

We were thrilled when the SimpleLink™ SensorTag team at Texas Instruments told us they wanted to add support to their smartphone app. The SensorTag is one of the most robust, developer friendly Internet of Things (IoT) prototyping kits we’ve come across. And with, prototyping with the SensorTag just became even easier.

What is

In a nutshell, is like Twitter for machines. It’s a platform that enables “things” on the Internet of Things to publish their data to the cloud. In turn, other “things” or apps may subscribe to that data. As a developer, dweet is a common, RESTful api layer for all your connected hardware. You can then build, prototype and deploy your IoT apps in any platform. Essentially, you can focus more on solutions and user experience, and less on the IoT infrastructure. 

A quick tutorial

Let’s walk through getting your SensorTag data on The first thing need is the latest version of the SensorTag app. The app uses Bluetooth® Smart to connect your phone to your SensorTag kit and acts as an Internet gateway to send your data to the cloud (dweet). Make sure your SensorTag is on.

Launch the app.

Make sure Bluetooth is enabled on your phone. On the first screen you should see your SensorTag in the list of Bluetooth devices.


The SensorTag apps searches for Bluetooth Smart devices

Select your SensorTag and choose “Sensor View” from the pop up. This will give you a real-time view of your SensorTag sensor outputs. We want to send this data to the cloud. The default app cloud configuration is for IBM Bluemix, so we’ll have to edit that to dweet. Click on the cloud view cell to enter the configuration. Then click edit. Select from the list of built-in cloud services.

Next, you’ll see that you’ve been given a thingname for dweet. A thingname on dweet is like a username on Twitter. It is just a way to uniquely identify your machine or device. Since we’re using dweet’s free service, all your data is publicly viewable. If you want to secure it, you can buy a lock. Also, your thingname is not protected — that is, anyone can write to it unless you lock it. So I recommend you change the default thingname you were assigned to something unique to you (I just used mysensortag). 

Now click save and go back to the sensor-view page. Make sure the push-to-cloud switch is on and you’re all set. You can see what it is dweeting in real time if you go to in any browser. Be sure to replace your-thingname with the name you set in the app. 

You can toggle between raw values and a visual view. As you can see, the dweet app is ‘dweeting’ SensorTag data like your accelerometer, speed, altitude, temperature, and orientation. In other words, the app is publishing your SensorTag’s data to Any other party may subscribe or follow your Thing’s datastream via’s api (or simply typing the follow URL above if they know your thingname).

But wait, there’s more!

To help your development journey, Bug Labs also provides an open-sourced visualization web app called freeboard. Freeboards are easily configurable dashboards that allow you to display a combination of thing and web accessible data in real time. Dashboards help you make better design decisions, observe and understand the things behavior, spot trends or identify issues quickly. Many of our customers use freeboard as their main end user application, such as vehicle fleet management (location, speed, heading), public swimming pool temperature and providing air quality information.

Getting started with freeboard

Freeboard is free to use unless you want to keep your dashboards private. Once you signup, click on “Create New” and give your first freeboard a name. A freeboard is comprised of three of things:

  1. Widgets, which are different types of visualizations you may have
  2. Panes, which are display panels that hold one or more widgets (eg speed & heading)
  3. Datasources, which are data streams that feed into your dashboard to be visualized. Datasources can be physical things dweeting, or any Internet accessible API with JSON payloads. Freeboard supports several datasources by default, or you can add your own.

Step 1: Add a datasource

Once you’ve created a new dashboard, you will see a blank canvas and a configuration panel on top. Before we add panels to your dashboard, we must add at least one datasource. Click on “add” under datasources and select as the type.


Select as your datasource type

Now give this dweet datasource a name, like SensorTag. For thingname, you must use the name that the app is using for your SensorTag. In my case, it was mysensortag. Since we’re using the free tier of dweet, there is no value for key, so you can leave it blank.

Once you hit save, you’ll see the name of your datasource on the top panel. You’ll know that your datasource is alive if you see the time it was last updated. 

Our SensorTag is connected!

 Step 2: Adding Panels and Widgets

Now that you have at least one datasource, you can start adding panels and widgets. A panel is a container that you can drag around your dashboard for your preferred placement. Panels can hold one or more widgets, usually in logical groupings.

Click add pane to get started. You’ll see that a pane has an action bar on top. To add widgets to pane, click on the “+” and select your type. Our first widget will be a temperature gauge. 

Configuring your widget involves selecting the datasource (in our case, there’s only one), and then selecting which key-values in that datasource you want.

First, add your datasource to the first input field by clicking on “+ datasource”. Next, you can traverse the key-value pairs in your datasource via a dropdown. Select ambient temperature. Set your units to C. I put my max range to 50. 

And that’s it! You have your first widget.

Try repeating these steps for different types of widgets and datasource values. I did a text widget with a sparkline for the light sensor. I ended up with this simple dashboard in about 2 minutes. 

A simple freeboard for my SensorTag!

We are excited our tools are available for TI’s SimpleLink SensorTag. We believe and freeboard can accelerate your product development because they’re so easy to use. If you have questions for TI or us, just tweet us at or @TXInstruments.  Happy prototyping!

Buy the SimpleLink SensorTag today!

  • Hi, is not available in Android  SensorTag apps

  • Yes, the feature still doesn't seem to be included in the android app, even though the project sounds very interesting. Overall it seems the android app isn't a high priority project at ti, not sure why that is the case.

  • Hi - Is there source code for publishing the sensortag data to tweet that can be shared so I can incorporate it into my IOS app?  I have setup clipboard and I am using with the TI app that comes with the sensortag.  However, I have created my own app to access the sensortag and would like to publish the data directly from that app.  Thanks!