UM1982 User manual. Multi-Sensor RF 868 MHz platform. Introduction

Similar documents
UM1978 User manual. Multi-sensor RF platform sensor board. Introduction

Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo. Description

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Running a simple 6LowPAN network consisting of one receiver node and one or more sensor nodes in a Sub-1GHz RF band

STEVAL-BFA001V1B. Predictive maintenance kit with sensors and IO-Link capability. Data brief. Features. Description

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

Getting started with the FP-SNS-ALLMEMS1 Bluetooth low energy and sensors software expansion for STM32Cube

STEVAL-BCNKT01V1. BlueCoin Starter kit. Features. Description

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

Getting started with the X-NUCLEO-EEPRMA1 standard I²C and SPI EEPROM memory expansion board based on M24xx and M95xx series for STM32 Nucleo

ASM330LHH. Automotive 6-axis inertial module: 3D accelerometer and 3D gyroscope. Data brief. Features. Applications. Description

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

Description. July 2016 DocID Rev 2 1/6

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

Description. January 2019 DB2381 Rev 3 1/5

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

How to configure the BlueNRG-1 and BlueNRG-2 devices in network coprocessor mode. Main components Bluetooth Low Energy wireless system-on-chip

Motor control power board based on the SLLIMM-nano 2 nd series

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

USB dongle for the Bluetooth class 1 SPBT3.0DP1 module. Description

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

Switch mode single cell Li+ battery charger with OTG boost, voltage mode fuel gauge and LDO

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

Getting started with FP-SNS-6LPNODE1 software for IoT sensor node connection to 6LoWPAN networks using sub-1ghz RF

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

IoT node with BLE connectivity, digital microphone, environmental and motion sensors, motion and audio middleware libraries.

EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

EV-VNH7040AY. VNH7040AY Evaluation Board. Features. Description

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

Getting started with X-NUCLEO-IHM06A1 low voltage stepper motor driver expansion board based on STSPIN220 for STM32 Nucleo

Getting started with the P-NUCLEO-IKA02A1 STM32 Nucleo pack for electrochemical toxic gas sensor expansion board with CO sensor

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

EVAL6470H. Fully integrated stepper motor driver mounting the L6470. Description. Features

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

UM2167 User manual. OrCAD PSpice model usage instructions

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

AN4373 Application note

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

STEVAL-LDO001V1. Quad high performance LDO evaluation board based on LDBL20, LDLN025, LD39130S and STLQ020. Applications. Description.

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

UM2255 User manual. SPC58NG-DISP user manual. Introduction

EVAL6470PD. Fully integrated stepper motor driver mounting the L6470 in a high power PowerSo package. Description. Features

STEVAL-ISA164V1. STNRG388A evaluation board. Description. Features

Dynamic Electro-Thermal simulator for VIPower products. Description

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

UM2343 Application note

Getting started with MotionPM real-time pedometer library in X-CUBE-MEMS1 expansion for STM32Cube

UM2084 User manual. Getting started with the ultra-low-power STM32 and LoRa Nucleo pack. Introduction

LIS25BA: low-noise, high-bandwidth 3-axis digital output accelerometer with TDM interface

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module. Description

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

AN4515 Application note

Getting started with X-NUCLEO-NFC03A1 NFC card reader board based on CR95HF IC for STM32 Nucleo

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

EMIF06-USD14F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Applications. Description. Features.

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

AN4624 Application note

STEVAL-ISV021V1. Energy harvesting demonstration kit based on SPV1050. Description. Features

UM2350. Getting started with MotionPW real-time pedometer for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

UM2461 User manual. SPC584B-DIS Discovery Board. Introduction

X-NUCLEO-NFC04A1. Dynamic NFC/RFID tag IC expansion board based on ST25DV04K for STM32 Nucleo. Description. Features

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

NUCLEO-L433RC-P NUCLEO-L452RE-P

Getting started with osxmotiongc gyroscope calibration library for X-CUBE-MEMS1 expansion for STM32Cube

TN1235 Technical note

Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo

AN4782 Application note

EV-VND7040AJ. VND7040AJ evaluation board. Features. Applications

EVAL6474H. Stepper motor driver mounting the L6474. Description. Features

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

Getting started with the high power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo

UM2361. Getting started with the ST BlueNRG-Mesh ios application. User manual. Introduction

Transcription:

