on 2024-06-03 4:00 AM
This knowledge article provides an overview of MEMS-Studio, an intuitive software tool that covers everything from initial STMicroelectronics MEMS sensor evaluation to code creation.
MEMS-Studio is a cutting edge software solution that supports the wide range of STMicroelectronics MEMS sensors and their functionalities. It combines existing STMicroelectronics MEMS sensors software tools, like Unico-GUI, Unicleo-GUI and AlgoBuilder into a single platform. MEMS-Studio can be used to evaluate sensors, to create applications using embedded software libraries designed for MEMS sensors, to generate code for STM32 microcontrollers, and to analyze MEMS sensors data and to build MLC and FSM based applications.
It is compatible with existing development kits such as ProfiMEMS, STM32 Nucleo boards, SensorTile.box PRO.
Figure 1: MEMS-Studio Overview
MEMS-Studio offers the following user experience:
Figure 2: MEMS-Studio features
MEMS-Studio supports the following STMicroelectronics hardware:
Figure 3: ST hardware supported by MEMS-Studio
The complete list of supported hardware is available at paragraph 2.6 hardware and firmware compatibility of UM3233.
In this hands-on section, we use the STEVAL-MKI109V3 board.
To get started, connect the STEVAL-MKI109V3 board to the PC via USB and open MEMS-Studio.
Figure 4: ProfiMEMS STEVAL-MKI109V3 board connected to the PC via USB
Inside the tab [Connect] choose [Serial] as the communication type, select the correct communication port to which the device is connected and click on [Connect].
When the connection is completed, MEMS-Studio recognizes which board is connected and present a list of possible devices, which you can connect to the ProfiMEMS board. To find a device, you can either scroll through the device names or search by device types (such as accelerometer, e-compass, magnetometers, environmental sensors, gyroscopes, iNEMO inertial sensors). Alternatively, type the device name inside the [Direct device search] bar.
Figure 5: MEMS-Studio - Connect section
In this case, select STEVAL-MKI197V1 (LSM6DSOX). After selecting the correct device, you are automatically switched to the [Sensor Evaluation] tab: from here, you can configure your sensor, such as selecting the scale and ODR. In this hands-on, click on the [Easy configuration] button for quick evaluation. Now, you are able to stream data from the sensor and visualize the output in real-time. You can press the [Play] button in the top-left corner and select which method to evaluate the sensors such as bar charts, line charts and fast Fourier transform (FFT).
Figure 6: MEMS-Studio - Sensor Evaluation section
MEMS-Studio can also be used to evaluate custom libraries through devices. As an example: Using the MEMS sensor expansion board X-NUCLEO-IKS01A3 with a STM32 Nucleo board using the datalogger firmware available from X-CUBE-MEMS1.
Moreover, you can visualize the orientation of MEMS sensor in real time inside the [Sensor fusion] tab.
Figure 8: MEMS-Studio - Sensor Fusion tab
Coming back to the ProfiMEMS board STEVAL-MKI109V3, under the [Advanced Features], you can access the advanced features such as the [Pedometer], [FSM], [MLC].
Under the FSM section, you can create or load a configuration inside the [Configuration] tab.
Figure 9: MEMS-Studio - FSM Configuration section
Under the FSM section, you can evaluate the sensor in real time inside the [Testing] tab.
Figure 10: MEMS-Studio - FSM Testing section
The MLC section is available with all the same features already present in Unico-GUI: you can load data logs, generate ARFF files, train and deploy decision trees, visualize the output of your decision tree, debugging by injecting previously recorded data logs.
Figure 11: MEMS-Studio - MLC section
Under the [Data Analysis] section, you can load and visualize all data logs in the same place.
Figure 12: MEMS-Studio - Data Analysis section
AlgoBuilder is incorporated in MEMS-Studio, which allows you to build and to flash custom algorithms using graphical design. For example, consider a simple algorithm that graphs acceleration onto a scatter plot: Here is its graphical design.
Figure 13: MEMS-Studio - AlgoBuilder section
Finally, inside the [Firmware Programming] section we can flash any device. The image below demonstrates the flash of the ProfiMEMS using the evaluation software for MEMS-Studio.
Figure 14: MEMS-Studio - Firmware Programming section
If you want further instructions on how to use MEMS-Studio, refer to the user manual UM3233 Getting started with MEMS-Studio.
We have briefly gone through the features of MEMS-Studio, and provided you with a hands-on use case. We encourage you to try MEMS-Studio! It's the desktop solution for a complete experience of the entire STMicroelectronics MEMS sensor portfolio.
Details are available at the following links: