UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide

Similar documents
EFM8 Laser Bee Family QSG110: EFM8LB1-SLSTK2030A Quick Start Guide

EFM32 Pearl Gecko Family QSG118: EFM32PG1 SLSTK3401A Quick- Start Guide

QSG144: CP2615-EK2 Quick-Start Guide

EFM8 Busy Bee Family EFM8BB2-SLSTK2021A Quick Start Guide

EFM32 Happy Gecko Family EFM32HG-SLSTK3400A Quick-Start Guide

QSG107: SLWSTK6101A/B Quick-Start Guide

QSG114: CPT007B SLEX8007A Kit Quick- Start Guide

AN999: WT32i Current Consumption

EFM8 Universal Bee Family EFM8UB2 Errata

QSG107: SLWSTK6101A Quick-Start Guide

QSG159: EFM32TG11-SLSTK3301A Quick- Start Guide

QSG107: SLWSTK6101A/B Quick-Start Guide

QSG119: Wizard Gecko WSTK Quick-Start Guide

QSG123: CP2102N Evaluation Kit Quick- Start Guide

EFM32 EFM32GG11 Giant Gecko Family QSG149: EFM32GG11-SLSTK3701A Quick-Start Guide

AN125 INTEGRATING RAISONANCE 8051 TOOLS INTO THE S ILICON LABS IDE. 4. Configure the Tool Chain Integration Dialog. 1. Introduction. 2.

UG345: Si72xx Eval Kit User's Guide

Humidity/Temp/Optical EVB UG

SMBus. Target Bootloader Firmware. Master Programmer Firmware. Figure 1. Firmware Update Setup

QSG155: Using the Silicon Labs Dynamic Multiprotocol Demonstration Applications

AN1160: Project Collaboration with Simplicity Studio

AN976: CP2101/2/3/4/9 to CP2102N Porting Guide

UG369: Wireless Xpress BGX13P SLEXP8027A Kit User's Guide

Translate HCSL to LVPECL, LVDS or CML levels Reduce Power Consumption Simplify BOM AVL. silabs.com Building a more connected world. Rev. 0.

Date CET Initials Name Justification

8-Bit MCU C8051F85x/86x Errata

Date CET Initials Name Justification

UG271: CP2615-EK2 User's Guide

Software Release Note

UG365: GATT Configurator User s Guide

QSG153: Micrium s μc/probe Tool Quick- Start Guide

CP2103-EK CP2103 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

EFM8 Busy Bee EFM8BB1 Errata

CP2104-EK CP2104 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

WT12 EVALUATION KIT DATA SHEET. Monday, 09 September Version 1.7

EFM8 Universal Bee Family EFM8UB1 Errata

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

UG254: CP2102N-MINIEK Kit User's Guide

UG294: CPT213B SLEXP8019A Kit User's Guide

CP2105-EK CP2105 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup USBXpress Driver Development Kit

UG322: Isolated CAN Expansion Board User Guide

Wireless Development Suite (WDS) is a software utility used to configure and test the Silicon Labs line of ISM band RFICs.

AN1106: Optimizing Jitter in 10G/40G Data Center Applications

Router-E and Router-E-PA Wireless Router PRODUCT MANUAL

EFR32MG13, EFR32BG13 & EFR32FG13 Revision C and Data Sheet Revision 1.0

QSG126: Bluetooth Developer Studio Quick-Start Guide

EFR32 Mighty Gecko Family EFR32MG1 with Integrated Serial Flash Errata History

CP2114 Family CP2114 Errata

AN1139: CP2615 I/O Protocol

AN1143: Using Micrium OS with Silicon Labs Thread

Bluegiga WF111 Software Driver Release Notes

UG274: Isolated USB Expansion Board User Guide

µc/probe on the Freescale FRDM-KL05Z without an RTOS

Si1146 UVIRSlider2EK Demo Kit

EFM32 Zero Gecko EFM32ZG Errata

