MEMS (sensors)

Ask questions and find answers on ST MEMS sensors, such as the LSM6DSV and the LSM6DSL. Learn how to use the SensorTile.Box, and STEVAL kits.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Implementation for MEMS1 librairi : don't work !

Hi,i am using ism330dhcx and lis2mdl on my custom board,i am able to configure and read data from accelero, gyro and magneto.i started the implementation of X-Cube-MEMS1 lib.when i compile the code, every thing is ok,but after running, when a functio...

malarab_0-1724321994996.png malarab_1-1724322019406.png malarab_2-1724322046678.png malarab_3-1724322172683.png
malarab by Senior II
  • 611 Views
  • 1 replies
  • 1 kudos

LIS2DH threshold calculation problem

Hi everyone, I want to ask about the LIS12DH threshold calculation (attached with what I think the calculation is), it is clear that when I use 4g as the scale, my calculation results are 2.5g, when I move the sensor can go above this threshold and t...

jokerlove_0-1724235066350.png image.png

X-CUBE-MEMS1 application Inclinometer and eCompass

Hello,      on a custom board which mounts STM32F407 CPU with LSM6DSV16XTR accelerometer+gyroscope and LIS2MDLTR magnetometer I have to implement an inclinometer and a eCompass with the maximum accuracy. Now, it is not completely clear to me how to g...

MRaff.1 by Associate III
  • 554 Views
  • 0 replies
  • 0 kudos

STM32L496ZG +MPL3115A2 interface

I am using STM32L496ZG nucleo board for interface MEMS MPL3115A2 Sensor using I2C interface . First i am scanning I2C device and find attached device too.But after scanning device whenever i tried to read Who am i register , i don't receive correct...

0693W000003QtjUQAS.png 0693W000003QtkXQAS.png 0693W000003QtkmQAC.png 0693W000003QtnlQAC.png
RPate.4 by Associate
  • 1423 Views
  • 4 replies
  • 0 kudos

Resolved! LSM6DSO Pedometer

Hi BenG142, I'm trying to develop a pedometer application using the LSM6DSOX sensor, but I haven't been successful. Could you share your project files with me? I'd like to know which registers you used. 

LPS27hhtw failure mode

Hi, I look on different application notes linked to the LPS27HHTW but I found nothing about its failure mode.I want to know what could be its failure mode and how will it react for eg on SPI communication (value at 0 or minimum or sea level pressure?...

David45 by Associate II
  • 604 Views
  • 2 replies
  • 0 kudos

Resolved! Can be ASILB-LIBRARY used with single ASM330LHB sensor?

Hello,we're considering to use ASM330LHB in the SIL2 functional safety application and we would like to use and take credit from ST's ASILB-LIBRARY. However ASILB-LIBRARY use-case as it's documented expects that two redundant senors will be employed....

KSzurman by Associate
  • 612 Views
  • 1 replies
  • 0 kudos

Body motion Detection using LIS2DH/LIS3DH

Posted on September 08, 2015 at 14:18Dear All,I am writing a firmware that is supposed to detect if a body is moved for a certain time i.e. 3 seconds of continuous motion. I am using LIS3DH Accelerometer sensor. Here is the configuration registers v...

shady by Associate II
  • 1023 Views
  • 3 replies
  • 0 kudos

Resolved! IMP23ABSU hardware interface

Hello, I have as project to use the STWINKT1B board and write my custom code to read IMP23ABSU sensor at its maximum capacity (80kHz). I understand the sensor output data is amplified by an op-amp and can be read with ADC input of the microcontroller...

NCatt1_0-1708425421292.png
NCatt.1 by Associate III
  • 1624 Views
  • 3 replies
  • 1 kudos

How do i use buffer mode with st_lsm6dsx driver for linux?

Hi! In the Linux, I want to use buffer mode with st_lsm6dsx driver.But there isn't file /sys/bus/iio/devices/iio\:deviceX/buffer/enable. Why?The chip used is LSM330DLC, linux kernel version is 6.1.55 in nxp's yocto. ■log1(there isn't buffer directory...