cancel
Showing results for 
Search instead for 
Did you mean: 

What code bases are available for the LSM6DSOX and what are best practices for using this device?

JLaw.1
Associate

Hello,

I’m a student at the Rose-Hulman Institute of Technology and am using one of your products for my team’s senior design project. The goal of the project is to develop accurate activity recognition (standing, sitting, walking, etc.) and relative position (dead reckoning) algorithms that can be implemented on a single sensor package. Our selected parts are below - corresponding development/breakout boards were purchased for all parts.

ST LSM6DSOX (6-axis IMU)

Bosch BMI270 (6-axis IMU)

Kionix KX132-1211 (3-axis accelerometer)

SAM R34 Xplained PRO (MCU)

I found a Git Repository with driver and example files for the LSM6DSOX. Other than this repo, are there other code bases or resources available for this device? Additionally, what are the best practices for using this device, especially with regards to eliminating noise, determining accurate position, and activity recognition?

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

Hi @JLaw.1​ ,

Regarding the LSM6DSOX:

  • For the standard drivers, you can for sure refer to the  Git Repository , or to the function pack for STM32 implementing the sensor acquisition, such as the FP-SNS-ALLMEMS1.
    • This package, that runs on STM32 toolkits, allows to view real-time environmental sensor data, motion sensor data, digital microphone levels and battery level.
  • For implementing algorithms especially with motion sensors, you can refer to the X-CUBE-MEMS1:
    • 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, etc.
  • For Finite State Machine (FSM) and Machine Learning Core (MLC) examples you can refer to these other repositories:

If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster. 

-Eleon

View solution in original post

1 REPLY 1
Eleon BORLINI
ST Employee

Hi @JLaw.1​ ,

Regarding the LSM6DSOX:

  • For the standard drivers, you can for sure refer to the  Git Repository , or to the function pack for STM32 implementing the sensor acquisition, such as the FP-SNS-ALLMEMS1.
    • This package, that runs on STM32 toolkits, allows to view real-time environmental sensor data, motion sensor data, digital microphone levels and battery level.
  • For implementing algorithms especially with motion sensors, you can refer to the X-CUBE-MEMS1:
    • 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, etc.
  • For Finite State Machine (FSM) and Machine Learning Core (MLC) examples you can refer to these other repositories:

If my reply answered your question, please click on Select as Best at the bottom of this post. This will help other users with the same issue to find the answer faster. 

-Eleon