Date CET Initials Name Justification

USBXpress Family CP2102N Errata

AN1117: Migrating the Zigbee HA Profile to Zigbee 3.0

AN888: EZR32 Quick Start Guide

Figure 1. Precision32 AppBuilder

The process also requires the use of the following files found in the Micriµm Quick Start Package for the FRDM-KL46Z:

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

UG366: Bluetooth Mesh Node Configuration User s Guide

Si7005USB-DONGLE. EVALUATION DONGLE KIT FOR THE Si7005 TEMPERATURE AND HUMIDITY SENSOR. 1. Introduction. 2. Evaluation Kit Description

BRD4300B Reference Manual MGM111 Mighty Gecko Module

UG361: Si70xx Evaluation Tools User's Guide

AN0059.1: UART Flow Control

AN324 ADVANCED ENCRYPTION STANDARD RELEVANT DEVICES. 1. Introduction. 2. Implementation Potential Applications Firmware Organization

C8051F411-EK C8051F411 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. 3. Evaluation Board Interface LCD User Interface

AN888: EZR32 Simple TRX Application Quick Start Guide

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

AN1083: Creating and Using a Secure CoAP Connection with ARM s mbed TLS

Table 1. Kits Content. Qty Part Number Description. Si4010 Simplified Key Fob Demo Kit 868 MHz

UG103.13: Application Development Fundamentals: RAIL

Si1140-DK. Si1140 DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure 1. Si1143 Evaluation Board

UG352: Si5391A-A Evaluation Board User's Guide

AN0018.1: Supply Voltage Monitoring

AN690. Si4010 DEVELOPMENT KIT QUICK-START GUIDE. 1. Purpose. 2. Kit Content. Table 1. Kit Content

AN719 PRECISION32 IDE AND APPBUILDER DETAILED TUTORIAL AND WALKTHROUGH. 1. Introduction. Figure 1. Precision32 IDE and AppBuilder Walkthrough Overview

Figure 1. Traditional Biasing and Termination for LVPECL Output Buffers

AN1095: What to Do When the I2C Master Does Not Support Clock Stretching

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

ETRX3DVK Development Kit Quick-Start Guide

AN0018.0: Supply Voltage Monitoring

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Not Recommended for New Designs. Si Data Sheet Errata for Product Revision B

8-bit MCU Family C8051F93x/92x Errata

EFM32 Pearl Gecko Family EFM32PG1 Errata

AN0059.0: UART Flow Control

The Si50122-Ax-EVB is used to evaluate the Si50122-Ax. Table 1 shows the device part number and corresponding evaluation board part number.

Programming Options for Si5332

Software Design Specification

Software Design Specification

AN1006: Differences Between Si534x/8x Revision B and Revision D Silicon

AN0885: EFM8UB Low Energy USB Overview

AN116. Power Management Techniques and Calculation. Introduction. Key Points. Power Saving Methods. Reducing System Clock Frequency

2. Key Points. F93x F92x F91x F90x. Figure 1. C8051F93x-C8051F90x MCU Family Memory Size Options

AN1119: Using RAIL for Wireless M-Bus Applications with EFR32

UG370: Wireless Xpress AMW007 Kit User's Guide

Transcription:

