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! H3LIS331DL XYZ read out data abnormal

Hello ST Friends,Here we are using H3LIS331DL in our product, using SPI interface. Below is the schematic. and related code is below.    /* Check device ID */ static uint8_t whoamI, tData; whoamI = 0; h3lis331dl_device_id_get(&dev_ctx_xl, &w...

lyan2_0-1741524879538.png lyan2_2-1741525513581.png lyan2_1-1741525449604.png lyan2_3-1741525543158.png
lyan.2 by Associate II
  • 692 Views
  • 6 replies
  • 3 kudos

How to use interrupt for TSL2591

HiI purchased the TSL2591 product and used it on the STM32 board.I am reading the datasheet and creating the code.I initialized the first writable registers to 0x00.I then looked at the datasheet and gave the control register a value of 0xB0.The conf...

SKim.14 by Associate
  • 1352 Views
  • 5 replies
  • 0 kudos

LSM6DSO not reading 1G at rest

I  am writing my own library in C++ to operate the LSM6DSO and when the sensor is at rest it reads 0.5 G on the z-axis, I've tried the code with 2 ICs, one in an Adafruit breakout board, and another one in an old PCB that had the sensor soldered one ...

Diogo_Goto_0-1739051739233.png Diogo_Goto_1-1739054006872.png Diogo_Goto_2-1739054522593.png

Temperature characteristics of IIS2DLPC

I am making a simple inclinometer using IIS2DLPC. The 'Zero-g offset change vs. temperature' of IIS2DLPC is specified as a maximum of ±1mg/℃, but some of the boards I made have reached 2.93mg/℃.Some have relatively good values ​​of 0.3-0.4mg/℃, while...

t-susaki by Associate II
  • 516 Views
  • 5 replies
  • 0 kudos

How to write library for LSM6DSOWTR

I am trying to interface LSM6DSOWTR with stm32 using I2c interface. This is the schematic i have made for this module While connecting SD0/SA0 is connected to GND, I have tried to run the I2C scanner and found that it its address is 0x6A but in the m...

Shubham08_0-1741853131591.png
Shubham08 by Associate III
  • 640 Views
  • 2 replies
  • 0 kudos

STEVAL-BFA001V1B wrong cable description

I wanted to try the STEVAL-IDP005V1 from STEVAL-BFA001V1B,I followed the description given in UM2438and nothing worked,Finally I realized that the cable description is wrong (or may be I've got a bad cable),the ground is on white, not on blue wire

MMade.1 by Associate II
  • 999 Views
  • 5 replies
  • 0 kudos

LSM303AGR Calibration

Hello everyone, I'm contacting you today in order to understand my error during the calibration of my LSM303AGR sensor located on a PCB. The ultimate goal is to create a compass with tilt compensation but I try to get a good precision with magnetomet...

Aquatwix1_0-1740583867072.png Aquatwix1_1-1740584081813.png

Using LIS2DH on a SPI bus with many devices

It seems that its CS is inactive, the LIS will assume that it should be in I2C mode.But if I have multiple devices on the SPI bus, then I want to be able to disable I2C mode altogether.Our board has exactly this setup and it seems that whenever I ena...