Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi

Similar documents
TI SimpleLink dual-band CC1350 wireless MCU

5 things you want to know about Bluetooth 5

ArduCAM CC3200 UNO board

The challenge with IoT

Wireless Connectivity Made Easy by Design

FOR IOT PRODUCT DEVELOPMENT

Qualcomm Wi-Fi Connectivity Selector Guide

New STM32WB Series MCU with Built-in BLE 5 and IEEE

New STM32WB Series MCU with built-in Bluetooth 5 and IEEE

CC3120/CC3220 SimpleLink TM Wi-Fi Overview. Michael Reymond Texas Instruments

Device to Cloud. Software Hardware Know How

BLE to Wi-Fi Gateway

Oberon M2M IoT Platform. JAN 2016

mbed OS Update Sam Grove Technical Lead, mbed OS June 2017 ARM 2017

The Software of Things T Y S O N T U T T L E C E O S I L I C O N L A B S A S P E N C O R E C E O S U M M I T S H E N Z H E N 8 N O V E M B E R 2018

Cypress PSoC 6 Microcontrollers

Wireless Modules Wi-Fi Module

Bluetooth low energy Wireless MCU for Automotive Applications

Wireless connectivity made easy by design

ČVUT FEL v Praze, U-BLOX IOT MODULES

Developing Accessories for the Apple HomeKit Ecosystem. November 2016

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1

WF121: b/g/n module. Product Presentation

Wi-Fi Modules. Turnkey Solution for the Internet of Things. -

Internet of Things: TI's Wireless Connectivity Solutions. Aug.2015 Collins Jiang TI WCS BDM

The Zentri Secure IoT Platform

CC3100 SimpleLink Wi-Fi Network Processor and Internet-of-Things Solution for MCU Applications

TI-RTOS overview. Nick Lethaby, TI-RTOS and IoT Ecosystem. May 2015

BLE MODULE SPECIFICATIONS

SmartBond DA Smallest, lowest power and most integrated Bluetooth 5 SoC. Applications DA14585

Connecting to the Cloud with MSP432 MCU Enabling IoT with MSP432 MCU & CC3100 WiFi. Dung Dang Adrian Fernandez MSP Applications Texas Instruments

Embedded Wireless Technologies

CC3200 SimpleLink Wi-Fi and Internet-of-Things Solution, a single-chip wireless MCU

Bluetooth Low Energy Portfolio

CC26xBxA Bluetooth Smart and IoT Module

AIM: To create a project for implement a wireless communication protocol on an embedded system- ZigBee.

STM32G0 MCU Series Efficiency at its Best

Kinetis + mbed = the secure connection in IOT

Bluegiga Wi-Fi Software 9/19/2013 1

Major Components of the Internet of Things Systems

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION

HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM

SPBTLE-1S ArTM. October STMicroelectronics

BLE121LR Bluetooth Smart Long Range Module 5/12/2014 1

RF Transceivers and Modules

Locate, Sense & Track Assets. within your Enterprise or Across the World

Product specification

Wireless-Tag WT51822-S1

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories,

STM32 Cortex-M3 STM32F STM32L STM32W

RTX41xx Introduction. March 2013

nblue TM BR-MUSB-LE4.0-S2A (CC2540)

Bluetooth Smart Development with Blue Gecko Modules. Mikko Savolainen October 2015

ARM mbed Technical Overview

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

ARM mbed mbed OS mbed Cloud

3 Software Stacks for IoT Solutions. Ian Skerrett Eclipse

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

BT2540 Bluetooth 4.0 BLE (CC2540) Module Users Manual

ARM mbed Technical Overview

Introduction to IoT. Jianwei Liu Clemson University

Frequently Asked Questions

5.1 Configure each Sensor Pin Rename Set Rules Export Data Switching Nodes... 25

Wireless Connectivity Options for IoT. By: MIST Makers John Varela and Nicholas Landy

PBLN52832 DataSheet V Copyright c 2017 Prochild.

The IoT and Thread in PHYTEC Nodes. Jonas Remmert July 15th, 2016

DESIGN AND DEPLOY INTELLIGENT, LOW-POWER AND LOW-COST WIRELESS NETWORKS

Introduction to Sitara AM437x Processors

New CC430 combines leading MCU and RF technology

END NODE DIGITAL The compact ModBus WiFi End Node to network easily industrial machine.

Launch Smart Products With End-to-End Solutions You & Your Customers Can Trust

DesignWare IP for IoT SoC Designs

Digital Circuits Part 2 - Communication

IoT Based Disaster Detection and Early Warning Device

MX1290/ MX1290V2 ABSTRACT. Datasheet. IoT WiFi SOC. Version :1.5 Date : Serial number:ds0075en

Frequently Asked Questions

HEXIWEAR COMPLETE IOT DEVELOPMENT SOLUTION

