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

Similar documents
STEVAL-STLKT01V1. SensorTile development kit. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

STEVAL-STLKT01V1. SensorTile development kit. Description. Features

Getting started with the software package for STEVAL-STLKT01V1 based on STM32Cube

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

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

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

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

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

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

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

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

Getting started with the STSW-BCNKT01 software package for STEVAL-BCNKT01V1 based on STM32Cube

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

Quick Start Guide. SensorTile Kit - STEVAL-STLKT01V1.

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

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

Quick Start Guide. SensorTile Kit - STEVAL-STLKT01V1.

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

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

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

STEVAL-BCNKT01V1. BlueCoin Starter kit. Features. Description

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

TN1235 Technical note

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

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

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

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

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

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

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

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

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

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

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

Description. January 2019 DB2381 Rev 3 1/5

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

This design tip applies to all accelerometers, ecompass modules, and inemo inertial IMUs from STMicroelectronics.

DT0063 Design tip. Bluetooth Low Energy network: time-stamping and sample-rate-conversion. Purpose and benefits. BLE wireless link overview

UM2167 User manual. OrCAD PSpice model usage instructions

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

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

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

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

Description. July 2016 DocID Rev 2 1/6

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

Main components MEMS motion sensor: low power high g 3-axis digital accelerometer inemo inertial module: 3D accelerometer and 3D gyroscope

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

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

Getting started with MotionMC magnetometer calibration library in X-CUBE-MEMS1 expansion for STM32Cube

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

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

AN4782 Application note

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

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

Getting started with the X-CUBE-MEMS1 motion MEMS and environmental sensor software expansion for STM32Cube

NUCLEO-L433RC-P NUCLEO-L452RE-P

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

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

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

Getting started with the ultra-low-power STM32 and LoRa Nucleo pack

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

UM2343 Application note

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

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

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

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

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

UM2375 User manual. Linux driver for the ST25R3911B/ST25R391x high performance NFC frontends. Introduction

Dynamic Electro-Thermal simulator for VIPower products. Description

UM2276. Getting started with MotionSD standing vs sitting desk detection library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

UM2194. Getting started with MotionAW activity recognition for wrist library in X-CUBE-MEMS1 expansion for STM32Cube. User manual.

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

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

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

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

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

AN4624 Application note

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

AN4045 Application note

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

Computing tilt measurement and tilt-compensated e-compass

AN4872 Application note

Getting started with MotionAR activity recognition library in X-CUBE-MEMS1 expansion for STM32Cube

Getting started with MotionAR activity recognition library in X-CUBE-MEMS1 expansion for STM32Cube

UM2255 User manual. SPC58NG-DISP user manual. Introduction

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

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

STM32H7x3I-EVAL. Evaluation board with STM32H7x3XI MCUs. Data brief. Features

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

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

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

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

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

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

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

Transcription:

DT0095 Design tip Datalogging the SensorTile through a PC By Mauro Scandiuzzo Main components STEVAL-STLKT01V1 STSW-STLKT01 SensorTile development kit Embedded software samples for SensorTile, including sensor data streaming via USB and BLE, data logging on SD card, audio acquisition and playback Purpose and benefits Description The purpose of this design tip is to implement a datalog of the sensors embedded in the SensorTile through the USB connection to the PC. The simplest way to connect the SensorTile is through Bluetooth via a portable device. It is possible to use the ST s mobile app BlueMS, available for Android and ios, to store the sensor data. In many cases, the requirement is to store the sensor data for a long period of time and with a precise timestamp. This design tip is intended to help users to datalog the SensorTile quickly through a PC.. December 2017 DT0095 Rev 1 1/7

Getting the software To obtain the required software, perform the following steps: 1. Navigate to the following page on the STMicroelectronics website: http:///content/st_com/en/products/embedded-software/evaluation-toolsoftware/stsw-stlkt01.html 2. Scroll down to the GET SOFTWARE section at the bottom of the page, and follow the instructions to download the STSW-STLKT01 firmware package zip file (see Figure 1). Figure 1. Screenshot - download the STSW-STLKT01 firmware package 3. Unzip the file and open the binary directory (see Figure 2), then select the DataLog_USB.hex file. Figure 2. Unzip the file and open the binary directory 4. Open the file using the ST link Utility and program the file December 2017 DT0095 Rev 1 2/7

Connecting the hardware In order to program the SensorTile, connect an external ST-Link to the SWD connector on one of the cradles (5-pin flat cable included in the SensorTile kit), do the following: Using an STM32-Nucleo board that includes an ST-Link V2.1 in-circuit debugger/programmer, remove the CN2 Jumpers on the Nucleo board (see Fig.3) Connect the Nucleo board to the SensorTile cradle through the cable. Pay close attention to the polarity of the connectors: Pin 1 is identified by a circle on the PCB (Nucleo and SensorTile cradle expansion) or by the square shape of the soldering pad of the connector (SensorTile cradle). Figure 3. Connection of Nucleo ST-Link to SensorTile CN2 Remove Jumpers SWD (Pin1) SWD (Pin1) Terminal setup A terminal window for the appropriate UART communication port (use the baud, data, parity and stop settings below) can be set up to enable the datalog through the PC. After programming the SensorTile, use the configuration in Figure 3: Disconnect the Nucleo board, keeping the SensorTile connected to the PC. Check Windows Device Manager. The SensorTile must be connected through the Virtual Com Port, as shown in Figure 4. Open the serial port and configure the terminal and the serial port as shown in Figure 5. December 2017 DT0095 Rev 1 3/7

Figure 4. Device Manager Virtual Com Port connection Figure 5. Terminal and the serial port setup December 2017 DT0095 Rev 1 4/7

Data log The datalog monitors the following sensor data and timestamp using the Nucleo cradle (see Figure 6): Accelerometer Gyroscope Magnetometer Pressure The datalog monitors the following sensor data and timestamp using the portable cradle (see Figure 7): Accelerometer Gyroscope Magnetometer Pressure Humidity Temperature Battery status Figure 6. Datalog using the Nucleo cradle December 2017 DT0095 Rev 1 5/7

Figure 7. Datalog using the portable cradle HTS221 Humidity and Temperature sensor Support material Related Documentation User Manual UM2055: Getting started with the software package for Bluetooth low energy and sensors in BLUEMICROSYSTEM2 Data brief: STEVAL-STLKT01V1, SensorTile development kit User Manual UM2101: Getting started with the STEVAL-STLKT01V1 SensorTile integrated development platform User Manual UM0892: STM32 ST-LINK utility software description Revision history Date Version Changes 07-Dec-2017 1 Initial release December 2017 DT0095 Rev 1 6/7

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. 2017 STMicroelectronics All rights reserved December 2017 DT0095 Rev 1 7/7