23
Sensors, Bluetooth, and the IoT Sandeep Kamath Texas Instruments www.SensorsCon.org March 6 2014 Santa Clara, CA

Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Sensors, Bluetooth, and the IoT

Sandeep Kamath Texas Instruments

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 2: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

What’s driving the Internet of Things (IoT)?

Lower cost Wi-Fi and other IP based radios Smart phones and tablets enabling remote control anywhere

Cloud Connectivity

Energy conservation awareness and legislation is increasing

new standards such as SEP 2.0 and Econnet

Smart Energy

Personal accessories connected to a phone, a car or other mobile hubs

The Mobile Hub

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 3: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Industrial in the IoT

Flow & pressure sensors

Wirelessly connected LED lighting & energy management

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 4: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Automotive in the IoT

Keyless entry, interior lighting, mirror control, sensors

Navigation, Bluetooth hands free & audio, Wi-Fi

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 5: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Homes in the IoT

Security & safety system, sensors

Smart home energy gateway, thermostats, sensors

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 6: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Fitness and healthcare in the IoT

Safe independent living with fall detection, medication monitoring, etc.

Informed workouts with activity & performance measurement

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 7: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Connecting everything wirelessly

50 billion connected devices anticipated by 2020

Lighting

Automotive

Home automation

Sports equipment

Appliances

Wearables

Telehealth Industrial

Electronic Shelf

Remote control toys

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 8: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Wireless sensor requirements

Long battery life, low power

OS integration on mobile hubs

Easy development tools

IP compatibility

Sensor data collection engine & memory

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 9: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

IoT: Why now?

• More products are adding intelligence with MCUs for more sophisticated control.

• Advancements in sensor technology

• Adding connectivity is getting easier & cheaper.

• New silicon delivers battery-enabled applications.

• Wi-Fi and Internet access widely available.

• Tablets, PCs and smartphones broadly available.

• Customer benefits are now clearer.

We are at the IoT inflection point

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 10: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Bluetooth Low Energy

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 11: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Bluetooth – The 1st Wave

• Point-to-point solutions • Wireless audio was the main application • 7 billion Bluetooth enabled devices • Focus on cable replacement

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 12: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Bluetooth low energy – 2nd Wave

Billions of Bluetooth Smart Ready devices turning data into

information through apps

Billions of Bluetooth Smart & Classic Bluetooth devices

securely sending data

Smart Home/Energy Automotive Health & Fitness Consumer Electronics

Mobile Phones Tablets Personal Computers Connected Televisions

New Applications Lower cost. Lower power

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 13: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

What is Bluetooth low energy?

• Part of Bluetooth 4.0 / 4.1

• Wireless Personal Area Network technology

• Target Applications: – Low Power – Low Latency – Low Throughput

• Spread Market and Application Areas

– Entertainment, Sports & Fitness – Home Automation, Security & Proximity – Medical, Industrial & Automotive

13

Slave

Master

Slave

Slave

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 14: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

[Mbps] 50

3

1

11

6

1

Bluetooth low energy vs WiFi/BT

14

WiFi

BLE BT

BLE WiFi Li-Ion

AAA

Coin Cell

Smallest Power Source Required

Technology

WiFi

BLE BT

Maximum Throughput (Symbol rate)

Technology

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 15: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Connection Events • All communication between two connected devices occur during Connection Events

– Occur even when one (or both) sides have no data to send – Occurs periodically

15 Sleeping

Connection Events

time

Current draw [mA]

Sleeping

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 16: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Bluetooth low energy Device Roles • A Bluetooth low energy device can operate in four profile roles:

– Peripheral

• An advertiser that is connectable • Operates as a slave in a connection • Example: Heart Rate Sensor

– Central

• Scans for advertisements and initiates connections • Operates as a master in connections. • Examples: Smartphone, Tablet, PC

– Broadcaster

• An advertiser that is non-connectable • Examples: Temperature Sensor, Location Beacon

– Observer

• Scans for advertisements, but cannot initiate connections • Example: Temperature Display

16

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 17: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Heart Rate Profile

Profiles and Services • A Profile defines and describes

the use of Services necessary to implement a given Application

• Bluetooth SIG adopted examples:

– Heart Rate Profile • Heart Rate Service (HRS) • Device Information Service (DIS)

– Proximity Profile • Link Loss Service • Immediate Alert Service

– Find Me Profile • Immidiate Alert Service

17

Profile

Service Characteristic

Properties

Value

Descriptor

Characteristic

Properties

Value

Descriptor

...

HRS Measurement

Notify

98

User. Disc.

GATT = Generic Attribute Profile

DIS System ID

Read Only

XX ... XX

User. Disc.

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 18: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

GATT Architecture • GATT specifies the structure in which data is stored and exchanged. • Servers have data, which are exposed using characteristics. • Clients want to use this data

18

Server

Client Requests or Commands

Responses

Service

Characteristic

Characteristic

Service

Characteristic

Characteristic

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 19: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Demo: Bluetooth low energy SensorTag

19

CC2541

IMU-3000 Rotation

KTXJ9 Acceleration

MAG3110 Magnetic Field

SHT21 Humidity

T5400 Pressure

TMP006 Temperature

Push Buttons

LEDs

I2C

Central Device – Master + Client (wants data)

Peripheral Device – Slave + Server (has data)

Sensor Data

Configuration

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 20: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Pressure sensor IR Temperature

sensor

SensorTag: Six sensors, one small board Compass

Accelerometer

Gyroscope

User Buttons

Airflow for Humidity Sensor

Debug Header

MCU + BLE Transciever

PCB Antenna

Humidity sensor Pairing Button

LEDs

DCDC Converter

CR2032 Coincell Battery Holder

Interface Connector For EZ430 battery packs

(optional)

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 21: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

How can YOU create with the SensorTag? • Easy development

– All sensors individually controlled from a smartphone/tablet (makes RF easy)

– No embedded SW knowledge required – Over-the-air downloads of firmware updates

• Free App brings sensors to life – Demonstrates the use of all sensors – iOS app available today on App Store – Android app available on Google Play – Download new firmware directly from the app – Source code available for download

• Low cost – Affordable $25 dev kit with royalty-free software – FCC, IC and ETSI certified solution = no certification

cost for you

• 3rd party App support – Use techBASIC App builder to make SensorTag apps

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 22: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Bluetooth low energy SensorTag

What can YOU create?

www.SensorsCon.org

March 6 2014

Santa Clara, CA

Page 23: Sensors, Bluetooth, and the IoT...IoT: Why now? •More products are adding intelligence with MCUs for more sophisticated control. •Advancements in sensor technology •Adding connectivity

Thank you www.ti.com/ble

23

www.SensorsCon.org

March 6 2014

Santa Clara, CA