ESP-01 WiFi Module Version1.0

Yanzi IoT for Smart Buildings From Sensor to Cloud. Marie Lassborn, VP Cloud Operations Jfokus 2018

Prepaid Energy System

User s Guide IoT Microcontroller Development Kit

Introducing STM32 L0x Series. April

SPECIFICATIONS 产品规格书

ARDUINO PRIMO. Code: A000135

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

BT121 Bluetooth Smart Ready Module. May 2015

[Type here] M904S. Bluetooth 4.0 SiP Module - BT 4.0 LE

Cypress PSoC 4 Microcontrollers

RN-174. WiFly GSX Super Module. Features. Description. Applications. rn-174-ds v1.1 3/3/2011

CSR102x Bluetooth Smart Product Line Overview

Connecting Securely to the Cloud

Typical Applications: GHz Bluetooth low energy systems - Proprietary 2.4 GHz systems - Sports and leisure equipment - Mobile phone accessories -

User s Manual of Board ET-ESP32 WROVER MODULE V1 ET-ESP32 WROVER MODULE V1

ARCHITECTURING AND SECURING IOT PLATFORMS JANKO ISIDOROVIC MAINFLUX

Achieving a legacy cellular security level. Sonia CORRARD Avnet Silica Romain Tesnière Avnet Silica

Optimization of IoT Sensing Systems Based on Bluetooth Smart SiP Modules. Chris Barratt Insight SiP Sophia Antipolis France October 15 th 2015

RN-174. WiSnap M2 Super Module. Features. Description. Applications. ~ page 1 ~ rn-174-ds v1.1 6/1/2011

Wireless Embedded Modules

HOW TO INTEGRATE NFC CONTROLLERS IN LINUX

Bluegiga WF121 Wi-Fi Module. Embedded Wi-Fi modules. for affordable connectivity

Transcription:

Bidirectional wireless communication between IBM Cloud and Bluetooth Low Energy peripherals through SimpleLink Wi-Fi

30.7B connected devices by 2020, 75.4B by 2025 Top IoT concerns Security Complex standards Required expertise Power consumption Sources: IHS Markit and Bain & Company 2

New SimpleLink MCU platform Microcontroller Wireless Microcontrollers Wireless Network Processor Common Software Unified Toolchain & Resources 3

Delivered by TI Resource Explorer EXAMPLES TI SimpleLink MCU SDK SimpleLink MCU Platform SDK Customer Applications SDK PLUG-INS Middleware Graphics Graphics Sub-1GHz/802.15.4 Graphic BLE/WiFi TI Drivers DriverLib (HAL) POSIX OS Kernel MSP432 CC2640R2F CC3220 CC13xx TI SimpleLink MCUs 4

SimpleLink Wi-Fi CC3220 Raising the Bar LOW POWER SECURITY TIME TO MARKET

Lowest Power Enables Wi-Fi for New Applications 2AA Batteries Lifetime* Up to 5 years Up to 3 years Over 1 year Always Connected Intermittently Connected SimpleLink Wi-Fi low-power mode * Estimated (actual life time depends on customer system configurations) Transceiver 6

SimpleLink Wi-Fi Comprehensive Security Features Physical Access Local Network Access Remote Access Application Servers End Product PCB CC32xx Wireless-MCU 22 Applications MCU ARM Cortex M4 80MHz 256KB RAM + Opt. 1MB XIP Flash SPI Network Processor Internet HTTPS TLS/SSL TCP/IP Wi-Fi MAC Baseband Radio Internet Vendor Serial Flash User Application HW Crypto Engine Power Management Access Point User STORAGE RUN-TIME TRANSFER Physical Access Security Features Hardware crypto engines Trusted root-certificate catalog Debug security Secure content delivery TI root of trust public key Secure boot Initial secure programming File System Security Features Unique key cloning protection Software tamper detection File encryption File authentication File access control Factory image recovery File bundle protection Local Network Security Features Hardware crypto engines Trusted root-certificate cat Secure sockets (TLS/SSL) Device Identity Secure key storage Secure content delivery Personal and enterprise Wi-Fi security HTTPS service Remote Access Security Features Hardware crypto engines Trusted root-certificate catalog Secure sockets (TLS/SSL) Device Identity Secure key storage Secure content delivery Access Distance 7

