Track 3 session 4 - st dev con 2016 - sensortile

36
October 4, 2016 Santa Clara Convention Center Mission City Ballroom SensorTile Integrated Development Platform Sensing, Processing and BLE Connectivity Roberto Sannino

Transcript of Track 3 session 4 - st dev con 2016 - sensortile

Page 1: Track 3   session 4 - st dev con 2016 - sensortile

October 4, 2016

Santa Clara Convention Center

Mission City Ballroom

SensorTile

Integrated Development PlatformSensing, Processing and BLE Connectivity

Roberto Sannino

Page 2: Track 3   session 4 - st dev con 2016 - sensortile

October 4, 2016

Santa Clara Convention Center

Mission City Ballroom

Introducing the SensorTileIoT design lab on the tip of a pencil

www.st.com/sensortile

Page 3: Track 3   session 4 - st dev con 2016 - sensortile

Motion

SensorTileIoT design lab on the tip of a pencil

Augmented living

Sensing, Tracking and Monitoring Embedded Processing Unit

AudioField TestSoftware development

3

Page 4: Track 3   session 4 - st dev con 2016 - sensortile

SensorTileSimple, powerful, extendible

Designed to fit your needs:

• Used as a standalone sensor node to MONITOR, TRACK and REMOTELY CONNECT to a Smartphone App (Android/iOS)

• Easily plug into new designs to add SENSING and CONNECTIVITY capabilities through a SMART HUB solution

Engineered for makers and developers:

• Standalone mode:

Turn it on, configure it via BLE and start acquiring sensor data remotely on your Smartphone

• Sensor and Connectivity HUB mode:

Plug the SensorTile into new designs and access all features through a convenient command interface (I2C/SPI/UART)

• Programmable development kit:

Leverage on the on-board STM32 processing capability and provided software API to create your new BLE-connectable

sensor node

An all-ST Reference Design

4

Page 5: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Core SystemSensing, processing and BLE connectivity

Sensors

Ultra Low Power

Connectivity

Low-Power MCU

MP34DT04

LPS22HB

LSM6DSM

LSM303AGR

STM32L4

BlueNRG-MS

SensorTile is a Bluetooth Smart sensorized development kit.

The miniaturized tile-shaped design includes all that is needed to remotely

sense and measure motion, environmental and acoustical parameters.

13.5 mm

13

.5 m

m

Miniaturized Tile that can be

soldered or plugged on a host board

Motion MEMS

Environmental sensors

MEMS microphone

Low-power brain

Sensor fusion

Bluetooth Smart

5

Page 6: Track 3   session 4 - st dev con 2016 - sensortile

SensorTileIntegrated Development Platform

Core System

Cradle eXpansion

Cradle

6

Page 7: Track 3   session 4 - st dev con 2016 - sensortile

Fast Prototyping

System Software

Development

Reference Design

Evaluation, tracking & monitoring

SensorTile: Integrated & Modular System Design environment

7

Page 8: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile KitHardware & Architecture

Page 9: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Development Kit

Plastic Box

LiPo Battery

Standalone mode bundle

Programming cable

Programming development kit

SensorTile

Cradle eXpansionSTLCX01V1

SensorTile

Cradle BoardSTLCR01V1

SensorTile

Core SystemSTLCS01V1

SensorTile Kit: STEVAL-STLKT01V1

9

Page 10: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile – Sensors, MCU, Connectivity 10

Microphone64dB SNR, 120dBSPL

Bluetooth low-energyConcurrent master/slave

BT4.1

13.5mm

13

.5m

m

MP34DT04

BlueNRG-MS

Balun Filter

Antenna

Clearance Area

Bottom View

Barometer1-75Hz, 3-12μA @ 1Hz

3DAcc+3DMag200μA @ 20 Hz (HR mode)

Accel/Mag independent power down mode

3DAcc+3DGyro0.65mA @ 1.6kHz - 9μA @ 12.5Hz

Cortex-M4Up to 100DMIPS 80MHz

100uA/MHz@24MHz in run mode

LPS22HBLSM303AGRLSM6DSM

STM32L476

SensorTile Core System: STLCS01V1

Page 11: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Core System - Architecture 11

Connections: Bottom side View

SolderablePlugin

Page 12: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Cradle eXpansion BoardHost board for firmware development

12

SensorTile

Connector