UM1982 User manual Multi-Sensor RF 868 MHz platform Introduction The objective of this document is to demonstrate the workings of a 6LoWPAN (IPv6 over Low power Wireless Personal Area Networks) using ST's SPIRIT1 (Low data rate, low power Sub 1 GHz) RF transceiver at 868 MHz. The evaluation platform is based on the STEVAL-IDI002V2 and STEVAL-IDI003V2. Together, the two boards together are known as the Multi Sensor-RF platform. The STEVAL-IDI002V2 is the master board consisting of an STM32L152RBT6 Cotex-M3 microcontroller and Wireless Communication interface at 868 MHz frequency band. It runs the open source Contiki 6LoWPAN 3.x stack, and provides for a versatile platform for evaluating the 6LoWPAN solution in the context of the Internet of Things, where it can be interfaced with various sensors and or actuators. The STEVAL-IDI003V2 consists of many MEMS sensors from ST. This board is connected to the STEVAL-IDI002V2 through GPIOs, ADC and I²C. The application firmware running on top of the Contiki 6LoWPAN stack interacts with these sensors and transmits the data over the 6LoWPAN network at 868 MHz. The whole system can be powered by a single cell Li-Ion battery (3.7 V, any capacity > 200 mah). The following block diagram describes the whole system (STEVAL-IDI002V2 + STEVAL-IDI003V2): Figure 1: Block diagram May 2016 DocID028625 Rev 2 1/18 www.st.com

Contents UM1982 Contents 1 Board schematics... 3 2 Getting started... 6 2.1 System requirements... 6 2.2 Package contents... 6 2.3 Software installation... 6 2.4 Hardware installation... 6 3 Running the evaluation platform... 8 4 Schematic diagram (STEVAL-IDI002V2)... 11 5 Schematic diagram (STEVAL-IDI003V2)... 14 6 Revision history... 17 2/18 DocID028625 Rev 2

UM1982 Board schematics 1 Board schematics Figure 2: STEVAL-IDI002V2 board photo Figure 3: STEVAL-IDI003V2 board photo DocID028625 Rev 2 3/18

Board schematics The STEVAL-IDI004V2 pictured below is used to demonstrate the functions of the 6LoWPAN network based on the Multi sensor-rf platform. UM1982 Figure 4: STEVAL-IDI004V2 board photo In the demo application, the STEVAL-IDI004V2 board acts as a Root Node in a 6LoWPAN network. The STEVAL-IDI004V2 and STEVAL-IDI002V2 boards together form a 6LoWPAN network. The STEVAL-IDI002V2 reads the data from the sensors present on the STEVAL- IDI003V2 and transmits to the Root Node through the 6LoWPAN network at 868 MHz frequency band. The communication between the various nodes in this 6LoWPAN network is through the STMicroelectronics SPIRIT1 RF Transceiver, operating at the 868 MHz frequency band. The SPIRIT1 is a very low-power RF transceiver, intended for RF wireless applications in the sub-1 GHz band. It is designed to operate in both the license-free ISM and SRD frequency bands at 169, 315, 433, 868, and 915 MHz, but can also be programmed to operate at additional frequencies in the 300-348 MHz, 387-470 MHz, and 779-956 MHz bands. The 6LoWPAN stack runs on the STM32L152RBT6 microcontroller on the Multisensor-RF platform. The STM32L series of microcontrollers are ultra-low power microcontrollers based on the Cortex-M3 core. In the Multisensor-RF platform, the microcontroller handles sensor data collection, interfacing, controlling the SPIRIT1 RF transceiver and executing the 6LoWPAN stack and application. The STEVAL-IDI002V2 also contains a dual- EEPROM M24LR64E from STMicroelectronics. This dual EEPROM enables the Multisensor RF platform to store the data from the sensors and allows the user to access this data using any NFC enabled smartphone. As already mentioned, the STEVAL-IDI003V2 consists of a host of sensors from STMicroelectronics. It consists of the MEMS Accelerometer LIS3DH, the MEMS Pressure sensor LPS25HB, the MEMS Humidity sensor HTS221, MEMS Microphone MP34DT01. It also contains a light sensor from AVAGO technologies. The PCB board that doesn't have (B) label close to [STEVAL-IDI003V2] is mounting LPS25H, instead the LPS25HB. In Figure 3: "STEVAL-IDI003V2 board photo" is showing PCB with (B) label mentioned and mounting LPS25HB. 4/18 DocID028625 Rev 2

UM1982 Board schematics Together, these sensors allow for a myriad of applications that can be developed on the Multisensor RF platform. DocID028625 Rev 2 5/18

