Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

CC2541 SensorTag

From Texas Instruments Wiki
Jump to: navigation, search

BLE Main Page

Welcome to the main page for the Bluetooth SensorTag

The SensorTag now supports iBeacon technology!

To upgrade your SensorTag to be compatible with iBeacon technology you need to sign up as an iBeacon licensee with Apple, then you can request access to the software by clicking here

Once you signed up as an iBeacon licensee you can upgrade the SensorTag with the latest iBeacon enabled firmware to test and develop with iBeacon.

SensorTag with iBeacon

Instructions how to do the upgrade and configuring an iBeacon follow this link: SensorTag_with_iBeacon

For more information how to use the Sensortag with iBeacon, watch the SensorTag iBeacon video.

The new location app with iBeacon technology is available to download on the App Store for iPhone, iPad and iPod touch.

Location app screenshot

Bluetooth Smart is a new standard that allows Bluetooth equipment to run for years on a single coin cell battery. According to IMS Research the market for Bluetooth Smart accessories is expected to be the fastest growing mobile phone accessory market in the coming years. This new technology combined with new low power sensors and countless mobile phone app developers opens up limitless opportunities for mobile phone apps

The SensorTag is designed to shorten the design time for Bluetooth app development from months to hours, the kit removes the barriers to entry for smartphone app developers who want to take advantage of the growing number of Bluetooth low energy-enabled smartphones and tablets. This is the first Bluetooth low energy development kit focusing on wireless sensor applications and it is the only development kit targeting smartphone app developers.

The Bluetooth SensorTag demonstrates the low power capabilities of Bluetooth low energy(aka Bluetooth 4.0 and Bluetooth smart)

  • NO embedded software design knowledge required
  • NO embedded compiler required
  • Includes 6 low-power MEMS sensors and Bluetooth low energy radio powered by a single coin cell battery
  • iOS and Android sample apps are included to demonstrate use of the sensors
SensorTag Block Diagram

The SensorTag can be used as a reference design and development platform for a variety of smartphone accessories.

The block diagram shows the sensors on the SensorTag and lists some potential applications, most engineers that start working on the SensorTag comes up with their own app ideas!

Buy the SensorTag on TI eStore


With the SensorTag App you can build your own SensorTag app in minutes by enabling the SensorTag sensors. It allows quick and easy prototyping and generates sample code for use in your own apps. The iOS SensorTag app can be downloaded from the Apple App Store

App store logo.png

Supported iOS devices

To use the SensorTag a Bluetooth Smart (4.0 or newer) device is required and the API of the device must support the Bluetooth low energy API. Currently the following iOS devices are supported:

  • iPhone 4S and newer
  • iPad(3) and newer
  • iPad mini
  • iPod Touch (5. gen)
SensorTag Assembly Instructions
SensorTag IR temp sensor used for measuring cooking temperature
SensorTag IR temp sensor used for measuring coffee temperature
SensorTag used as keyfob for tracking keys
SensorTag accelerometer used as level construction tool


NEW! The Android SensorTag app is now available on Google Play Google Play SensorTag

Supported Android devices

To use the SensorTag a Bluetooth Smart (4.0 or newer) device is required and the Android API 18 (Android 4.3) must be supported. The SensorTag app has been tested on the following Android devices:

  • Nexus 4 (JWR66V)
  • Nexus 7 (2012) (JWR66V)
  • Nexus 7 (2013) (JSS15J)
  • Nexus 5 (KTU84M)
  • Nexus 9
  • Samsung S4 (JWR66V.S11.130708)
  • HTC One (M7), HTC One M8, HTC One M9
  • Sony Xperia E1

Support for more devices will be announced. If you have tested other Android devices, please join the discussion on the Bluetooth low energy forum

NB! Nexus 7 and Nexus 10 (2012) with Android 4.3+ is not delivered with BLE enabled. To work with BLE on this device you will need the Bluetooth Low Energy Enabler tool. Prerequisites for this to work is that the device is rooted and that the BusyBox app is installed.

