Git Product home page Git Product logo

stmicroelectronics / x-cube-mems1 Goto Github PK

View Code? Open in Web Editor NEW
42.0 14.0 10.0 93.12 MB

X-CUBE-MEMS1 is an expansion software package for STM32Cube. The software runs on the STM32 and includes drivers that recognize the sensors and collect temperature, humidity, pressure and motion data.

Home Page: https://www.st.com/en/embedded-software/x-cube-mems1.html

License: Other

HTML 2.37% CSS 2.49% C 86.72% Assembly 8.42% Batchfile 0.01%
stm32 mems x-cube iot

x-cube-mems1's Introduction

X-CUBE-MEMS1 Firmware Package

latest tag

The X-CUBE-MEMS1 expansion software package for STM32Cube runs on the STM32 and includes drivers that recognize the sensors and collect temperature, humidity, pressure and motion data. The expansion is built on STM32Cube software 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 and X-NUCLEO-IKS02A1 expansion boards connected to a featured STM32 Nucleo development board. 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 ecompass, MotionFA fitness activity, MotionFD real-time fall detection, MotionFX sensor fusion, MotionGC gyroscope calibration, MotionGR real-time gesture recognition, 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 and MotionVC vertical context libraries.

X-CUBE-MEMS1 software features:

  • Complete software to build applications using the following sensors:

    • temperature and humidity sensors: SHT40-AD1B for X-NUCLEO-IKS4A1, HTS221 for X-NUCLEO-IKS01A3
    • pressure sensor: LPS22DF for X-NUCLEO-IKS4A1, LPS22HH for X-NUCLEO-IKS01A3
    • temperature sensors: STTS22H for X-NUCLEO-IKS4A1, STTS751 for X-NUCLEO-IKS01A3
    • motion sensors: LIS2MDL, LIS2DUXS12, LSM6DSO16IS and LSM6DSV16X for X-NUCLEO-IKS4A1, LIS2MDL, LIS2DW12 and LSM6DSO for X-NUCLEO-IKS01A3, ISM330DHCX, IIS2DLPC and IIS2MDC for X-NUCLEO-IKS02A1
    • audio sensor: IMP34DT05 for X-NUCLEO-IKS02A1
  • Several examples to show the innovative inertial and environmental sensors

  • Sample application to transmit real-time sensor data to a PC

  • Compatible with the Unicleo-GUI graphical user interface to display sensor data and configure outputs

  • Sample implementation available on the X-NUCLEO-IKS4A1, X-NUCLEO-IKS01A3 and X-NUCLEO-IKS02A1 boards connected to a NUCLEO-F401RE, NUCLEO-L152RE, NUCLEO-L073RZ or NUCLEO-U575ZI-Q development board

  • Advanced motion libraries with sample applications

  • Easy portability across different MCU families, thanks to STM32Cube

  • Free, user-friendly license terms

The X-CUBE-MEMS1 package contents

Here is the list of references to user documents:

x-cube-mems1's People

Contributors

cparata avatar mgrella avatar stmicroelectronics-github avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

x-cube-mems1's Issues

Compatibility question

Hello, just a question here. I'm totally new to the stm32 platform and was looking to get a dev board. I would like to try some of the examples from this repository to get a feeling of how things works. I understand there are examples available for a NUCLEO-L476RG + X-NUCLEO-IKS01A2, but I was looking to buy the B-L475E-IOT01A Discovery. I've notice there is not much difference in the MCU (lcd pins only??) and the set of sensors is not all that different.
My question is: will I be able to run the examples on the B-L475E-IOT01A Discovery without too much trouble being a total beginner on this platform?
Thank you

Motion Library: launch on STM32MP

Hi everyone!
I want to use Motion Libraries on STM32MP (only Cortex-M4 core), but in CubeMX i get warning: "This pack does not support STM32MP1 Series".

Describe the set-up:

My board: STM32MP157A-DK1
My IDE: STM32CubeIDE 1.7.0
Libraries: MotionFX,MotionMC,MotionVC

The STM32MP has the same Cortex-M4 core as in many other microcontrollers running these libraries. How can I solve the problem?

How to get the MotionSensor Libraries working on other ARM Controllers?

How to get the MotionSensor Libraries working on other ARM Controllers?

I ported the MotionMC and MotionEC Lib (want to using the LSM303AGR) to our nRF52 but it get stuck inside MotionMC_manager_init function.

I think u set everything correct:

"-mfloat-abi=hard -mfpu=fpv4-sp-d16",
"-DFLOAT_ABI_HARD",
"-l:MotionMC_CM4F_wc32_ot_hard.a",
"-l:MotionEC_CM4F_wc32_ot_hard.a",

Or is it general impossible to port to other MCUs?

Use of data ready bit with Infrared_PD algo

I see that in the PresenceDetection_STHS34PF80 example app the data collection method is implemented by changing the TIM3 period based on the desired ODR. Is the data ready bit being used in this example like when using the embedded algorithm. Is the data ready bit preferred for collecting data over using a timer?

Accelerometer calibration issue

Hi everyone,

I have a problem with the MotionDI library. I tried to calibrate the accelerometer, but it doesn't calculate the Bias and the SF matrix, they are 0.0. The calibration quality is MDI_CAL_OK after the first MotionDI_update function call, but the output values are totally wrong, more of the output values (Roatation[1] and Linear Acceleration) are oscillating.
Fun fact, that I tried to calibrate the accelerometer with the MotionAC library, and it worked really good on the same device, the quality was MDI_CAL_GOOD. I tried the 6 point calibration in both cases.
Configuration:
STM32F413
MotionDI_CM4F_wc32_ot_hard.a
ISM330DLC (but I wrote a driver manually, I use only the MotionDI from this repository)
Frequency: 100 Hz
iKnobs.AccKnob.CalType = MDI_CAL_ONETIME;
iKnobs.GyrKnob.CalType = MDI_CAL_CONTINUOUS;

The other knobs are the default, I didn't change it.

What am I doing wrong?

Thank you for your help!
Best regards,
Zalán Gyuricza

Most recent version of MotionSP.c

In this repo there is MotionSP.c which is at the moment version 2.2.0 30-May-2019

Inside the package FP-IND-PREDMNT1 version 2.4.0 I can find a different release of MotionSP.c (2.3.2 21-Oct-2020) which seems newer (from the release number), but is much smaller than this one (750 linesof code vs 1127).

Can someone clarify this?
Is it possible to have in a well know location (here?) the latest release of the ST Middleware (as an example MotionSP)?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.