UG313: Thunderboard Sense 2 Bluetooth Low Energy Demo User's Guide The Thunderboard Sense 2 Bluetooth Low Energy Demo is a complete sensor-to-cloud solution for the Thunderboard Sense 2 kit and accompanying ios/android application. The demo collects and processes sensor data from the Thunderboard Sense 2, and gives immediate graphical feedback to the user through the Thunderboard ios/android application. Cloud connection enables real-time graphs and past sessions of the sensor data to be viewed on other devices through the web client. The demo is open source and provides a great demonstration and evaluation tool for adding Bluetooth Low Energy connectivity to a sensor or actuator project. THUNDERBOARD SENSE 2 HARDWARE Orderable pn: SLTB004A EFR32 Wireless System-on-Chip Hall effect sensor Relative humidity and temperature sensor UV index and ambient light sensor Indoor air quality gas sensor 6-axis inertial sensor Barometric pressure sensor MEMS microphone Four high brightness RGB LEDs BLUETOOTH LOW ENERGY DEMO FIRMWARE Silicon Labs Bluetooth Low Energy protocol stack Board Support Package including board peripheral drivers Bluetooth LE services supporting hardware peripherals Source code available THUNDERBOARD MOBILE APP Bluetooth Low Energy enabled mobile application ios/android platform support Cloud connected Source code available THUNDERCLOUD Web client based on Google Firebase Visualizes real-time sensor data and past sessions Source code available silabs.com Building a more connected world. Rev. 1.00

Introduction 1. Introduction The Thunderboard Sense 2 Bluetooth Low Energy Demo is an excellent starting point to get familiar with the Thunderboard Sense 2 and its many sensors and wireless connectivity. The demo consists of the Thunderboard Sense 2 and accompanying Bluetooth Low Energy (BLE) firmware, the Thunderboard app with cloud integration and a web client. Once the app and hardware is connected using BLE, the Thunderboard app receives sensor data from the Thunderboard Sense 2 at a regular interval for graphical visualization on the screen. The app lets the user turn on and off the LEDs on the board as well as control the intensity and color of the RGB LEDs using buttons and slide controls. If chosen, the app delivers sensor data to the cloud, which can be viewed live on other devices or saved for later use. Raw data from the sensors is also available for download. BLE LTE/WiFi Cloud LTE/WiFi Thunderboard app Thunderboard Sense Figure 1.1. System Application Diagram Web client Magnetic Field Sensing Hall effect sensor Silicon Labs Si7210 Communication and Computation ARM Cortex-M4 multi-protocol radio SoC Silicon Labs Wireless Gecko EFR32 Indoor Air Quality Digital gas sensor ams CCS811 Pressure Absolute barometric pressure sensor Bosch Sensortec BMP280 Motion Tracking 6-axis inertial measurement unit TDK InvenSense ICM-20648 Audio Sensing High quality MEMS microphone TDK InvenSense ICS-43434 UV and Light UV index and ambient light sensor Silicon Labs Si1133 Temperature and Humidity Relative humidity and temperature sensor Silicon Labs Si7021 User Input and Feedback 2 push buttons and 4 high-power RGB LEDs Left Button Figure 1.2. Thunderboard Sense 2 Hardware Features More in-depth information on the Thunderboard Sense 2 can be found in UG309: Thunderboard Sense 2 User s Guide. All instructions, collateral and source files for the solution can be found here: http://www.silabs.com/thunderboard. silabs.com Building a more connected world. Rev. 1.00 2

Getting Started 2. Getting Started This section describes how to quickly get started with the Thunderboard Sense 2 Bluetooth Low Energy Demo. Before proceeding, it is recommended to download Simplicity Studio and check for kit firmware updates. 1. Install the Thunderboard app from ios App Store or Google Play Store Links to the mobile app can be found here: http://www.silabs.com/start-sense. 2. Launch the app If prompted, allow the app to turn on Bluetooth. 3. Supply power to the Thunderboard Sense 2 Connect a USB cable to the kit or insert a CR2032 coin cell battery. The Thunderboard Sense 2 now starts to advertise over Bluetooth for a duration of 30 seconds. 4. Connect the Thunderboard Sense 2 to the Thunderboard app Click the device that shows up on the start-up screen on the Thunderboard app to connect the devices. If more than 30 seconds has elapsed since power was applied, the left button can be pushed to put the Thunderboard Sense 2 back in advertisement mode for another 30 seconds. A green LED blinks on the Thunderboard Sense 2 when the board is in advertisement mode and ready to be paired with the app. The figure below shows the firmware state diagram running on the kit and how the start-up screen on the app looks like when a Thunderboard Sense 2 is ready to be paired. Power-up/ reset button Reset The kit appears on the app Sleep 30 second timeout Left button pushed Advertise Connect Figure 2.1. Kit Firmware State Diagram and App Start-up Screen 5. Explore the app Click on the screen to navigate through the app, watch live sensor data and control the LEDs on the Thunderboard Sense 2. Streaming data to the cloud is also possible. The two figures below show screenshots from the app running on an Android phone. silabs.com Building a more connected world. Rev. 1.00 3

