PK ;AtJm$! " siliconlabs-node-latest/.buildinfo# Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. config: tags: PK ;AtJfjWL WL " siliconlabs-node-latest/index.html
Version: | 1.00C |
---|---|
Copyright: | (C)2016 Avnet Silica company |
Date: | 6 Jul 2016 |
Reference name: | BAEVTSS001 |
The SiliconLabs Sensor Node has the BGM111 device that is a Bluetooth® Smart module targeted for Bluetooth Smart applications. That permits good RF performance, low power consumption and easy application development as key requirements. At +8 dBm TX power BGM111 has best-in-class RF performance and can provide long range, robust Bluetooth Smart connectivity. This device integrates all of the necessary elements required for a Bluetooth Smart application: Bluetooth radio, software stack and GATT based profiles and it can also host end user applications, which means no external microcontroller is required in size, price or power constrained devices. SiliconLabs Sensor Node has several sensors connected to the BGM111 Bluetooth Smart module, thanks its highly flexible hardware interface to connect to different peripherals. Another valuable characteristic is the ultra-low power consumption that permits to operating using a standard 3V coin cell battery.
This board shows you the capability of the BGM111 sending data by Bluetooth read from the sensors of:
BGM111 Features:
Firmware developed using: Blue Gecko Software, for installation and configuration of the project, follow instruction inside Developing guide
The board reference documentation is available on the architech-board website.
Contents:
This guide shows you what kind of data are sent by the SiliconLabs Sensor Node. in order to follow the next steps it is necessary to use an Android phone or an iOS device.
Bytes | Significance |
---|---|
0x58 | Temperature |
T | signed value from -20 to +40 celsius |
0xA8 | Humidity |
H | Humidity in %, scale 100%, unit 1% |
0x18 | Accelerometer |
X | 2’complement value in units of 0.01g |
Y | 2’complement value in units of 0.01g |
Z | 2’complement value in units of 0.01g |
0x38 | Magnetometer |
X | 2’ complement value in units of 10-6T |
Y | 2’ complement value in units of 10-6T |
Z | 2’ complement value in units of 10-6T |
0x28 | Gyroscope |
X | 2’ complement value in units od 0.1deg/s |
Y | 2’ complement value in units od 0.1deg/s |
Z | 2’ complement value in units od 0.1deg/s |
0x48 | Ambient light & Proximity |
A | units ok klux |
P |
This page explains how to develop under Windows with the BG Tool showing where to download, install and use it. To program the BGM111 it is necessary not only the SiliconLab Sensor Node itself but also the board named SLWSTK6201A.
The software can be downloaded from the SiliconLabs website the version used in this guide is v0.9.2-446. In the silabs webpage under the download now you can find documents about BGScript, BGAPI, and example applications. Once it downloaded install following default options.
The board EZR32 Leopard Gecko Starter Kit is needed to program the firmware in the SiliconLab Sensor Node. It is used as a J-Link. Without this hardware it is not possible to flash the BGM111. It is necessary also to make connections from the connector of the board with the device. To make this connection please follow this scheme:
As in figure:
PT | Line |
---|---|
18 | VCC |
19 | GND |
11 | RESET |
7 | SWDIO |
8 | SWCLK |
Connect these lines to the SLWSTK6201A board, red connector:
Sensor Node | SLWSTK6201A | Line |
---|---|---|
TP18 | A Pin 1 | VCC |
TP19 | A Pin 2 | GND |
TP11 | A Pin 18 | RESET |
TP7 | A Pin 13 | SWDIO |
TP8 | A Pin 14 | SWCLK |
Before to continue, connect the SiliconLab Sensor Node to the SLWSTK6201A and connect the PC via USB to the SLWSTK6201A. Windows will install a virtual COM when recognizes the board.
The project is developed with the BGScript. This language is compiled by BGTool and interpreted by BGM111. To know details about this programming language we suggest to read the specific document Bluetooth Smart BGScript Developer Guide and read about the API functions with the document BGM API Reference Guide. Summarizing the BGScript is a simple event-driven BASIC-like application scripting language. It abstracts away the complexity of Bluetooth development, embedded programming and hardware interfaces. This kind of design enables fast, simple firmware development into BGM111 module. Obviously, it is not needed external MCU.
The BGScript project include several files:
Now, to compile the project first up, download from architechboards website the source code of the project. Extract it and launch BGTool. Choose BGM111 module and select the COM connected to the SLWSTK6201A board.
After that, go to the menu clicking on View->Upload Tool.
Will appear a new window where to open the project file.
Before to build the project select where to put the binary file, this file will be uploaded into the BGM111. The last step is flash the firmware, to do this verify that all the connections are steady and click on Upload button. In few seconds the board will be programmed.
The SiliconLab Sensor Node is provided with several sensor:
The BGM111 uses I2C interface to communicate with sensors.
Please refer to architechboards website.