ZigBee Networks & Cloud Based Wireless Solutions Martin SCHULTE-HOBEIN Field Application Engineer, EMEA Digi International Email: msh@digi.com
Agenda Digi Overview What is the idigi Device Cloud? idigi-ready products Making Wireless M2M easy Digi s RF products in Detail: Building Blocks for M2M Building an end-to-end cloud based M2M solution in 30 minutes idigi Gateway kit demonstration Q & A
Digi International Global M2M Provider 700 Employees Worldwide Founded in 1985 Based in Minnetonka, MN Revenue 204 m$ No debt, 110m$+ in Cash, 35 quarters of profit Track record of acquisitions, Public since 1989
Digi Europe & MEA HQ in Paris : European Management Marketing & Sales Sales offices : Belgium, Denmark, France, Germany, Russia & Eastern Europe, Spain, The Netherlands, UK Admin & Support Center in Dortmund : Finance & Administration Product Specialists Technical Support R&D locations : Breisach, Germany (Spectrum Design EMEA) Logroño, Spain Ilkley, UK Distribution Channel : Strong network of distribution partner and Integrators
Core Competencies Wireless and M2M Design Services Device Cloud Wireless Gateways Processor Modules More than 200 engineers on 3 continents
How to make large M2M Applications easy e.g. Smart Home Smart Grid
WHAT IS THE IDIGI DEVICE CLOUD?
What is the idigi Device Cloud?
Internet of Things is the future 2.4 billion machine devices in 2008 Over 1 Trillion devices in 2012 Cloud Computing to manage a lot of it 9
Evolution of Device connectivity Serial Device connectivity Used to connect existing serial hardware Introduced connection to local IP infrastructure Limitations in remote connectivity WAN Device connectivity Introduced VPN to extend corporate networks over the Internet Limitations in scalability / become complex installations M2M Networking Solutions Including local RF for cost effective solutions Introduced Cloud Computing for easy scalability
The Shift to the Cloud Percent of Total IT Expenditure Source: Saugatuck Technology Inc. 2009 Cloud Infrastructure Survey
Some Cloudy Terms Cloud Computing: is a general term for anything that involves delivering hosted services over the Internet. Variants: SAAS(Software), PAAS(Platform), IAAS(Infrastructure) On Demand (pay as you use) Completely Elastic Fully Managed by Provider Web Services: Enable any application to be able to communicate over the Web. Web Services are published, found, and used through the Internet. Web services communicate using open protocols Web services are self-contained and self-describing Web services can be used by other applications XML (with HTTP) is often (but not always) used for Web services 12
How to run systems for Millions of Users
The Challenge Compounded PAIN 100.000 Management Cost and Complexity 1000 10.000 250 1 25 50 100 Number of Gateways / Devices 14
In the End it s a typical M2M Scenario Collect / Control - Transfer - Present Information & Manage Remote Information Assets Smart Applications Network Local application to read temperature and control Heating & Air-condition Local Data Collection & Control How to access interfaces from remote applications? How to manage remote assets in the field? Configuration / Firmware Updates / etc.
Information flow in M2M Collect / Control - Transfer - Present Information & Manage Remote Information Assets Business Applications Customer Network Public Internet Use existing infrastructure Use Internet Access It becomes complex and there are several challenges
Building Blocks from Digi Gateways = Connectport X Provide WAN to PAN connectivity (Cellular, WiFi, Ethernet..) Intelligent = Programmable in Python with Eclipse tool chain Processor Modules = ConnectCore Embedded solution on module for fast and simple integration Various EOS like Linux or WinCE with full BSP Embedded RF Modules = XBee Mesh or Point-to-Multi Point topology ZigBee (incl. Smart Energy Profile) at 2.4GHz Wireless M-Bus and proprietary at 868 and 900Mhz Adapters and Sensors based on Embedded RF Modules RS232, RS485, Digital & Analog I/O Smart Plug, Sensors (Temp, Humidity, Light), Wall Routers Migration path for existing assets Communication & Service Platform = idigi Solutions for easy connectivity and management
ANYapp, ANYthing, ANYwhere Digi is focused on making the Internet of ANYthing a reality by providing: Services and tools for application developers to integrate ANYapp with anything The ANYthing suite of tools and products to enable connection to any type of thing The idigi Device Cloud to connect anything, ANYwhere to any application 18
What is idigi idigi - A Complete Solution idigi is a Machine-to-Machine (M2M) Management Cloud Service Platform. The idigi Platform provides 3 CORE capabilities: 1. Connectivity for Digi & 3 rd party gateways over all network types 2. Web-services protocol for application integration 3. Centralized management of gateways and end-devices CONNECTIVITY INTEGRATION MANAGEMENT 19
idigi Connectivity Collect / Control - Transfer - Present Information & Manage Remote Information Assets Smart Applications C, C++ Network C-library on embedded devices To be integrated into existing customer applications that interface with the embedded hardware Providing idigi connectivity for device access and management Application Framework (DIA) on Digi Gateways Local data storage & data collection support Multiple transfer & presentation options incl. idigi connectivity Eclipse-based toolchain (Python)
idigi Application Integration Remote Assets Business Applications Customer Network Public Internet idigi Platform as a hosted service Application is addressing gateways and devices by ID / name (no IP addressing) Gateway is converting Webservice to required Device communication idigi Server connects both sides idigi is secure, easy Build your M2M solution in short time
idigi Device Management idigi Management (Web Services) API allows Devices to be discovered, configured and managed idigi Manager PRO is one frontend for this API (but it could be a customer application as well) Users can update the firmware on a device, manage files in the device's file system and reboot the device. Device can define customized configurations to be managed through the idigi Web UI
idigi Manager Pro
idigi Architecture The idigi architecture is based upon the cloud stack
idigi Architecture The idigi architecture is based upon the cloud stack idigi Manager Pro and Partner solutions are SaaS applications
idigi Architecture The idigi architecture is based upon the cloud stack idigi Manager Pro and Partner solutions are SaaS applications idigi is a Platform as a Service for M2M networks
idigi PaaS
idigi Platform Objectives Scalability In terms of transaction throughput and devices/gateways Reliability In terms of platform up time and reliable message delivery Usability In terms of making application & device connections Security In terms of integrity, confidentiality and compliance. Connected Devices Tested: 4 MM Target: 10 MM Managed Gateways Tested: 1 MM Target: 2 MM Message throughput Tested: 3 Billion/Mo. Target: 9 Billion/Mo. Unplanned downtime Current: 100 min/yr Target: 10 min/yr Availability Current: 0.999 Target: 0.9995 Simple, powerful APIs Web Services New Database API Tools incl. Digi ESP and DIA Docs & examples where/when needed Most supported SE Devices Path to ISO 27001 Roadmap for.. - CSA - ISO 27002 - NERC CIP - PCI DSS
Development Platform Production Platform development platform www.developer.idigi.com www.my.idigi.com
Development Platform No Charge Services - idigi Development PaaS - 24/7 Staffed NOC - Business Hours Technical Support - Access to idigi Manager Pro Resources - API s - Device DDK s - Solution Demos - Service Use-Cases
idigi is Secure End User SSL Enterprise Applications certificates certificates 802.15.4 standard 128-bit AES 31
24/7 idigi Platform Monitoring Components Constantly Measured Include: idigi NOC - Hardware: Power, Disk, Network Cards, Processors - Virtual Computing Machines - Network Infrastructure - idigi Platform Software Rackspace Cloud 32 32
Value Proposition idigi is the industry s price performing leading solution Zero cost to implement Zero cost for infrastructure utilizes existing corporate broadband network does not require hardware does not require software licenses No long-term contract Low monthly subscription fee incl. Management
Digi s Value Proposition ANY app thing where SAAS PAAS IAAS Internet
Additional idigi Resources http://www.idigi.com Sand-Box Registration idigi Literature Dia, Starter Kit, Platform Resources idigi Webinars Getting Started Videos Support Forum Sample Applications 35
Get started now! Purchase your dev-kit Connect to the idigi Sandbox for free See it working using easy samples
idigi is Easy Demo
Getting started is easy!
Making Wireless M2M easy IDIGI-READY PRODUCTS
XBee Modules Overview The XBee platform is built around embedded RF Radios utilizing a common footprint Modules provide a complete certified solution with a Hardware Profile and a Networking Protocol (firmware) It s more than just a RF Chip
What is an XBee Module?
XBee development board
S1 S2 S3 S4 S5 S6 S7 S8 Sn S1 (2.4 GHz) Profile 802.15.4 & DigiMesh XBee & XBee-PRO form factors 802.15.4 & DigiMesh Protocols Freescale System-in-Package 802.15.4 Transceiver Up to 1 mile (1.6 km) RF LOS 250 kbps RF data rate S1 802.15.4 Protocol S1 DigiMesh Protocol XBee/XBee-PRO 802.15.4 XBee/XBee-PRO DigiMesh 2.4
S1 S2 S3 S4 S5 S6 S7 S8 Sn S2 (2.4 GHz) Profile ZB = ZigBee PRO XBee & XBee-PRO form factors ZB (ZigBee PRO Feature Set) Ember System-on-Chip ZigBee (Certified) Solution Up to 1 mile (1.6 km) RF LOS 250 kbps RF data rate Through hole and SMT S2 ZigBee PRO Feature Set XBee/XBee-PRO ZB
XBee PRO Programmable It s an XBee plus a host microprocessor Freescale 8-bit MCQE32CF (32KB/128KB Flash, 2KB RAM) Programmable with CodeWarrior and Digi ESP (coming soon) SPI/UART, Local Intelligence, Custom Apps XBee-PRO ZB & SE, EM250, through-hole S2B hardware profile Improved performance over S2 Can be ordered without the microprocessor + = 49
Programmable XBee SDK Software Development Kit (SDK) that is customized for XBee application development Makes it easy to create, configure, build, and debug XBee applications 50
Programmable XBee SDK Project wizard guides users through configuring XBee modules. 51
Programmable XBee SDK Sample applications that customers can modify 52
Programmable XBee SDK Thorough, XBee-specific documentation 53 Digi International Confidential
Programmable XBee SDK Available for download now! www.digi.com/programmablexbeekit 54 Digi International Confidential
S2C - XBee EM35x SMT Lower Current XBee and XBee-PRO (FCC) Next-Generation ZB and SE UART & SPI Longer Range More end devices (over 2x RAM) Larger routing tables/networks
Form Factor Comparison Through-hole 24 x 33 mm 20 pins 10 digital I/O lines UART only (some SPI) Easily Installable by hand Surface Mount (SMT) 22 x 34 mm 37 castellated pads 16 digital I/O lines UART and SPI Better for high volume manufacturing 56
XBee & XBee-PRO SE XBee S2 or S2B hardware ZigBee Smart Energy public profile firmware
ZigBee Smart Energy Profile Devices Energy Service Portal Metering device (electricity, water, gas, heat, etc.) In Premise Display Programmable Communicating Thermosta (HVAC control) Load Control Device Range Extender Smart Appliance Device Prepayment Terminal Device (still TBD)
XBee SE Modules Complete solution: Hardware, Software, and fully certified RF modules (FCC, IC, ETSI, etc ) API configuration options Seamless operation with gateways Purpose-built for ZigBee Smart Energy Device development
S1 S2 S3 S4 S5 S6 S7 S8 Sn S5 (868 MHz) Profile P2MP Long Range XBee-PRO form factor only 869.525 MHz (annex 1g3) Proprietary P2MP Protocol Analog Devices & Atmel hardware Up to 40km RF LOS range* 24 kbps RF data rate S5 868 XBee-PRO 868 *up to 80 km with High-Gain Antennas
General Information and Specs RF frequency: 868 MHz, single channel transmit power output: up to 315 mw (500 mw EIRP) receiver sensitivity: -112 dbm RF data rate: 24 kbps indoor range: up to 550 m outdoor range: up to 40 km Duty-Cycle limit: 10% (ETSI compliance) pin-compatible to all other XBee devices RF communication protocol: proprietary Sleep mode and I/O supported 61
S1 S2 S3 S4 S5 S6 S7 S8 Sn S6 (2.4 Ghz) Profile 802.11bgn WiFi XBee-PRO TH form factor only 802.11bgn up to 65Mbs WPA-TKIP & WPA2-PSK (128bit AES) Tx/Rx/Sleep current: 250/150/<0.002 ma Tx Power: 14-16 dbm (25-39 mw) UART and SPI interfaces S6 802.11 XBee WiFi
XBee Wi-Fi vs. RF Comparison How is it similar? Common footprint Pin-for-pin compatible Data in/out is similar Uses AT-commands for configuration Uses XBee API How is it different? New protocol 802.11 b/g/n Primary application: XBee Access Point Limited XBee to XBee communication New association method Supports SPI and UART RF shield is 60 mils thicker
S1 S2 S3 S4 S5 S6 S7 S8 Sn S8 (868 Mhz) Profile XBee 868lp Features Form Factor SMT XBee Protocols Pt-to-Mpt & DigiMesh Frequency 863-870 MHz, G band ~30 Channels, AFA+LBT Distance 150-200 m indoor, 2+ km line-of-sight Data Rate - 10 Kbps, 80 Kbps Tx/Rx/Sleep Current 45/25/.001 ma Tx Power 12 dbm (16 mw) Interface: UART, SPI, ADC, GPIO Antennas: U.FL, PCB, RF Pad S8 Digi Mesh XBee 868
Products by Form Factor Through-hole XBee ZB XBee SE XBee DigiMesh 2.4 XBee-PRO DigiMesh 900 XBee 802.15.4 XBee-PRO 900 XBee-PRO 868 XBee-PRO XSC XBee Wi-Fi 65 Surface Mount (SMT) XBee ZB XBee SE XBee 868LP
XBee Products Matrix www.digi.com/pdf/chart_xbee_rf_features.pdf 66
MODULES ADAPTERS EXTENDERS GATEWAYS 802.15.4 XSC 900 868 ZB (ZigBee) DigiMesh 2.4 DigiMesh 900 DigiMesh 868 WiFi Common footprint Multiple protocols Multiple frequencies Multiple Antenna options Low-power options Long-range options Globally Certified XBee OEM Modules XBee modules are intended to be embedded into customer applications at the board level. A costeffective alternative to RF design work, XBee modules make adding the right wireless technology to devices fast and easy.
MODULES ADAPTERS EXTENDERS XBee performance Multiple interfaces Battery options Plug-and-play GATEWAYS 802.15.4 XSC* 900* 868 ZB (ZigBee) DigiMesh 2.4 DigiMesh 900* XBee Adapters XBee adapters empower applications with XBee connectivity as simply as plugging in a cable. Completely configurable, adapters are available in RS 232, RS 485, USB, XStick, Digital I/O, Analog I/O options and more. *in development
MODULES ADAPTERS EXTENDERS Bridge connections in a Mesh network Integrated Temperature & Light Sensor GATEWAYS ZB (ZigBee) ZB SE SmartEnergy DigiMesh 2.4 DigiMesh 900* XBee Wall Router / XBee Smart Energy Range Extender XBee Wall Routers make adding range to a mesh network as simple just plug it into a power socket. Once activated, Wall Routers functions as an additional network routing node, to fill in RF dead spots or extend the range of an XBee mesh network. All provided with Xbee Pro Modules
MODULES ADAPTERS EXTENDERS GATEWAYS Ethernet/WiFi/Cellular Wireless to XBee Gateway Commercial and Industrial designs (NEMA4/IP66) Python Intelligence idigi ready 802.15.4 XSC* 900* 868 ZB (ZigBee) DigiMesh 2.4 DigiMesh 900 *in development Connect Port X (CPX) Connect Port X products make accessing an XBee network from anywhere in the world as easy as typing into a Web browser. Capable of running Python applications locally, and leveraging Cellular, WiFi, and Ethernet connectivity. Local IO and Serial ports allows to build multi pupose solutions
DIN Architecture Local Access WiFi ConnectPort X Gateway Management P2M Network Cellular Database Ethernet Mesh Network Remote Application RF WORLD IP WORLD
Connectport X Family X2 XBee to IP (Commerical) XBee to IP Gateway (internal Antenna) Ethernet 8 /16 MB RAM Cost effective ZigBee to IP Gateway X2 XBee to IP (Industrial) XBee to IP Gateway (external Antenna Connector) Ethernet 16 /32 MB RAM Industrial ZigBee to IP Gateway X3 XBee to Cellular XBee to Cellular Serial + I/O with GPS option IP66 version available Cost effective Cellular Gateway X4 XBee to IP & Cellular Digi ARM9 based (powerful) Ethernet plus Cellular (GPRS / HSPA) or WiFi + Routing capabilities, 4G versions available (WiMAX) IP66 version available Modbus support available X5 Robust Gateway Targeted for fleet management applications Ethernet / Cellular / WiFi / XBee / GPS / Iridium 5 network technologies in one device
ConnectPort X2e 6 x faster, 8 x RAM, 10x Flash Easier to deploy More secure Field upgrade process ->Dual Boot DigiEmbeddedLinux 2.6.x Availablility: Available since Jan 2012 User Button New
idigi Gateway Kit Demonstration Session BUILDING AN END-TO-END CLOUD BASED M2M SOLUTION IN 30 MINUTES
idigi Hands-On 1. Use idigi Gateway Development Kit Getting Started Guide You can download it from www.digi.com/gatewaydevelopmentkit 2. Start at page 10: Connect CPX4 to idigi http://developer.idigi.com You reached Goal # 1 3. We are skipping step 4: Installation of Digi ESP This has been done already!
idigi Hands-On 4. Continue on page 16: Start the ESP 5. Create your first idigi Dia Project - Page 17 to 27 6. Add XBee Sensor and Wall Router to DIA configuration Pages 28 to 32 Remember to save dia.yml after editing You reached Goal # 2
idigi Hands-On 6. Now run Python Application Pages 33 to 35 Skip pages 36 and 37 When you see Sensor Data (temp, light) in the web presentation, You reached Goal #3 7. Now use idigi WebServices to collect Sensor Data remotely (via Webservice console) http://developer.idigi.com -> Login -> WebServices Console Pages 38 to 44 You reached Goal # 4
idigi Hands-On 8. Finaly use our Google Appspot application to understand how to use it in a real application http://www.digi.com/gatewaydevelopmentkit/demo1 Use last 6 characters of your device ID in the Gateway ID field Pages 45 to 51 You can get the sources of this application! We reached Goal # 5
Other Demo Resources Permanent idigi Demo in Dortmund: http://idigi-smartplug.appspot.com It uses the ZigBee Smartenergy Meter from www.pikkerton.com/..