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

CubeMX + NUCLEO-L053R8 + X-CUBE-MEMS1 can't be built

Using CubeMX v5.0 and FW_L0_v1.11.0 I'm generating new project from scratch.Project has initialized (using HAL) UART2, I2C1 (on alternate pins PB8, PB9), GPIOs, EXTIs and clock. UART2, I2C1 and EXTI interrupts are enabled and IRQ handlers generated b...

LIS3DH wake_up on negative Z-axis

Hi,I would like to generate interrupt on INT1 when I turn the lis3dh upside down and I am a bit lost how to do that. (DATA_RATE at 1Hz.)I am playing with the registers based on datasheet but there is not enough explanatory information for my knowledg...

IMarj by Associate II
  • 472 Views
  • 1 replies
  • 0 kudos

I am using magnetometer LIS3MDL to work more like a E-Compass. We are measuring azimuth angle. I am not able to get tilt compensation right. Is there any reference design specific to this chip.

This is the equation i am trying to use. Please let me know if there is something wrong. I am able to verify pitch and roll variations correctly.roll= atan(accData.fy/accData.fz);pitch= atan(-accData.fx/accData.fz);cosRoll = cos(roll);sinRoll = sin(r...

SVasu by Associate
  • 1022 Views
  • 3 replies
  • 0 kudos

Resolved! LIS2DH12: doubt about the power supply

If my Vdd is the same of Vdd_IO, can I directly connect pins 9 and 10, and use only two capacitor (100nF ceramic + 10μF aluminum) in my PCB? The datasheet say that: "All the voltage and ground supplies must be present at the same time to have proper ...

MYmer by Associate II
  • 966 Views
  • 4 replies
  • 0 kudos

Measuring tilt and shock

Hello everybody I want to make a sensor that can measure shock and tilt in transportation. What sensors are needed for measurement? Do you have a specific model recommendation?

Andy Zh by Associate II
  • 520 Views
  • 1 replies
  • 0 kudos

LSM303C gives zero output values

Hi,I am trying to read acceleration values from ;SM303C using a MCU. The output values are always zero, even for acceleration in z-axis when the module is at rest. I made sure that LSM303C is not in power down mode by setting CTRL_REG1_A (20h) to 0x6...

NVell by Associate II
  • 677 Views
  • 3 replies
  • 0 kudos

LIS2HH12TR Tap Detection Firmware Example

Posted on April 03, 2017 at 01:10I have LIS2HH12TR on a PCB. I want to implement Tap Detection. I could not find a direct Register for configuring Interrupt for a tap. It would be great to refer to Example code for Tap Detection using Raw Accelerome...