SimpleLink Wi-Fi Wireless MCU CC3220 Low Power, Advanced Security, Easy Integration Applications MCU Physically separate MCU and memory, dedicated to the user s applications. Programmable Applications MCU Peripheral drivers and Libraries Supports no-os, TI-RTOS, or Free-RTOS Application-dedicated Memory 256KB RAM Additional 1MB XIP Flash (Opt.) Rich Set of Peripherals 27 I/O pins with flexible muxing options 2x UART 1x I²C 1x SPI 1x SD 1x McASP with I2S or PCM 4-ch 12-bit ADC 8-bit parallel camera Enhanced Features Multi-layer security features, to help protect IP and data HW Crypto Engine: AES,DES, SHA/ MDR, CRC Supports HomeKit Technology OTA support SimpleLink Connected MCU Platform Your App Code Here Applications MCU ARM Cortex -M4 @80MHz 256KB RAM + 1MB XIP Flash (Opt.) WPS User Application WEP CC32xx Wireless-MCU SPI Network Processor Internet HTTPS TLS/SSL TCP/IP ROM Wi-Fi MAC Baseband Radio HW Crypto Engine Power Management Multi Layered Security Features WPA Lowest Power Run for Years on 2xAA Batteries WPA2 TLS SSL Wi-Fi Internet Application and Files Wi-Fi and Internet Connectivity Here Network Processor The network processor offloads networking and internet tasks from the application MCU Wi-Fi Core 802.11 b/g/n at 2.4GHz Modes: STA, AP, Wi-Fi Direct Provisioning: APmode, SmartConfig, WPS, WAC Built In Power Management Integrated DC2DC V Bat : 2.1 V to 3.6 V Pre-regulated:1.85 V Low power modes Hibernate (4.5uA) Low power deep sleep (135uA) Rx beacon listen (37mA) Internet & Application Protocols Embedded webserver (HTTPs) IPv4 & IPv6 TCP/IP Stack 16 Sockets (6 TLS v1.2 / SSL 3.0) Powerful HW Crypto Engine Fast secured internet connection within 200mSec Industrial Temp Supports -40 0 C to +85 0 C

SimpleLink Bluetooth low energy CC2640R2F Ultra-low power wireless MCU

TI Bluetooth low energy wireless MCU portfolio CC2640R2F 5.0 Lowest power Multi-year on a coin cell: Cortex-M3 MCU and radio with automatic power-management Highly integrated Single chip, flash-based wireless MCU with unique Sensor Controller in tiny 2.7x2.7mm package Easiest to design with Comprehensive design support: Complete SW stack, wiki guides, dynamic design kits, low-cost tools, & software examples Pre-certified module Simplify BLE development, integrated antenna, crystal & passives CC2540 / CC2540T BLE + USB single-chip, long-range (+4dBm TX) World s only 125 C graded BLE solution 4.2 CC2640 Highly integrated single-chip ARM-CM3 wireless MCU 4.0 CC2541 / CC2541Q1 Versatile, system cost optimized BLE wireless MCU, Automotive Q-100 Qualified option 10

SimpleLink CC2640R2F wireless MCU Architecture CC264x 275kB NV 275kB memory NV memory FLASH/ 128KB ROM FLASH/ ROM ROM FLASH 28 kb SRAM Ultra-low Power Consumption 61 µa/mhz ARM Cortex M3 8.2 µa/mhz Sensor Controller 1 µa sleep with retention and RTC 5.9 ma RX (single-ended) 6.1 ma TX (single-ended) Wireless MCU- SoC Key Features Autonomous sensor controller engine 4x4, 5x5, and 7x7 mm QFN 1.7-1.95 V or 1.8 3.8 V supply range 128 KB Flash + 8 KB Cache 20 KB RAM RF Key Features +5 dbm Output power -97 dbm Sensitivity -103 dbm sensitivity for BLE 125 kbps Flexible RF: Single-ended (low-cost) or Differential (high-performance) 11

Target Applications in Industrial Market Thermostats Video Surveillance Access Control Thermostats Control Panels Video Doorbells IP Network Camera Electronic Smart Locks Garage door openers Appliances Asset Tracking Factory Automation Air Conditioners Robotic Vacuum Coffee Maker Logistics High value asset tracking Personel locator Monitoring sensors Cable replacement Motor monitoring and control

SimpleLink Wi-Fi Gateway for BLE enabled Electronic Smart Locks Retrofit Existing E-Smart Lock

Gateway System Diagram BLE BLE Wi-Fi Mobile App BLE Lock CC3220S LaunchPad CC2640R2 LaunchPad Other BLE Peripheral Wi-Fi Gateway to BLE

Easy Network Connectivity The Wi-Fi gateway is a headless device and must be provisioned to the local network CC3220S has integrated provisioning including Access Point (AP) Provisioning SmartConfig Host application triggers provisioning only if the device does not automatically connect to a network Provisioning events automatically sent to host indicate network connection WLAN connection event signals main application to start 15

CC3220 - Provisioning Flow Diagram Provisioning is initiated by a single simple command from the MCU host Integrated in provisioning process is a connection confirmation step Both AP and SmartConfig provisioning can run at the same time Note: Out-of-Box application provides reference for integrating provisioning with other tasks 16

