ST X-CUBE-MEMS1 User Manual
ST X-CUBE-MEMS1 User Manual

ST X-CUBE-MEMS1 User Manual

Motion mems and environmental sensor software expansion for stm32cube
Hide thumbs Also See for X-CUBE-MEMS1:
Table of Contents

Advertisement

Quick Links

Getting started with the X-CUBE-MEMS1 motion MEMS and environmental
Introduction
The
X-CUBE-MEMS1
expansion software package for
sensors and collect temperature, humidity, pressure, and motion data. The expansion is built on
technology to ease portability across different STM32 microcontrollers. The software comes with a sample implementation of the
drivers running on the
X-NUCLEO-IKS4A1/X-NUCLEO-IKS01A3/X-NUCLEO-IKS02A1
featured
STM32 Nucleo
development board. The software is also available on GitHub, where the users can signal bugs and
propose new ideas through [Issues] and [Pull requests] tabs.
The software provides sample applications and advanced motion libraries: MotionAC accelerometer calibration, MotionAD
airplane detection, MotionAR activity recognition, MotionAT active time, MotionAW activity recognition for wrist, MotionCP real-
time carry position, MotionDI dynamic inclinometer, MotionEC real-time e-compass, MotionFA fitness activity, MotionFD real-
time fall detection, MotionFX sensor fusion, MotionGC gyroscope calibration, MotionGR real-time gesture recognition, MotionGT
gyroscope temperature calibration, MotionID motion intensity detection, MotionMC magnetometer calibration, MotionPE real-
time pose estimation, MotionPM real-time pedometer library, MotionPW real-time pedometer for wrist, MotionSD standing vs
sitting desk detection, MotionTL tilt measurement, MotionVC vertical context, InfraredAL approach and leave, InfraredPD
presence and motion detection libraries.
Related links
Visit the STM32Cube ecosystem web page on www.st.com for further information
UM1859 - Rev 17 - July 2024
For further information contact your local STMicroelectronics sales office.
sensor software expansion for STM32Cube
STM32Cube
runs on the STM32 and includes drivers that recognize the
UM1859
User manual
STM32Cube
software
expansion boards connected to a
www.st.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the X-CUBE-MEMS1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST X-CUBE-MEMS1

  • Page 1 MotionTL tilt measurement, MotionVC vertical context, InfraredAL approach and leave, InfraredPD presence and motion detection libraries. Related links Visit the STM32Cube ecosystem web page on www.st.com for further information UM1859 - Rev 17 - July 2024 www.st.com...
  • Page 2: Cube-Mems1 Software Expansion For Stm32Cube

    A sample application has been developed to enable sensor data logging on a PC; a Windows PC utility (MEMS-Studio) is available on www.st.com, to allow the developer choose among various sensors available on the expansion board and set the appropriate delay/interval among consecutive data points.
  • Page 3: Figure 1. X-Cube-Mems1 Software Architecture

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube • The Middleware provides advanced motion libraries. The motion libraries include MotionAC (accelerometer calibration library), MotionAD (airplane detection library), MotionAR (activity recognition library), MotionAT (active time library), MotionAW (activity recognition for wrist library), MotionCP (carrying position library),...
  • Page 4: Folder Structure

    HAL_UART_Transmit() system call. Transmitted sensor data can be viewed through MEMS-Studio, a PC-based application developed by STMicroelectronics, available on www.st.com, which can be used to read and show data from the sensors expansion board connected to a PC via the STM32 Nucleo board.
  • Page 5: Mems-Studio Data Logging Utility

    Before using this utility, ensure that the STM32 Nucleo development board plus expansion board assembly is connected to the PC. Step 1. Check the Windows Device Manager for the ST COM port number. in the example below, it is COM7. Figure 3.
  • Page 6: Figure 4. Mems-Studio Main Page

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Step 2. Launch MEMS-Studio application, ensure the COM port number for the current STM32 Nucleo board is correct and select the sensors that you want to use. Figure 4. MEMS-Studio main page Step 3.
  • Page 7: Figure 6. Mems-Studio Data Plot

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Step 4. Press "Start" to display the data. Figure 6. MEMS-Studio data plot Step 5. Press "Line Charts/Motion" to display inertial sensor data. Figure 7. MEMS-Studio Motion Sensor Plot UM1859 - Rev 17 page 7/25...
  • Page 8: Datalogterminal Application

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Step 6. Press "Line Charts/Environmental" to display environmental sensor data. Figure 8. MEMS-Studio Environmental Sensor Plot DataLogTerminal application This application shows how to use the X-NUCLEO-IKS4A1, X-NUCLEO-IKS01A3 X-NUCLEO-IKS02A1 send sensor data from an STM32 Nucleo board using UART to a connected PC and display it on generic applications like Tera Term.
  • Page 9: Fifo Mode Application For Pressure Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 9. DataLogTerminal application screenshot with X-NUCLEO-IKS4A1 FIFO mode application for pressure sensor This application shows how to use the X-NUCLEO-IKS01A3 to store pressure and temperature data in FIFO mode and send data from an...
  • Page 10: Orientation Application For Accelerometer Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 10. FIFO mode application for pressure sensor screenshot with X-NUCLEO-IKS01A3 6D orientation application for accelerometer sensor This application shows how to use the X-NUCLEO-IKS01A3 expansion board to find out the 6D orientation and...
  • Page 11: Fifo Continuous Mode Application For Gyroscope Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 11. 6D orientation application for accelerometer sensor screenshot with X-NUCLEO-IKS01A3 1.10 FIFO continuous mode application for gyroscope sensor This application shows how to use the X-NUCLEO-IKS01A3 expansion board to store gyroscope data in FIFO...
  • Page 12: Fifo Mode Application For Gyroscope Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 12. FIFO continuous mode application for gyroscope sensor screenshot with X-NUCLEO-IKS01A3 1.11 FIFO mode application for gyroscope sensor This application shows how to use the X-NUCLEO-IKS01A3 expansion board to store gyroscope data in FIFO...
  • Page 13: Free Fall Detection Application For Accelerometer Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 13. FIFO mode application for gyroscope sensor screenshot with X-NUCLEO-IKS01A3 1.12 Free fall detection application for accelerometer sensor This application shows how to detect the free fall event using the X-NUCLEO-IKS01A3 expansion board and an STM32 Nucleo board.
  • Page 14: Self-Test Application For Accelerometer And Gyroscope Sensors

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube The application serial settings are: baud rate 115200 bps; 8 data bits; No parity; 1 stop bit; no hard flow control. Figure 14. Pedometer application for accelerometer sensor screenshot with X-NUCLEO-IKS01A3 1.14 Self-test application for accelerometer and gyroscope sensors...
  • Page 15: Single Tap And Double Tap Detection For Accelerometer Sensor

    UM1859 X-CUBE-MEMS1 software expansion for STM32Cube Figure 15. Self-test application for accelerometer and gyroscope sensors screenshot with X-NUCLEO- IKS01A3 1.15 Single tap and double tap detection for accelerometer sensor This application shows how to detect the single and double tap events using the...
  • Page 16: Wake Up Detection For Accelerometer Sensor

    Every motion library is provided together with a sample application that shows the main features of the library using the X-NUCLEO-IKS4A1, X-NUCLEO-IKS01A3 X-NUCLEO-IKS02A1 expansion board and an STM32 Nucleo board. For more information, refer to each motion library user manual available on www.st.com. UM1859 - Rev 17 page 16/25...
  • Page 17: System Setup Guide

    STM32 microcontroller line. The Arduino connectivity support and ST morpho connectors make it easy to expand the functionality of the STM32 Nucleo open development platform with a wide range of specialized expansion boards to choose from.
  • Page 18: X-Nucleo-Iks01A3 Expansion Board

    UM1859 System setup guide Figure 18. X-NUCLEO-IKS4A1 MEMS and environmental sensor expansion board 2.1.3 X-NUCLEO-IKS01A3 expansion board X-NUCLEO-IKS01A3 is a motion MEMS and environmental sensor evaluation board system. It is compatible with the Arduino UNO R3 connector layout and features the LSM6DSO 3-axis accelerometer + 3- axis gyroscope, the...
  • Page 19: Software Description

    • X-CUBE-MEMS1: an STM32Cube expansion for sensor application development. The X-CUBE-MEMS1 firmware and associated documentation is available on www.st.com. • Development tool-chain and compiler: The STM32Cube expansion software supports the three following environments: ®...
  • Page 20: Stm32 Nucleo And Sensor Expansion Board Setup

    STM32 Nucleo and sensor expansion board setup The STM32 Nucleo board integrates the ST-LINK/V2-1 debugger/programmer. Developers can download the relevant version of the ST-LINK/V2-1 USB driver by searching STSW-LINK008 or STSW-LINK009 (according to your version of Windows) on www.st.com. The X-NUCLEO-IKS4A1,...
  • Page 21: Revision History

    Section 2.20: "Wake up detection for accelerometer sensor" and Section 2.21: "Sample applications for motion libraries". 20-Sep-2017 Updated Introduction, Section 2.2 Architecture and Figure 2. X-CUBE-MEMS1 software architecture Updated Introduction, Section 2.1 Overview, Section 2.2 Architecture, Section 2.3 Folder structure and Section 2.5 DataLogExtended application.
  • Page 22 UM1859 Date Revision Changes Updated Section Introduction, Section 1.1: Overview, Section 1.2: Architecture, Section 1.3: Folder structure, Section 1.5: DataLogExtended application, Section 1.5: DataLogExtended application, Section 1.6: MEMS-Studio data logging utility, Section 2.4: Software setup Section 2.6: MEMS- 05-Jul-2024 Studio setup.
  • Page 23: Table Of Contents

    Contents X-CUBE-MEMS1 software expansion for STM32Cube....... 2 Overview ..............2 Architecture .
  • Page 24 X-CUBE-MEMS1 package folder structure ........
  • Page 25 ST’s terms and conditions of sale in place at the time of order acknowledgment. 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