ARM mbed Reference Designs Steve Ogborne Senior Engineer Internet of Things Business Unit mbed Connect / Shenzhen, China 15 th Dec 2015
Contents Intro Smart City Sub-GHz Reference Design Wi-Fi Reference Design Wearables Reference Design Summary 2
What is a Reference Design? A reference design represents the smallest possible set of components, code and infrastructure needed to bootstrap the simplest working system It is a starting position from which a working system can be built, and the building block from which it is built upon. The deliverables for a reference design includes circuit diagrams, and example implementations, using COTS hardware hello world applications (Device and Web), configuration details for infrastructure, EDA tool consumables for developing custom devices Documentation, teaching/learning materials 3
What are Reference Designs for? A reference design is used as the basis for developing new systems The reference implementation is recreated, and the example applications run, proving the end-to-end operation of a bare-bones system Once running, the reference implementation is extended and customised, prototyping a system that meet the needs of the developer The prototype system is iterated into a deployable system, using the reference software and EDA consumables as a starting point 4
Who should be interested? Reference designs are there are a starting point to learn from and build from, so they have a broad audience Developers planning to deploy a production system at scale, who want a known solid starting point to build out from. Entrepreneurs experimenting with the IoT art of the possible, understanding opportunities presented by the new technology Instructors wanting to teach fundamentals of IoT systems, with practical examples 5
Reference Design 1: Smart City Sub-GHz 6LoWPAN 6
Technology mbed Smart City Reference Design Sub-GHz 6LoWPAN technology for environments that require robust communications Significant building penetration (hospital basement, for example) Long range distance communications 6LoWPAN & CoAP mesh network protocols is ideal solution for large number of devices Quick deployment, configuration and management of routers and end-node devices Reference Design illustrates 6LoWPAN connectivity to extensive backhaul networks Compatible with ISP modems (DSL, Fiber-Optic, 3G/4G cellular, etc) Network protocols and tunnelling compatible with complex network systems Suitable for applications with mobile requirements (e.g. cellular allows remote installation) 7
Architecture mbed Smart City Reference Design What the Sub-GHz 6LoWPAN Reference Design looks like App mdc mds Tunnel Broker ISP Raspberry Pi Access Point 6LoWPAN Border Router 6LoWPAN node(s) AYIYA Tunnel IPv6 IPv6 IPv4 IPv4 IPv4 IPv6 IPv6 8
Example (1) mbed Smart City Reference Design Wireless dongle Temperature sensor 9 Cellular Wifi hotspot IPv6/IPv4 Tunnel Client Border Router End node
Example (II) mbed Smart City Reference Design Web Application mbed Device Connector 10
Reference Design 2: Wi-Fi 11
Technology mbed Wi-Fi Reference Design WiFi chips are starting to support Bluetooth Low Energy at little or no extra cost Take advantage of this as a side band to provision the device BLE is already supported is the majority of modern smartphones Offloading UI often improves UX greatly Lowers BOM cost by eliminating physical interfaces Enables no user interface on the device e.g. Wireless Speakers Reference design shows adding a device to a WiFi network Uses mbed Provisioning App and client library for mbed OS to request WiFi credentials Once on the network the device registers resources with mbed Connector Makes device available for use by a web service 12
Architecture mbed Wi-Fi Reference Design IBM Bluemix Amazon AWS Other Partners Third Party Services (examples) mbed Connector mbed Device Server mbed Provisioning App mbed Services Application Code Wi-Fi Reference Design Provisioning Client BTS mbed OS libraries BLE API Config WiFi API Minar Connector Client mbed OS drivers mbed OS SPI GPIO I2C Timer 13
Example Application mbed Wi-Fi Reference Design Provision a Wi-Fi device onto a network Use the mbed app running on a phone to provision the device over bluetooth Free app 14
Reference Design 3: Wearables 15
Technology mbed Wearables Reference Design Optimised Energy Management for significantly longer battery life 9-axis sensor for activity and health tracking RFID for access control Fingerprint Sensor for securing applications GPS for location services BLE for connecting to other devices and the internet NFC for tag reading, peer to peer communication and payments 16
Architecture mbed Wearables Reference Design Hub + Web Components: IBM Bluemix Salesforce Amazon AWS Other Third Party Services (examples) mbed Connector mbed Device Server mbed app Other mbed Services Wearable Device Components: Application Code Graphics Demo Application code LCD NFC BLE GPS 6DEG RGB Wearable specific drivers SPI DMA GPIO Touch I2C Timer Scheduler Core mbed OS components SPI DMA GPIO Touch I2C Timer Silicon Partners components 17
Example Application mbed Wearables Reference Design Mechanical Components Electronics Sensing Interfaces MCUs Comms Reference Design Contents Example: BLE Mechanics Antenna integration into case Component topology Implementation Examples Internal Software Applications Peripheral Drivers mbed OS Platform Drivers Electronics: PCB Schematics Layout guidance Implementation Examples Software: Drivers Libraries Interface logic Example use in applications 18
Example Application mbed Wearables Reference Design 19
Summary 20
How to get Involved A range of reference designs for 2016 are being planned right now. Basic wearable Sub-GHz/2.4GHz 6LoWPAN Thread Wi-Fi + BLE provisioning Looking for partners with Suitable MCU + Radio SoCs Suitable MCU + Radio certified modules (including dev boards) Contact support@mbed.org to discuss Reference design opportunities, or come to speak to any of the Application Engineering team 21