Getting Started Figure 2.2. App Graphical User Interface Slide to stream Open web client Figure 2.3. Stream To Cloud 6. Disconnect the Thunderboard Sense 2 from the Thunderboard app Push the back-key until the start-up screen is reached, or close the app. Turn off Bluetooth if desirable. silabs.com Building a more connected world. Rev. 1.00 4

Additional Information 3. Additional Information 3.1 Power Supply The Thunderboard Sense 2 estimates the source impedance of its power source and transmits this information to the app. If the power source is classified as a CR2032 coin cell, the following features will be disabled in order to conserve power and avoid brown-out situations: RGB LEDs CCS811 indoor air quality sensor The remaining battery percentage of the Thunderboard Sense 2 is also estimated and shown on the app if a battery source is powering the board. Note that some external batteries, especially if they are nearly discharges, may be classified as CR2032 coin cells even though they are not. 3.2 Motion Calibration Calibration of the gyroscope is performed when launching the motion view, and the orientation of the board will be reset to a predetermined position. In motion view, recalibrating the gyroscope can be performed anytime by clicking the calibrate button. Remember to place the board on a level surface and orient the board in the same direction as the image of the board shown in the app. The board needs to be held steady while calibration is in progress. 3.3 Sensor Data Refresh Rate The sensor read-out rate on the board and app directly influences the refresh rate of the sensor data shown on the screen. The environmental sensor data are, for instance, read at a fairly slow rate in order to conserve power. The refresh rate of the sensor data may differ depending on the firmware and app revision. 3.4 Gas Sensor Initialization The indoor air quality sensor reporting carbon dioxide and volatile organic compounds to the Thunderboard app requires a start-up period before it transmits data to the app. The app will therefore show a value of 0 ppm and 0 ppb, respectively, during the start-up period. silabs.com Building a more connected world. Rev. 1.00 5

Document Revision History 4. Document Revision History Revision 1.00 2017-09-27 Initial document version. silabs.com Building a more connected world. Rev. 1.00 6

Simplicity Studio One-click access to MCU and wireless tools, documentation, software, source code libraries & more. Available for Windows, Mac and Linux! IoT Portfolio www.silabs.com/iot SW/HW www.silabs.com/simplicity Quality www.silabs.com/quality Support and Community community.silabs.com Disclaimer Silicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and "Typical" parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice and limitation to product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Silicon Labs shall have no liability for the consequences of use of the information supplied herein. This document does not imply or express copyright licenses granted hereunder to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any Life Support System without the specific written consent of Silicon Labs. A "Life Support System" is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Trademark Information Silicon Laboratories Inc., Silicon Laboratories, Silicon Labs, SiLabs and the Silicon Labs logo, Bluegiga, Bluegiga Logo, Clockbuilder, CMEMS, DSPLL, EFM, EFM32, EFR, Ember, Energy Micro, Energy Micro logo and combinations thereof, "the world s most energy friendly microcontrollers", Ember, EZLink, EZRadio, EZRadioPRO, Gecko, ISOmodem, Micrium, Precision32, ProSLIC, Simplicity Studio, SiPHY, Telegesis, the Telegesis Logo, USBXpress, Zentri and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. All other products or brand names mentioned herein are trademarks of their respective holders. Silicon Laboratories Inc. 400 West Cesar Chavez Austin, TX 78701 USA http://www.silabs.com