MEMS (sensors)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 719 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
  • 691 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
  • 357 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
  • 476 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...

V2.2.0 BlueMicrosystem2 would not build SW4STM32

Posted on May 05, 2017 at 21:45I just started the SensorTile project and have installed the AC6 System Workbench.Download 2 different SDK from ST.STLKT_v1.2.0BlueMicrosystem2_V2.2.0The STLKT is fined, I could build and load the sample code into Sens...

lis2dw12 sensor SPI CPHA and CPOL setting

Hi all,I'm using lis2dw12 sensor and interfaced with SPI. In which SPI mode i can get proper data from the sensor?CPHA = 0, CPOL = 0;CPHA = 0, CPOL = 1;CPHA = 1, CPOL = 0;CPHA = 1, CPOL = 1;Thanks and regards,Basavanagouda