Connect Bluetooth Sensors to the Web Services Cloud with AWS IoT Greengrass

Presented by: Paul Elvikis, Laird Connectivity Ian Tracy, Laird Connectivity Tim Mattison, AWS 1 Laird Confidential Paul Elvikis is a Strategic Business Development Director at Laird Connectivity. With more than 10 years of experience, he is an industrial and wireless IoT expert that specializes in helping equipment manufacturers connect to the cloud.

Ian Tracy is an IoT Solutions Architect at Laird Connectivity. About the He is a technical expert in industrial device communication, specializing in IoT applications for Industrial devices, real-time Presenters networks, safety networks, and open-standard protocols.

Tim Mattison is a principal IoT partner solutions architect at AWS. He started his career 20 years ago as a real-time firmware engineer and today leverages that experience to help partners architect edge-to-cloud systems on AWS. He works on edge applications, cloud infrastructure, security, and back-haul communications.

2 01 Why Bluetooth as a wireless sensor technology?

02 Bluetooth sensor-to-cloud application examples

03 Edge Intelligence with AWS IoT Greengrass Agenda 04 Laird Connectivity Bluetooth IoT Gateways 05 Live Demo

06 Q&A

3 Poll Question #1

Laird Confidential Why Bluetooth Low Energy (BLE) for IoT?

Low power, multi-year battery life

Architected for sensor applications

Mobile app connectivity comes free

5 Laird Conf idential New Bluetooth sensor capabilities

BT 5 Feature Improvement

LE Coded 4 x Range

Advertising 8 x Increase broadcast Extension (AE) message capacity

Mesh Mesh network topologies Bluetooth has a flywheel of long-term benefit

UBIQUITOUS

FEATURE - COST - PACKED EFFICIENT

7 As a result, Bluetooth will dominate local wireless technologies

Wireless Devices by Technology 14,000

12,000 Millions 10,000

8,000 Wi-Fi

6,000 Z-Wave 802.15.4 4,000 Bluetooth

Number of devices shipped devices of Number 2,000

0 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 Year

Wireless Connectivity Technology Segmentation and Addressable Markets, ABI Research, February 2020 8 Connected Jobsite

1 2 3 4

Tools are outfitted with Bluetooth Tools transmit battery, usage, Gateways relay location and Managers can optimize their beacons, and registered to a jobsite and location via Bluetooth status information to the worksites and make sure tools are with a mobile phone. advertisements to gateways cloud over cellular or Wi-Fi in the right place and ready to use! positioned around the worksite.

9 Remote Patient Monitoring/Telehealth

1 2 3 4

Bluetooth-enabled health Measurements and timestamps A healthcare-focused IoT platform Doctors and health care works can trackers such as scales, from these devices are sent via can share this information with the remotely discuss results and help pedometers, and blood Bluetooth to a gateway which can patients’ care team. the patient progress. pressure monitors are properly secure and transmit the shipped to a patient’s home data. along with a gateway. Bluetooth can be complicated.

11 Challenge #1 A standard with few standards

• Every manufacturer can choose their own approach for:

• Communication

• Firmware updates

• Security Challenge #2 Sleepy sensors

To get multi-year battery life, sensors go in to low-power mode.

• How do you know if a sensor is dead or asleep?

• How do you let a sensor know an update is available when it checks in?

13 Challenge #3 Bluetooth Performance

• Many applications require maximizing the performance of the Bluetooth radio. Imagine:

• Asset trackers coming off a truck

• Scanning for phones in a crowded location

• ID badges checking in after work

14 Poll Question #2

Laird Confidential THE SOLUTION Gateways designed for Bluetooth, combined with edge intelligence

and

AWS AWS IoT Greengrass IoT Core

16 IoT on AWS AWS IoT Greengrass Tim Mattison Principal solutions architect, IoT partners

© 2020, , Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark IoT services on AWS

AWS IoT SiteWise

AWS IoT Analytics Analytics Services AWS IoT Events

AWS IoT Things Graph

AWS IoT Core FreeRTOS

AWS IoT Device Management Connectivity & Intelligence Device AWS IoT Device SDK Control and outcomes Software AWS IoT Device Defender Services AWS IoT Greengrass

AWS IoT Device Tester

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Local Actions Simplify embedded software development with local AWS Lambda functions

Write event-driven AWS Lambda functions in the cloud and deploy them to devices

Run AWS Lambda functions written in Python, Node.js, C, or Java

Invoke AWS Lambda functions with messaging and shadow updates

Offline actions and triggers for example, detecting low moisture in the soil and then triggering controls to spray more water inside a smart greenhouse

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Data & State Sync Operate devices during intermittent connectivity and synchronize data with the cloud when reconnected

Enables you to define a shadow state for a device as a JSON document in any logical manner—a single wind turbine, a windfarm, or a resource grid

Allows shadow states to be local or synced to the cloud

AWS Lambda functions running on the AWS IoT Greengrass Core can update shadow states through MQTT messages For example, the AWS IoT Greengrass Core can update a tractor’s shadow with continuous information on harvest quality and a snapshot of the data can be synced to the cloud at the end of the day

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Local Resource Access AWS Lambda functions can access & use local resources of a given device

Allows Lambdas to access local resources on a device

GPIO can be accessed to process sensor and actuator data

Lambdas can take advantage of the local file system on your operating system

Lambdas can use GPUs for hardware acceleration for machine learning inference GPU

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Machine Learning Inference Perform ML Inference locally without data transfer costs or increased latency

Train models in the cloud using Amazon SageMaker or another service

ML Inference works with Apache MXNet, TensorFlow, Chainer, and Amazon SageMaker Neo

Transfer your trained models onto your device and also send data back to the cloud to retrain and improve model accuracy

