Subscribe to Make Magazine Today!
The SensorTag is a Bluetooth Low Energy development kit targeted at iOS developers.

The SensorTag is a Bluetooth Low Energy development kit targeted at iOS developers.

I’ve talked about the TI SensorTag before. It’s an interesting bit of hardware aimed squarely at simplifying smart phone developers’ lives when prototyping Bluetooth accessories. While we’re now starting to see similar and potentially more generally flexible boards arrive on the scene — like the MetaWear — the SensorTag was the first and is still a powerful bit of bit hardware, especially for the price. The SensorTag includes six different MEMS sensors — an IR temperature sensor, an accelerometer, a gyroscope, a humidity sensor, a pressure sensor, and a magnetometer. All of these sensors can be controlled individually from the the SensorTag app — or from your own code — via Bluetooth LE.

But TI isn’t standing still. Today the company announced it is adding iBeacon support to the SensorTag, along with the ability to support iBeacon functionality on all other TI reference designs that make use of the same CC2541 chip that powers the SensorTag, as well as support for the newer CC2543 chip, which is a lower-cost version of CC2541 optimized for beacons and broadcast applications.

What is iBeacon?

iBeacon is a technology that allows you to add real world context to smartphone applications. Based around Bluetooth LE, part of the new Bluetooth 4.0 standard, it’s a way to provide basic indoor navigation and iBeacon has been integrated into iOS 7 both inside the Core Location and the Passkit frameworks to enable indoor micro-location and geofencing.

There are three properties of an iBeacon that work together to create the beacon’s identity,

  • UUID — This is a property which is unique to each company, in most use cases the same UUID would be given to all beacons deployed by a company (or group).
  • Major — The property that you use to specify a related set of beacons, e.g. in a retail setting all the beacons in one store would share the same Major value.
  • Minor — The property that you use to specify a particular beacon in a location.

and together the create a unique beacon identifier which is associated with a location. However the iBeacon really isn’t really about location; it’s about proximity. Your iPhone — or now even your Android phone — can alert applications when you are approaching or leaving a location with an iBeacon. It can also report an estimate of your proximity to the iBeacon, but you should be aware that the closer you are to the beacon, the more accurate the estimate of proximity becomes. The two factors here are signal strength and radio interference. While signal strength is fairly dependable, interference is not — and can change radically with time. So while you can generally depend on the beacon to alert your app that you’re in its general proximity, I’d be wary of relying on the ranging to much.

iBeacon on the SensorTag

After today’s update you can still use your SensorTag as normal, but you can also configure it as an iBeacon using an updated SensorTag app, and then place it into iBeacon mode using one of the buttons on the tag.

Using the default 100ms polling time, the SensorTag’s battery will last a few months in beacon mode. However, if your application can work with a slower polling time — also configurable from the SensorTag app — then battery life becomes much less of an issue and can (at least in theory) extend out to a year.

There is some basic security in place. To configure the UUID, Major, and Minor characteristics of the beacon you’ll need a PIN code. This is pretty much the minimum needed for a over-the-air configurable iBeacon, something that was obvious when we looked at the Estimote beacons earlier this year, although even doing this doesn’t mean that iBeacons are a good fit for all applications as it’s easy to fake iBeacon signals — the UUID, Major, and Minor characteristics, the things that uniquely identify a beacon, are publicly broadcast.

The new SensorTag location app running on the iPad showing your location.

The new SensorTag location app running on the iPad showing your location.

Along with the new firmware comes a new location app for the iPhone and iPad. The app allows you to upload an arbitrary floor place and “place” SensorTags around the virtual space — effectively allowing you to create your own indoor positioning system — and with hooks to call a specified URL when you come into proximity of a SensorTag.

A new SensorTag location app with iBeacon technology is available to download on the App Store for iPhone, iPad, and iPod touch. The app allows you to upload a floor plan and “place” SensorTags to easily set up your own indoor positioning system. The app provides feedback on how near you are to the SensorTags and can launch a user-specified URL when you are in the immediate vicinity of a SensorTag.

I talked to the inventor of the SensorTag, Jarle Boe, ahead of today’s public announcement and it was interesting to hear that Boe and TI don’t see iBeacon technology being restricted to retail environments.

We see [iBeacons] being built into pretty much all types of Bluetooth LE products — not just retail, shopping, and restaurants, that’s very specialized applications — we see it coming into alarm systems, lights, everything. Just the idea of being able to change the behavior of the phone depending on where you are is useful. — Jarle Boe, TI

The new SensorTags are available now via the TI store for $25, or if you already own a SensorTag you can do an over-the-air upgrade of its firmware to support iBeacon functionality using the newly updated SensorTag app.

Alasdair Allan

Alasdair Allan

Alasdair Allan is a scientist, author, hacker and tinkerer, who at the moment is spending a lot of his time thinking about the Internet of Things. In the past he has mesh networked the Moscone Center, caused a U.S. Senate hearing, and contributed to the detection of what was—at the time—the most distant object yet discovered.


  • Pingback: The TI SensorTag—Now with added iBeacon | Salute()

  • Pingback: La TI-SensorTag Maintenant, avec iBeacon ajoutée | TechLab LR()

  • http://rjbailey.wordpress.com/ rjbailey

    Reblogged this on Locating Frankenstein's Brain.

  • Pingback: The TI SensorTag—Now with added iBeacon | JH()

  • Stephan

    Dont bother buying one SensorTag for iBeacon, it hasn’t the MFi certification and Apple asked Ti to remove its iBeacon firmware from the SensorTag.

    • http://awwapps.com/ Bernd

      Thanks for the note! I was just wondering.

    • http://www.mobilepundits.com/ Peter Parker

      This note is valuable for me !
      Thanks for sharing

    • http://blog.jonadair.com/ Jon Adair

      The iBeacon firmware is available again but you have to sign up for Apple’s MFi program first (which requires a $49 credit check and 7-14 day turnaround time.) I guess you’re essentially registering to manufacture your own iBeacons, just to give it a try.

      I wish TI would make that a little more clear so people don’t waste time and money on Sensor Tags as iBeacons. Sensor Tags still work fine as BLE devices, but if you just want cheap iBeacons, get the Gimbal ones instead.

      http://www.gimbal.com

      • Kevin Holden

        You might want to know that those “cheap” Gimbal beacon’s (Series 10, In iBeacon mode) with their small (but expensive) batteries (CR2032) only last between 2-3 weeks..!!
        This is not made at all clear on their website!
        Admittedly, if you use Gimbal’s own protocol they claim they will last longer, but this isn’t much use if you need a reasonable advertising rate (for Location) or want to use Apple’s libraries and not Gimbals.
        I have been using BlueCats and they are not cheap but work really well and the battery life (with 2 AA batteries) is what they say it is.

  • keven

    iBeacon development kit CAN-BUS shield: http://www.elecfreaks.com/store/canbus-shield-p-746.html

  • Pingback: Helpfull source for those who working on iBeacon project | Best Apps Community()