Interface between CC3220S and CC2640R2 CC2640R2 is used as a Network Processor HostTest application in the SDK can be used to enable the network processor with support for BLE central role Data layer based on Host Controller Interface (HCI) commands Transport layer based on Network Processor Interface (supports UART or SPI) Leverage TI Drivers for UART / SPI driver portability UART or SPI 17

HCI Command Flow - between CC3220S and CC2640R2 Initialize CC2640R2 as a BLE central device Discover BLE peripherals Select BLE peripheral Read/Write to characteristics 18

CC3220 MQTT Client The Message Queue Telemetry Transport (MQTT) protocol is a light-weight application protocol Based on the publish-subscribe model Clients send messages to broker by publishing to a topic Broker distributes messages to other clients that are subscribed to the topic Provides scalability through cloud vendor MQTT client library is provided in the SimpleLink CC3220 SDK 19

CC3220 MQTT Client MQTT Client parameters configured with MQTTClient_NetAppConnParams_t structure Simple MQTT Client APIs used to set optional parameters, start client, establish connection, and transfer data MQTTClient_set() MQTTClient_create() / MQTTClient_run() MQTTCLient_connect() MQTTClient_subscribe() / MQTTClient_publish() 20

IBM Bluemix IBM Bluemix is an implementation of IBM s Open Cloud Architecture, based on Cloud Foundry Designed to allow user to quickly develop, deploy, and manage cloud applications Can be used to create a web interface to monitor and control a cloud connected devices 21

IBM Bluemix Setup Summary 1. Sign-up for an account and setup your profile 2. Create a Watson IoT App 3. Add a new device 4. Make a Cloud Foundry App (Node.js) 5. Connect the Watson IoT App and Node.js app 6. Publish JavaScript code to the created Cloud Foundry App 7. Update the CC3220 MQTT Client example code 22

IBM Bluemix Sign-up for an Account Go to IBM Bluemix and sign-up at http://www.ibm.com/cloud-computing/bluemix/ Log-in and create a profile Create Organization Create a Space 23

IBM Bluemix Create a Watson IoT App 24

IBM Bluemix Add a New Device 25

IBM Bluemix Store Device Credentials Adding an instance of the gateway device generates set of credentials Device credentials are used by the MQTT client to authenticate and connect to cloud 26

IBM Bluemix Create Node.js App Create a Cloud Foundry App (SDK for Node.js) Install the Cloud Foundry CLI which lets you configure your Node.js application and deploy your code Develop JavaScript application and publish code with CLI 27

Update CC3220 Code - IBM Bluemix 28

Update CC3220 Code - IBM Bluemix char *ClientId = g:[orgid]:[devicetypename]:[deviceid] g for gateway orgid is given in credentials (i.e. 2al0gy ) Device Type that was set (i.e. mywifigateway ) Device ID chosen (i.e. WiFiGateway1 ) const char *Username = use-auth-token const char *Password = [password set for device] // use-auth-token // Authentication Token 29

Leveraging Sample Code in Released SDKs SimpleLink Software Development Kits (SDK) provide the key software resources needed to quickly build solution Leverage key components from the SDK, so you can focus on your application SimpleLink Wi-Fi CC3220 SimpleLink BLE CC2640R2 1. SimpleLink CC3220 Software Development Kit (SDK) Updated quarterly TI Drivers included MQTT client library included (source and binary) 2. Provisioning Example 3. MQTT Client Example 4. UART Driver Example http://www.ti.com/tool/simplelink-cc3220-sdk 1. SimpleLink CC2640R2 Software Development (SDK) Updated quarterly BLE 4.2 and BLE 5 Stack 2. HostTest Example Application http://www.ti.com/tool/simplelink-cc2640r2-sdk 30

Demo of System [Video from FAE Summit Demo Night to be inserted] 31

Delivered by TI Resource Explorer MSP432 G r a p h i c s G r a p h i TI Drivers DriverLib (HAL) CC2640R2 F Customer Applications Middleware Graphics Sub-1GHz/802.15.4 SDK PLUG-INS CC3220 G B ra L p E/ hi W c if POSIX i OS Kernel EXAMPLES CC13xx TI SimpleLink MCU SDK Build Your Own Gateway 1 2 3 4 Develop TI SimpleLink MCUs Get your EVMs CC3220S-LaunchPad & Download the SimpleLink MCU Platforms SDK Simplelink-CC3220-SDK & Create an IBM Bluemix account Build with Infrastructure, Watson, Software, and services on the Bluemix cloud platform. Develop your own gateway for BLE Peripherals Simplelink-CC2640R2-SDK CC2640R2 LaunchPad

End-to-end Development Available Resources ti.com/simplelinkwifi ti.com/ble Wired & wireless ARM -based MCUs Common software Development Kits TI Resource Explorer Code Composer Studio IDE SimpleLink Academy 33

Visit ti.com/simplelink 34

Thank you Q & A TI Information Selective Disclosure 35