Integration with Amazon SageMaker Neo reduces model runtime footprint 100x and improves inference performance 2x

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark AWS IoT Greengrass Connectors Quickly connect edge devices to third-party services, on-premises software, and AWS services

Pre-built functions enable easy connections with AWS Cloud services such as AWS Kinesis Firehose, Amazon CloudWatch, and Amazon Simple Notification Service (SNS)

Pre-built integrations with Twilio, ServiceNow, and other software as a service applications

Use connectors as building blocks and integrate into complex applications

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark AWS IoT Greengrass Secrets Manager Deploy secrets to edge devices

Store, access, rotate, and manage secrets—credentials, keys, endpoints, and configurations

Securely manage secrets in the cloud and deploy locally on edge devices

Manage secrets on devices through AWS Secrets Manager in the cloud

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Container Support Extends application deployment at the IoT edge with Docker container support

Easily deploy diverse workloads on AWS IoT Greengrass without rewriting existing code

Use one deployment orchestration to deploy Docker images while still using AWS Lambda at the edge

Package application dependencies, regardless of size, into a self-contained image, for ease of deployment at scale

Build Docker container images with any third-party tool and use AWS IoT Greengrass Secrets Manager to manage access credentials for private Docker container registries

© 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark Stream Manager Collect, process, and export high-volume data streams 1 from edge devices 0 1 0 Use standardized mechanisms for managing local data processing and retention policies

Extend local processing to the cloud by streaming data to AWS cloud services, such 0 1 1 0 as AWS IoT Analytics and Amazon Kinesis. 0 1 0 1 0 0 1 0 1 1 1 1 0 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 0 1 1 1 0 Set policies for data streams from the device to 1 0 0 0 0 0 1 1 0 the cloud by: priority, bandwidth utilization, 1 0 0 0 0 0 0 1 0 0 1 0 state of connection, and time out behavior. 0 0 0 0 1 1 0 0 1 0 0 1 1 0 1 1 0 0 0 0 0 1 0 1 0 1 © 2020, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Confidential and Trademark 0 1 Sentrius IG60-BL654 Gateway

Multi-wireless Cloud-native for Globally Connectivity AWS certified

5 IG60 Hardware Architecture

Cloud Connectivity

Wi-Fi 802.11ac Wave 2 Core Edge Compute • Marvell 88W8997 Bluetooth Connectivity • 2x2 MU-MIMO • Laird Summit Supplicant IG60-BL654 Laird 60-SOM • Cortex A5, 536 MHz • WEP, WPA, WPA2, EAP, PEAP, • 256 MB RAM LEAP • Integrated Nordic nRF52840 • 15x faster roaming • 512 MB Flash (Laird BL654) • Dedicated Co-CPU Laird • 1M, 2M, & LE Coded PHY • Buildroot Linux Ethernet • Bluetooth Mesh • Long-term Support • 1x 10/100 • smartBasic, Zephyr, Nordic • AWS Greengrass • 1x 10/100/1000 SoftDevice SDK

LTE Cat-1 with 3G/2G Fallback • Gemalto PLS62-W • North America, Europe, and Asia-Pacific • PTCRB, GCF, AT&T • Wi-Fi/LTE Failover IG60 with AWS IoT Greengrass

Laird Connectivity Cloud Your AWS Cloud Laird Mobile App

Wi-Fi and Secure OTA Update Service AWS IoT Greengrass AWS IoT Core LTE Configuration

Over-the-air Secure Data Hardware Over-the-air Application Link to AWS Root-of-Trust OS Security Updates IoT Core Secure Cloud Secure Updates Provisioning Firmware smartBasic BLE SDK (or Zephyr, Nordic SDK, etc.) Sentrius IG60 Wireless IoT Gateway

29 Sentrius™ MG1xx Micro-Gateway Innovative Design, Performance, and Features Available: July LTE-M + NB-IoT Integrated Antenna or Latest 3GPP standards External Antenna • LTE-M & NB-IoT gateway in a single SKU Pre-integrated, low-cost with integrated Bluetooth 5 embedded antenna or and cellular End Device external dipoles Certified

• Robust, secure, and future-ready for low-power Bluetooth Low Energy cellular connectivity Fully Integrated Bluetooth 5 including LE SIM Card, power management Long Range and low-cost connector interface all fully certified

Laird Confidential Sentrius IG60-BL654 and BT510 Starter Kit

Everything in one box Start in minutes Get everything you need Get a wireless IoT system with a single part number. up and running in minutes.

Migrate to your cloud Get help from Laird Connectivity Utilize the IG60’s native AWS Laird Connectivity’s engineering integration to start sending data services team can help you to your own cloud environment. develop your own AWS-based cloud solution.

31 Register and provision the IG60

1. Customer registers MAC ID of IG60 on demo site 2. Registration link from site input in mobile app 3. Mobile app tells IG60 how to provision to the cloud 01 Deploy application and scan

1. Cloud deploys application to IG60 via AWS IoT Greengrass 2. IG60 application scans for nearby BT510s 3. IG60 presents sensor list to user in the cloud 02 Whitelist and configure

1. User whitelists sensors in cloud demo application 2. Application pushes BT510 configuration parameters 3. IG60 begins listening for sensor data 03 Send and show real-time data

1. Sensors report temperature and alarms to IG60 2. IG60 converts Bluetooth messages in to cloud-friendly data 3. Data reported to cloud demo site via AWS IoT Core 04 IG60 and AWS IoT Greengrass in action

Laird Confidential Thank you! Questions?

Paul Elvikis | [email protected] Tyler Mewhirter | [email protected] Tim Mattison | [email protected] lairdconnect.com/contact

37