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

How to implement repeated start for I2C?

Hi all,i have to readout temperature and humidity of a dhc3021 sensor. Therefore, an Arduino code section is already given: Wire.beginTransmission(HDC_ADDR); // Readout temp and rh data Wire.write(0xE0); Wire.write(0x00); Wire.endTransmission(fa...

NGros by Associate III
  • 1304 Views
  • 1 replies
  • 0 kudos

I am using MotionDI library with sensortile (STEVAL-STLKT01V1).I modified the existing 'DataLog' application to include MotionDI_update function. But the MotionDI_update function halts after giving the rotation and acceleration once. How to resolve this?

rptr = evt.value.p;   if(LoggingInterface == USB_Datalog) { /*** Using Dynamic Inclinometer algorithm ***/ //Timer_OR_DataRate_Interrupt_Handler() //{ MDI_input_t data_in; MDI_output_t data_out; /* ...

0693W00000JPWeiQAH.png
QAbba.1 by Associate II
  • 1053 Views
  • 4 replies
  • 0 kudos

Resolved! Interleave mode, register 0x5F, interrupt on QVAR value?

In AN5755 it says: "If the user wants to read both pressure and Qvar, the interleaved mode should be enabled with bit QVAR_AUTO_EN in register 12h: • write(0x12, 0xA0); // QVAR_enable in interleaved mode In this mode the output registers are filled o...

KWine by Senior
  • 1047 Views
  • 3 replies
  • 1 kudos

I see large spikes in h3lis331dl output data that are happening at rare occasions, but frequently enough to cause problems.

We are seeing something quite odd with readings.We have the device completely static on a bench, at 1kHz, as initialised below. The readings bounce around as explained elsewhere, but occassionally we get what looks like a random sample that appears ...

TWard.1 by Associate II
  • 722 Views
  • 2 replies
  • 0 kudos