For Android the connection interval is currently fixed to 7.5ms. With early versions of the SensorTag firmware this is causing a timeout when using the humidity sensor. This problem is fixed with the latest version of the SensorTag firmware(1.4). To use the SensorTag with the Android apps, download the latest firmware here: SensorTag firmware
New firmware can be programmed with binary files over-the-air using the Windows BLE Device Monitor, the latest version of the SensorTag Android app, or with hex files using CC-Debugger.


Windows Phone

SensorTag app for Windows phone is available in the Windows Phone App Store and the source code us available at the following github project

Quick Start Guide

The Quick Start Guide shows the first steps for assembling the SensorTag, downloading the SensorTag App and get the sensor reading on the phone in minutes- Follow this link to download the Quick Start Guide

Download summary

This section contains download links to all SW and HW resources for the SensorTag

Description Download link
SensorTag app on App Store
Locationing with iBeacon
SensorTag Android app code example
SensorTag iOS app source code example
BLE Device Monitor for Windows PC
TI Bluetooth low energy software stack
SensorTag HW reference design
SensorTag Firmware

SensorTag User Guide

The User Guide provides all details of the SensorTag hardware and firmware including conversion algorithms and overview of Bluetooth low energy commands used to communicate with the phone
SensorTag User Guide

How to Certify your Bluetooth Product

The SensorTag reference design has passed FCC(US)/ETSI(Europe)/IC(Canada) RF certification. It is also received Bluetooth End Product certification. This section explains what certifications the SensorTag has completed and the steps required to certify your own product: How to Certify your Bluetooth product

Not ready to go through full FCC/ETSI certification? Use certified modules from our 3rd party partners: [Bluetooth low energy modules]

BLE Device Monitor User Guide

The BLE Device Monitor is a PC tool that allows you to read and write the characteristics of Bluetooth low energy devices. For the SensorTag the BLE device monitor includes a production test panel that for testing the individual sensors. It can also be used to display sensor readout continuously. The BLE device monitor requires a CC2540 USB dongle
BLE Device Monitor User Guide

The BLE Device Monitor has been tested on Windows XP, Windows 7 and Windows 8.

SensorTag enabled iOS apps

The official TI SensorTag app Download app

Instrument Works' all purpose app for controlling bluetooth instruments (with cloud storage options) Download app Website

MyWeatherCenter - Your personal weather station Download app Website

Sensirion Confort Guide Download app

Byteworks SensorTag app built using techBASIC Download app

Weight Training-Genie Download app

Gammapoint Weather Run - Bike, Walk, Hike Tracker Download app

SensorTag enabled Android apps

Bluetooth SensorTag Download app

SenseView BT SensorTag Sensor Download app

BLE SensorTag Download app

SensorTag BLE App with Code Download app

SensorTag enabled Windows phone apps

Bluetooth LE Explorer Download app

Bluetooth LE Explorer is a sample freely available with the fully commented sources code, and it is available for Windows Phone 8.1 and allows to interact with BTLE services and characteristics exposed by BTLE devices, paired with Windows Phone. When used with TI SensorTag BTLE explorer allows to interact with all services and characteristics exposed by the SensorTag.

SensorTagIoT is a paid windows phone based app that can be used to install arbitrary firmware on the device. It also includes a version of firmware that allows you to configure it to emit an iBeacon or Eddystone compatible beacon signal. It also adds in a few additional GATT services to do interesting things. It is fully compatible with earlier versions of the firmware. Windows App Store

Bluetooth low energy blogs

MAKE | Teardown of the TI SensorTag

“…try this, you’ll love it.” Teardown of the TI SensorTag

Write your own Bluetooth Smart Sensor App in an Hour

Bluetooth SIG webinar on how to write apps for the SensorTag View Webinar recording

Rasberry Pi and TI CC2541 SensorTag

Thanks to Michael Saunby, the SensorTag is now supported on Rasberry Pi
Michael Saunby Blog

BeagleBone Black Linux interface

Zephyr-Labs has posted a Linux example using BeagleBone black Zephyr-Labs blog

SensorTag Android app on HTC One

Lance Nanek has posted a cool example of SensorTag interface for Android on an HTC One NeatoCode Blog
See Lance's presentation here

Because Bluetooth Smart is happening !

Bluetooth Smart Log

Byteworks Bluetooth low energy blog

Controlling the SensorTag with techBASIC blog

