ST STEVAL-MKSBOX1V1 User Manual

ST STEVAL-MKSBOX1V1 User Manual

How to use the wireless multi sensor development kit with customizable app for iot and wearable sensor applications
Hide thumbs Also See for STEVAL-MKSBOX1V1:
Table of Contents

Advertisement

Quick Links

UM2580
User manual
How to use the wireless multi sensor development kit with customizable app for
IoT and wearable sensor applications
Introduction
The
STEVAL-MKSBOX1V1
(SensorTile.box) is a ready-to-use box kit with wireless IoT sensor platform designed to help you
build apps that use motion and environmental sensors, regardless of your level of expertise.
The hardware node is a board that fits into a small plastic case (IP54) with a rechargeable battery. You can connect with your
smartphone to the board via Bluetooth by using the
ST BLE Sensor
app (available both on Google Play and Apple Store) and
immediately build your own apps through a special interface that offers beginner and expert level functionality. This multi-sensor
kit therefore allows you to design wireless IoT and wearable sensor applications quickly and easily, without performing any
programming.
SensorTile.box includes a firmware programming and debugging interface that allows professional developers to engage in
more complex firmware customization using the STM32 Open Development Environment (STM32 ODE), which includes a
sensing AI function pack with neural network libraries.
The kit board includes an embedded
SPBTLE-1S
Bluetooth SMART application processor that is compliant with BT
specification v4.2. This transmitter module is FCC (ID:S9NSPBTLE1S) certified and IC (IC:8976-SPBTLE1S) certified.
Figure 1.
STEVAL-MKSBOX1V1 (SensorTile.box) multi sensor development kit
UM2580 - Rev 5 - May 2020
www.st.com
For further information contact your local STMicroelectronics sales office.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-MKSBOX1V1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STEVAL-MKSBOX1V1

  • Page 1: Figure 1. Steval-Mksbox1V1 (Sensortile.box) Multi Sensor Development Kit

    Bluetooth SMART application processor that is compliant with BT specification v4.2. This transmitter module is FCC (ID:S9NSPBTLE1S) certified and IC (IC:8976-SPBTLE1S) certified. Figure 1. STEVAL-MKSBOX1V1 (SensorTile.box) multi sensor development kit UM2580 - Rev 5 - May 2020 www.st.com For further information contact your local STMicroelectronics sales office.
  • Page 2: How To Set Up The Hardware

    Slide the male battery connector vertically into the female connector on the board. You will hear a light click when the connector is attached correctly. Figure 2. STEVAL-MKSBOX1V1 battery connection Step 4. Re-position the circuit with the battery below it and the close the shroud with one of the following types of lid: –...
  • Page 3: How To Use St Ble Sensor App With Sensortile.box

    UM2580 How to use ST BLE Sensor app with SensorTile.box How to use ST BLE Sensor app with SensorTile.box Before you begin, you need to download and install our ST BLE Sensor app on your smartphone. The app is available from the...
  • Page 4: Figure 4. Example Apps Screen

    UM2580 How to use ST BLE Sensor app with SensorTile.box Step 2. Select [CREATE A NEW APP]. The Example Apps screen that follows lists the preloaded apps that you can use immediately. Figure 4. Example Apps screen UM2580 - Rev 5...
  • Page 5: Figure 5. Board Selection

    UM2580 How to use ST BLE Sensor app with SensorTile.box Step 3. Select one of the apps with the icon from the list. After you select the app, ST BLE Sensor will scan for available SensorTile.box devices in range. Figure 5.
  • Page 6: Application Descriptions

    UM2580 Application descriptions Application descriptions Mode 1 example apps ST BLE Sensor bundles the following ready-to-use app scenarios: • Baby Crying Detector • Barometer • Compass and Level • Data Recorder • Human Activity recognition • In-Vehicle Baby Alarm •...
  • Page 7: Baby Crying Detector

    UM2580 Mode 1 example apps RELATED LINKS 2 How to use ST BLE Sensor app with SensorTile.box on page 3 3.1.1 Baby crying detector The baby crying detector (BCD) app implements the Fast Fourier Transform (FFT) and artificial intelligence processing to detect baby crying events using the Sensortile.box...
  • Page 8: Figure 9. Stblesensor - Baby Crying Detection Process

    UM2580 Mode 1 example apps The FFT feature extraction of the acquired signal is processed by the STM32 MCU which calculates the MEL FFT and the MFCC (MEL frequency cepstral coefficient) parameters sent to the implemented MCU neural network: if a baby crying event is detected, the green user LED on the Sensortile.box board lights up and a warning is sent to...
  • Page 9: Barometer App

    UM2580 Mode 1 example apps The baby crying app works with the following ST high sensitivity audio sensor and operating parameter settings: • APP DATA INPUT: microphone audio acquisition • SENSOR USED: MP23ABS1 MEMS microphone • SENSOR SETTINGS: 16 KHz sample acquisition •...
  • Page 10: Figure 12. Environmental Screen

    UM2580 Mode 1 example apps When you run the Barometer app and connect the Sensortile.box device, the ST BLE Sensor app shows a monitoring screen for the environmental sensors. Figure 12. Environmental screen You can access other output options from the menu icon in the top left of the screen.
  • Page 11: Figure 13. Plot Data Screen - Humidity

    UM2580 Mode 1 example apps Figure 13. Plot Data screen - humidity UM2580 - Rev 5 page 11/41...
  • Page 12: Figure 14. Plot Data Screen - Temperature

    UM2580 Mode 1 example apps Figure 14. Plot Data screen - temperature Thanks to the low power sensors, low output data rate and low power MCU, this app is highly suitable for battery- based projects with very low power consumption. UM2580 - Rev 5 page 12/41...
  • Page 13: Compass And Level App

    UM2580 Mode 1 example apps The Barometer app sets the following operating parameter settings for the following ST high accuracy environmental sensors: • APP DATA INPUT: pressure, temperature and humidity values • SENSORS USED: – LPS22HH (absolute pressure MEMS digital sensor) –...
  • Page 14: Figure 16. Motionfx Algorithm Flow - Magnetometer Function

    UM2580 Mode 1 example apps The magnetometer indicates yaw angle and heading, but only if hard-iron offset is compensated and when there is no additional magnetic field around the Sensortile.box disturbing the measurement. Figure 16. MotionFX algorithm flow - magnetometer function Data regarding yaw and angle heading are also given when tilt is compensated by the accelerometer.
  • Page 15: Figure 19. Stblesensor Compass And Level App - Calibration Icon

    UM2580 Mode 1 example apps To enable the magnetometer calibration, you need to touch the symbol highlighted in the picture below. Figure 19. STBLESensor Compass and Level app - calibration icon UM2580 - Rev 5 page 15/41...
  • Page 16: Figure 20. Stblesensor Compass And Level App - Starting The Calibration

    UM2580 Mode 1 example apps Then, move the Sensortile.box in a 8-pattern figure as shown below; the calibration is completed when the icon becomes green. Figure 20. STBLESensor Compass and Level app - starting the calibration The MotionFX library provides orientation estimation, magnetometer hard-iron offset compensation, accelerometer vibration rejection and gyroscope bias compensation.
  • Page 17: Figure 21. Stblesensor Compass And Level App - Orientation Screen

    UM2580 Mode 1 example apps Figure 21. STBLESensor Compass and Level app - orientation screen UM2580 - Rev 5 page 17/41...
  • Page 18: Figure 22. Stblesensor Compass And Level App - Offset Example 1

    UM2580 Mode 1 example apps Figure 22. STBLESensor Compass and Level app - offset example 1 UM2580 - Rev 5 page 18/41...
  • Page 19: Figure 23. Stblesensor Compass And Level App - Offset Example 2

    UM2580 Mode 1 example apps Figure 23. STBLESensor Compass and Level app - offset example 2 UM2580 - Rev 5 page 19/41...
  • Page 20: Data Recorder App

    UM2580 Mode 1 example apps The Compass and Level app works with the following ST high accuracy motion sensors and operating parameter settings: • APP DATA INPUT: Accelerometer, gyroscope and magnetometer values • SENSORS USED: – LSM6DSOX (acceleration and gyroscope sensor) –...
  • Page 21: In-Vehicle Baby Alarm App

    Four features are used (mean, variance, peak-to-peak, zero-crossing) for MLC code generation. The algorithm runs at 26 Hz, with a window of 75 samples. The Human Activity Recognition app works with the following ST high accuracy MEMS acceleration sensor and operating parameter settings: •...
  • Page 22: Figure 25. In-Vehicle Baby Alarm App - Baby Not Crying State

    UM2580 Mode 1 example apps Figure 25. In-Vehicle Baby Alarm app - baby not crying state UM2580 - Rev 5 page 22/41...
  • Page 23: Figure 26. In-Vehicle Baby Alarm App - Baby Crying State

    Mode 1 example apps Figure 26. In-Vehicle Baby Alarm app - baby crying state The In-Vehicle Baby Alarm app works with the following ST high accuracy MEMS acceleration and gyroscope sensor, analog MEMS microphone and the following operating parameter settings: •...
  • Page 24: Pedometer App

    UM2580 Mode 1 example apps 3.1.7 Pedometer app The Pedometer app uses the pedometer software algorithm (MotionPM library) based on the Sensortile.box embedded LSM6DSOX 3-axis MEMS accelerometer data to count the steps and the steps per minute of your walking/running activity and show acquired data. The 3-axis accelerometer measures the acceleration of your body during the walking.
  • Page 25: Sensor Fusion App

    These parameters are appropriate to capture human movement, filter unwanted noise and save battery energy to extend the potential working time. The app works with the following ST high accuracy acceleration sensor and operating parameter settings: • APP DATA INPUT: 3-axis acceleration values •...
  • Page 26: Figure 30. Sensor Fusion App - Sensortile.box Orientation (Cube Representation)

    UM2580 Mode 1 example apps The algorithm uses the LSM6DSOX iNemo 6-axis accelerometer and gyroscope data and the LIS2MDL 3-axis compensated magnetometer data as inputs (9-axis), and calculates the quaternion coefficient and the Euler angles to detect the right orientation of the Sensortile.box represented by a cube on the smartphone app or by value plots for all sensors and results calculated.
  • Page 27: Figure 31. Sensor Fusion App - Sensortile.box Orientation (Plot)

    UM2580 Mode 1 example apps Figure 31. Sensor fusion app - Sensortile.box orientation (plot) Figure 32. Sensor fusion app - Sensortile.box orientation (results) UM2580 - Rev 5 page 27/41...
  • Page 28: Figure 33. Sensor Fusion App - Enabling Magnetometer Calibration

    UM2580 Mode 1 example apps To enable magnetometer calibration, you need to touch the symbol shown in the picture below. Figure 33. Sensor fusion app - enabling magnetometer calibration Move the board in an 8-pattern shape as shown in the figure below to calibrate the magnetometer: the calibration is completed when the icon turns green.
  • Page 29: Figure 34. Sensor Fusion App - Enabling Magnetometer Calibration

    Sensor fusion app - enabling magnetometer calibration The Sensor Fusion Motion FX library provides orientation estimation, magnetometer hard-iron offset compensation, accelerometer vibration rejection and gyroscope bias compensation. The app works with the following ST high accuracy acceleration sensor and magnetometer, and operating parameter settings: •...
  • Page 30: Vibration Monitoring

    LED icon on the smartphone screen turn on. Figure 35. Vibration Monitoring app - event detection The Vibration Monitoring apps work with the following ST high accuracy motion sensor and operating parameter settings: • APP DATA INPUT: accelerometer values for training and compare phases •...
  • Page 31 UM2580 Mode 1 example apps • SENSOR SETTINGS: – High Performance power mode – Output data rate: 6666 Hz – Filter: none – Full scale: 2 g • APP DATA OUTPUT: – Green LED on the SensorTile.box – LED icon on the smartphone screen UM2580 - Rev 5 page 31/41...
  • Page 32: How To Use Expert Mode Functionality

    The STE BLE Sensor app can help you develop your own app or customize an existing one, which you can then upload and run on the SensorTile.box device. Step 1. Return to the main screen of the ST BLE Sensor app. Step 2. Select [CREATE A NEW APP].
  • Page 33: Figure 37. Input Sources Screen

    UM2580 How to use Expert Mode functionality Step 4. Select [+ NEW APP]. Figure 37. Input sources screen Step 5. Select one or more of the desired sensor data inputs. Unselected sensors are put in sleep mode. Step 6. Select [SET INPUT] to confirm Figure 38.
  • Page 34: Pro Mode

    UM2580 Pro Mode Step 7. Select the gear icon next to each sensor and set the parameters according to your application requirements You can set parameters such as full scale, data rate (ODR), Power Mode, Filter, etc., according to device specifications provided in corresponding sensor datasheets. Following sensor selection, the function screen lists the available functions for the enabled sensors.
  • Page 35 You must use STLINK-V3 (or STLINK-V3MINI) and the corresponding level shifter if you require Cube.AI library compatibility with the debugging option. RELATED LINKS Visit the ST website for all the resources you need regarding the STM32 Open Development Environment UM2580 - Rev 5 page 35/41...
  • Page 36: Appendix Aarma Filter Coefficient Calculation

    UM2580 ARMA filter coefficient calculation Appendix A ARMA filter coefficient calculation The built-in ARMA filter implemented by SensorTile.box firmware is a general IIR fifth-order polynomial filter ma 0 u t + ma 1 u t − 1 + ma 2 u t − 2 + ma 3 u t − 3 + ma 4 u t − 4 + ma 5 u t − 5 y t = described by the equation: 1 + ar 1 y t −...
  • Page 37: Appendix B Formal Notices Required By The U.s. Federal Communications Commission

    UM2580 Formal notices required by the U.S. Federal Communications Commission ("FCC") Appendix B Formal notices required by the U.S. Federal Communications Commission ("FCC") FCC NOTICE: This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
  • Page 38: Revision History

    Date Version Changes 13-May-2019 Initial release. Minor text edits Added information regarding ST-LINK/V2 adapter board and cable included in latest version of the kit. Updated Introduction. 14-Nov-2019 Updated Section 1 How to set up the hardware. Updated Section 3.1.4 Baby crying app.
  • Page 39: Table Of Contents

    How to use ST BLE Sensor app with SensorTile.box .......
  • Page 40 Figure 1. STEVAL-MKSBOX1V1 (SensorTile.box) multi sensor development kit ......1 Figure 2.
  • Page 41 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’...

Table of Contents