Getting started 2 Getting started UM1982 2.1 System requirements In order to use the Multi-sensor RF Platform, a Windows operating system such as Windows XP or Windows 7 must be installed on the PC. 2.2 Package contents The Multi-sensor RF Platform includes the following items: Hardware content: Two STEVAL-IDI002V2 and STEVAL-IDI003V2 boards. STEVAL-IDI004V2 Wireless Bridge Platform acting as the data collector or Root node. Software content: GUI and android application for Multi-sensor RF platform STEVAL-IDI002V2.hex file for programming into the STEVAL-IDI002V2. Documentation: User manual of this board. 2.3 Software installation Wireless Bridge Configuration utility: Wireless Bridge ConfigUtil_1.0_140901.exe Android application: WirelessBridge_1.0.2.apk 2.4 Hardware installation Connecting STEVAL-IDI002V2 and STEVAL-IDI003V2 The two boards are connected using the 10-pin male connector J4 on STEVAL-IDI002V2 and 10-pin female connector J1 on the STEVAL-IDI003V2. These 10-pin connector is for connecting some I²C, ADC & GPIO pins from the STM32L152RBT6 on the STEVAL-IDI002V2 with the various sensors on the STEVAL- IDI003V2. The STEVAL-IDI003V2 derives power from the STEVAL-IDI002V2 through this 10-pin connector. Below is a table describing the pins of the J4 connector on the STEVAL-IDI002V2. Table 1: J4 connector Pin J4 Description 1 VDD connection for the daughter board (STEVAL-IDI003V2) 2 I2C1_SCL I2C1 Clock pin 3 I2C1_SDA I2C1 Data pin 4 I2C2_SCL I2C2 Clock pin 5 I2C2_SDA I2C2 Data pin 6 GPIO0 PA3 pin of the STM32L152RBT6 7 GPIO1 PB0 pin of the STM32L152RBT6 8 ADC0 9 ADC1 6/18 DocID028625 Rev 2 PA0 pin of the of the STM32L152RBT6 connected to the photo diode output in the STEVAL-IDI003V2 PA1 pin of the STM32L152RBT6 connected to the Microphone amplifier output on the STEVAL-IDI003V2

UM1982 Pin J4 Description 10 GND Ground connection for the daughter board (STEVAL- IDI003V2) Getting started Power supply The STEVAL-IDI002V2 board can be powered from the PC via the USB min B-type connector J7. It can also be powered by a Li-Ion battery connected to the J8 2-pin connector.the J5 3-pin SPDT switch turns the board ON and OFF. As mentioned above, the STEVAL-IDI003V2 derives power from the STEVAL-IDI002V2 through the 10 pin connector. Programing connector: The STM32L152RBT6 on the STEVAL-IDI002V2 is programmed through the 10 pin Cortex Debug Connector. The Debug Connector is shown in the figure below. Figure 5: Cortex debug connector DocID028625 Rev 2 7/18

Running the evaluation platform 3 Running the evaluation platform UM1982 Now the Multi-sensor RF system needs to be connected together. Connect the STEVAL-IDI002V2 and the STEVAL-IDI003V2 using the 10 pin connector on both boards, as shown in the picture below. To power up the Multi-sensor RF system, connect the single cell Li-Ion battery to the board on the correct positive and negative terminals or connect a USB cable to the USB mini-b type connector on the STEVAL-IDI002V2 board. Figure 6: Battery connector Start the multi-sensor RF board using the switch on the top right side of the above figure Figure 7: Switch on the top 8/18 DocID028625 Rev 2

UM1982 Running the evaluation platform With respect to the board picture above, switch to the 'ON' condition by moving the switch up. The same steps also apply to the other multi-sensor RF board. The Red LED on STEVAL-IDI002V2 toggles twice in 4 seconds and then goes ON permanently to indicate the Multi-Sensor RF platform is powered on. Once the 6LoWPAN network is formed, the Multisensor-RF platform starts sending data to the STEVAL-IDI004V2. The Green LED on the STEVAL-IDI002V2 toggles every time it sends data to the STEVAL- IDI004V2. Once the STEVAL- IDI004V2 starts receiving the data from the Multi-Sensor RF platform boards, the Sub GHz led (D5) on the board starts toggling every time it receives a data packet. Note that typically it takes 10-15 seconds to form this network. Connect an android phone to the Wireless Bridge device via Bluetooth. The Wireless Bridge provides nodes connected with 6LoWPAN and NFC connectivity. When the user selects the 6LoWPAN nodes, the application lists the nodes connected to the Wireless Bridge shown in the figure. Figure 8: Wireless bridge The user needs to select a node's IP address to view the sensor values for that node, as shown in the below figure: DocID028625 Rev 2 9/18