Building iPhone and iPad Electronic Projects

Real-World Arduino, Sensor, and Bluetooth Low Energy Apps in techBASIC, By Mike Westerfield. This book includes a lot of details about programming BASIC for Bluetooth low energy apps Order the book from O'Reilly

iOS Apps Development

Start Developing iOS Apps Today

Bluetooth low energy wiki

When you are ready to develop your own firmware for the SensorTag, check out the: Bluetooth low energy wiki

Dave The Android Guy

This blog By David Johnson explains how he modified a SensorTag to interface it to an exercise bicycle trainer. He has a video of his mother using the exercise bicycle while he monitors her progress on a Nexus 7. His goal is to make an interface to allow people to exercise and navigate Google Street Views. According to David he does Android Systems development for "People that deserve more and have less"
Dave The Android Guy blog On more reviews click here.

SensorTag with iBeacon support on Blackberry

Excellent blog post by Martin Woolley that explains all steps required to use iBeacon on a Blackberry 10 with the SensorTag
Blackberry Developer Blog


TI SensorTag introduction video
TI promotion video
Byte Works rocket flight video
SensorTag training at Embedded World 2013

Post your own projects

SensorTags BLE Explorer for Windows 8

NEW! BLE explorer for Windows 8

Easy TI Sensor Tag development for JavaScript HTML5 programmers

Updated tutorial with kitchen sink template, and how-to video

Evothings Studio open source mobile development framework for Mac, PC and Linux can be downloaded here:

It comes bundled with custom BLE Sensor Tag app, several BLE examples + code source w. Apache 2 licence. When you upgrade your SensorTag to acs as a BLE beacon, there are suitable ibeacon examples too. Development clients available on Google Play and Apple's Appstore, find 'evothings'!

Driving AutoCad using a SensorTag

Take a look at this blog post to see how the SensorTag is connected to AutoCAD to rotate objects,


A framework for building Bluetooth 4.0 Low Energy (aka Smart or LE) iOS and OS X applications using the CoreBluetooth API. Includes Deanna and DeannaMac, applications to communicate with a TI SensorTag for iOS and OS X respectively.

Intended for iOS and OS X developers intent on shipping production-level code to communicate with BLE devices. Think of it as AFNetworking for BLE.


  • ObjectiveC Block-based API for Bluetooth LE communication
  • Operations (e.g. scanning, retrieval, connection, reads, writes) map to the data object hierarchy of CoreBluetooth.

Where to get it

YmsCoreBluetooth in Action

SensorTag as iTunes Remote

Here is a video of an iOS app running in the background using YmsCoreBluetooth to characterize the SensorTag to control the Music app on an iPhone. Using YmsCoreBluetooth, time spent making this demo from concept to execution (including shooting the video) took a half-day, just in time to head for lunch.

Bluetooth Dump

A simple xCode example of enumerating visible Bluetooth LE devices via Core Bluetooth and locating a TI SensorTag and connecting to it

Sensor Tag C# application (BLEHealthDemo modification)

There is modification of BLEHealth Demo C# application to run with Keyfob and Sensor Tag without cleanup code. Sensor Tag Firmware modded to change period in Gyroscope (A and B img for download).

Keyfob connected and tested by Samsung Galaxy S3 with Android 4.3

SensorTag library for Windows Store apps in C#

An easy to use C# library for Windows Store apps. This library uses the new GATT API available in Windows 8.1. Assembly, source and a sample are available at CodePlex:

There's also simple app available in the store:

Best TI SensorTag BLE

The Windows "Best TI SensorTag BLE" app is available from the Windows App Store. The free app provides basic access to the different sensors; with a low-cost in-app upgrade, data can be copied in tabular form. The in-app upgrade also provides access to the source code for the entire app. Many laptops and tablets are already Bluetooth 4.0 compatible; other computers may require a Bluetooth dongle to function correctly.


NEW! This is a windows phone based app Windows App Store that can be used to install arbitrary firmware on the device. It also includes a version of firmware that allows you to configure it to emit an iBeacon or Eddystone compatible beacon signal. It also adds in a few additional GATT services to do interesting things. It is fully compatible with earlier versions of the firmware.