Reset

button

SWD programming

i/f

Micro-USB i/f

Arduino

Connectors

Audio DAC and

3.5mm Audio

Jack

plug, program, unplug the Core System

Use with any STM32Nucleo

ST-Link

bridging into developer

communities

Page 13: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Cradle Expansion 13

Micro USB

&

3.3V Regulator

SensorTile Footprint

Audio DAC

&

3.5mm jack

ST2378ETTR

8-Bit Level Translator3.3V 1.8V

Arduino Connector

SWD & Reset

SWD programming interfaceand reset button

SensorTile Cradle Expansion: STLCX01V1

Page 14: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Cradle Board Host board for Standalone Mode

14

• Solderable SensorTile Footprint

• Breakable SWD interface for programming• E.g. may use STLink on STM32Nucleo

• HTS221 Humidity and Temperature sensor

• SD Card

• Micro-USB interface

• HTS221 Humidity and Temperature sensor

• Battery Charger and Battery Connector

• ON/OFF Switch

Bottom Side View

Page 15: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Cradle 15

Micro USB

ON/OFF switch

Battery Plug

SensorTile Footprint

Micro-SD

Card slot

SWD

Solderable

SWD programminginterface

TOP VIEW BOTTOM VIEW

STBC08

Li-Ion Battery charger with thermal regulation

HTS221

Humidity and Temperature sensor

SensorTile Cradle: STLCR01V1

Page 16: Track 3   session 4 - st dev con 2016 - sensortile

HintCustomizing the ST Wearable Mockup

16

HTS221

Humidity and Temperature sensor

• Cradle-mounted humidity and temperature sensor shows

that not all the sensors must be on the Core System

• The simple 2-layer Cradle can be easily redesigned to

accommodate any ST sensor or actuator you may want

to field-test

• There is no need to modify the highly optimized

SensorTile Core System to do that!

Use the cradle as a reference design for other wearable solutions

using the same SensorTile Core System

Page 17: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Platform Firmware & Software

Page 18: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile Embedded Softwarefor Design and Prototyping

18

STM32Cube

Hardware Abstraction Layer

SensorTile HW Kit

Core System, Cradle, Cradle eXpansion

STM32Cube middleware

Open Software eXpansion Libraries

Custom Applications

SensorTile Development Kit is built on STM32Cube

and supported by the STM32 Open Development Environment

Wearable

Home

applications

Building

automation

IoT

Smart Things

Cloud

AUDIO Motion BLEEnv

Modular design environment to fast prototype your designs in all application domains

Page 19: Track 3   session 4 - st dev con 2016 - sensortile

SensorTileSoftware platform

19

Starter Projects BlueMicrosystem BlueVoice Function Pack

Core System

Page 20: Track 3   session 4 - st dev con 2016 - sensortile

Starter Projects: «Hello Sensor World!» 21

Source code projects based on STM32Cube

Two example applications:

• DataLog• Sensors data streaming via USB (Virtual COM

Port)

• Sensors data storage on micro-SD card

• AudioLoop• Microphone acquisition, output via USB

(Microphone class) or I2S

• Record the sound on a PC or play it on loudspeakers/headphones

Page 21: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile & ST Software Eco-systemSensorTile Software Design Environment

22

Algorithms and system demonstrators for the Internet of Things.

Unleashing the power of embedded software

Bring your ideas to now!

BlueMicroSystem

STM32 ODESTM32 Nucleo

development

boards

STM32 Nucleo

expansion

boards

STM32 Cube

software

STM32 Cube

expansion

software

Software libraries

BlueVoiceLink

SmartAcoustics

BlueMSAndroid & iOS

Example Projects

Page 22: Track 3   session 4 - st dev con 2016 - sensortile

BlueMicrosystem 23

STM32 OTA Firmware upgrade

BMS Android and iOS App free download

Page 23: Track 3   session 4 - st dev con 2016 - sensortile

BlueMicrosystem 24

Gesture Recognition

Carry Position

Activity Recognition

Sensor FusionSoftware libraries

Native, out-of-the-box support for

and

OPEN.Framework

Source code example projects

Page 24: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile & BlueVoice The unique solution for audio & voice streaming over BTLE

25

BlueVoice Vendor Specific Profile

Audio processing

Generic Access Profile (GAP)

Generic Attribute Profile (GATT)