Running the evaluation platform Figure 9: IP address UM1982 For each node, the following data is shown. Temperature in C Pressure in mbar Acceleration for X, Y and Z Axis in m/ sec2 Noise status: "Noise Detected" or "No Noise" Brightness in Lux. 10/18 DocID028625 Rev 2

UM1982 Schematic diagram (STEVAL-IDI002V2) 4 Schematic diagram (STEVAL-IDI002V2) Figure 10: STEVAL-IDI002V2 circuit schematic (1 of 6) Figure 11: STEVAL-IDI002V2 circuit schematic (2 of 6) GSPG10082015DI1540 GSPG10082015DI1550 DocID028625 Rev 2 11/18

Schematic diagram (STEVAL-IDI002V2) Figure 12: STEVAL-IDI002V2 circuit schematic (3 of 6) UM1982 Figure 13: STEVAL-IDI002V2 circuit schematic (4 of 6) GSPG10082015DI1555 Figure 14: STEVAL-IDI002V2 circuit schematic (5 of 6) GSPG10082015DI1605 GSPG10082015DI1545 12/18 DocID028625 Rev 2

UM1982 Figure 15: STEVAL-IDI002V2 circuit schematic (6 of 6) Schematic diagram (STEVAL-IDI002V2) GSPG10082015DI1600 DocID028625 Rev 2 13/18

6 7 8 SDA/SDI SA0/SDO CS ADC1 VDD 16 15 14 Schematic diagram (STEVAL-IDI003V2) 5 Schematic diagram (STEVAL-IDI003V2) Figure 16: STEVAL-IDI003V2 circuit schematic (1 of 5) UM1982 U1 C1 1uF 0805 100nF 0402 C2 I2C2_SCL_PB10 1 2 3 4 VDD_IO NC NC SCL/SPC ADC2 ADC3 GND INT 1 LIS3DH RESERVED 13 12 11 10 R4 0 0402 GPIO0_PA3 5 GND INT 2 9 I2C2_SDA_PB11 R6 4k7 0402 R5 4k7 0402 ACCELERTOMETER SECTION GSPG11102015DI1050 Figure 17: STEVAL-IDI003V2 circuit schematic (2 of 5) GSPG11102015DI1055 14/18 DocID028625 Rev 2

4 5 SDA/SDI SA0/SDO UM1982 Figure 18: STEVAL-IDI003V2 circuit schematic (3 of 5) Schematic diagram (STEVAL-IDI003V2) GPIO0_PA3 I2C 2_SCL_PB10 1 2 VDD_IO SCL/SPC GND 9 GND_IO 8 3 NC NC 6 3 TE VDD 10 R8 INT1 7 CS 6 R10 4k7 0402 0 0402 LPS25HB U4 R11 4k7 0402 I2C 2_SDA_PB11 C8 100nF 0402 PRESSURE SENSOR SECTION Figure 19: STEVAL-IDI003V2 circuit schematic (4 of 5) GSPG11102015DI1105 C7 100nF 0402 R7 4k7 0402 I2C2_SCL_PB10 R9 4k7 0402 I2C2_SDA_PB11 U5 5 GND Vdd 1 I2C2_SDA_PB11 4 SDA SCL 2 I2C2_SCL_PB10 HT 221 HUMIDITY SENSOR SECTION GSPG11102015DI1100 DocID028625 Rev 2 15/18

Schematic diagram (STEVAL-IDI003V2) Figure 20: STEVAL-IDI003V2 circuit schematic (5 of 5) UM1982 J1 1 ADC 1_PA1 R12 1K 0402 C9 100nF 0402 1 2 OUT V CC NC V CC 4 3 U6 APDS-9004 C10 100pF 0402 I2C 2_SCL_PB 10 I2C 2_SDA_PB11 GPIO0_PA3 GPIO1_PB0 ADC 0_PA0 ADC 1_PA1 2 3 4 5 6 7 8 9 10 CON 10 PHOTODETECTOR SECTION DAU GH TER BOARD CONNECTOR GSPG11102015DI1110 16/18 DocID028625 Rev 2

UM1982 Revision history 6 Revision history Table 2: Document revision history Date Revision Changes 11-Dec-2015 1 Initial release. 06-May-2016 2 Updated: Figure 3: "STEVAL-IDI003V2 board photo" DocID028625 Rev 2 17/18

UM1982 IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2016 STMicroelectronics All rights reserved 18/18 DocID028625 Rev 2