Attribute Protocol Security Manager

Logical Link Control and Adaptation Protocol

Host-Controller Interface

Link Layer Direct Test Mode

Physical Layer

Bluetooth Low Energy Stack

GAP configuration

GATT configuration

Application: BlueVoice Profile

(vendor specific)

Central Unit

(Master)

Peripheral

Unit

(Slave)

Client Server

ClientServer

Service

Audio / Voice

Characteristic

Descriptor

Service

Audio / Voice

Characteristic

Descriptor

Page 25: Track 3   session 4 - st dev con 2016 - sensortile

BlueVoice + Mobile Devices 26

SensorTile

Terminal

Platform Signals

Comm

Interface

Cloud-based

Services

Mobile

Device«Natural Language»

Page 26: Track 3   session 4 - st dev con 2016 - sensortile

SensorTile-powered Sensors-to-Cloud Integrated architecture

27

Integrated SensorTile Terminal

Sensing

Signal Processing

Communication

& 3rd Party SW libs

Cloud-based

ServicesGateway

Page 27: Track 3   session 4 - st dev con 2016 - sensortile

Out-of-the-box BLUEMICROSYSTEMwith the eXpansion Cradle

28

Plug the SensorTile Core System

on the eXpansion Cradle.

Power it via USB

Connect to your Android or iOS

smartphone or tablet

Run the BlueMS App

Page 28: Track 3   session 4 - st dev con 2016 - sensortile

BLUEMICROSYSTEM Instant Data Trackingwith the SensorTileCradle

29

Solder the SensorTile Core System

to the Cradle.

Plug the battery,

protect it with the

plastic cover

Connect to your Android or iOS

smartphone or tablet

Run the BlueMS App

Page 29: Track 3   session 4 - st dev con 2016 - sensortile

New Design Startupwith the eXpansion Cradle

30

Plug the SensorTile Core System

on the eXpansion Cradle.

Connect with your development

environment

Open the USB starter project on your PC

Compile & Run the USB Audio or Datalogging

example application

Design your custom application

Page 30: Track 3   session 4 - st dev con 2016 - sensortile

New Design Startupwith the SensorTile Cradle

31

Solder the SensorTile

to its Cradle

Setup your PC programming environment

Field test your application

You better protect it

with its plastic cover!

Program your data tracking application

Page 31: Track 3   session 4 - st dev con 2016 - sensortile

Fast Prototyping

System Software

Development

Reference Design

Evaluation, tracking &

data collection

One SDK fits all IoT Design Needs 32

Page 32: Track 3   session 4 - st dev con 2016 - sensortile

Fast Prototyping 33

Fast Prototyping

System Software Development

Reference Design

Evaluation, tracking &

data collection

• Plug the SensorTile on your prototype

motherboard to instantly add its embedded

sensing and communication functionalities to

your design

• Use the provided 3D CAD files to integrate it in

your mechanical prototype

Page 33: Track 3   session 4 - st dev con 2016 - sensortile

Reference Design 34• A solution for highly accurate and very low

power sensing of motion, environmental, and

audio data in form-factor constrained designs

• A complete Hardware and Software

example, the starting point for your design

• Freely download all design information:

• HW: Schematics, Gerber, BoM, 3D CAD

• FW: from basic examples to the complete

BlueMicroSystems application

Fast Prototyping

System Software Development

Reference Design

Evaluation, tracking &

data collection

Page 34: Track 3   session 4 - st dev con 2016 - sensortile

Evaluation, Monitoring, Data Collection 35

Fast Prototyping

System Software Development

Reference Design

Evaluation, tracking &

data collection

• Evaluate the most advanced ST sensors in an

all-ST optimized system architecture

• Field-test Data-Fusion and Embedded Signal

Processing Algorithms

• Use it for Data collection campaigns, to

develop new customized algorithms

Page 35: Track 3   session 4 - st dev con 2016 - sensortile

Software Developer’s Platform

• Firmware examples based on STM32Cube

• Supported by the STM32 Open Development

Environment

• Host board supports Arduino expansion

connector to bridge into most makers

ecosystems from Arduino itself to the

STM32ODE, and other developer communities.

Fast Prototyping

System Software Development

Reference Design

Evaluation, tracking &

data collection

36

Page 36: Track 3   session 4 - st dev con 2016 - sensortile