3930 views|20 replies

9717

Posts

24

Resources
The OP
 

LIS2HH12 MEMS Digital Output Motion Sensor Datasheet [Copy link]

 
 

LIS2HH12 MEMS Digital Output Motion Sensor is an ultra-low-power high-performance three-axis linear accelerometer belonging to the "pico" family. It has full scales of ±2g/±4g/±8g and is capable of measuring accelerations with output data rates from 10Hz to 800Hz. The self-test capability allows the user to check the functioning of the sensor in the final application. The LIS2HH12 has an integrated first-in, first-out (FIFO) buffer allowing the user to store data in order to limit intervention by the host processor. The LIS2HH12 is available in a small thin plastic land grid array package (LGA) and it is guaranteed to operate over an extended temperature range from -40°C to +85°C.

Data Sheet:

lis2hh12.pdf (1.15 MB, downloads: 12)

Application Notes:

Application note en.DM00165265.pdf (936.73 KB, downloads: 18)

Driver code:

lis2hh12_STdC.rar (14.9 KB, downloads: 32)

PCB Library:

LIS2HH12.PcbLib (31.5 KB, downloads: 7)

Schematic Library:

LIS2HH12.SCHLIB (5 KB, downloads: 7)

Official evaluation board gerber file:

en.steval-mki164v1_gerber.zip (170.73 KB, downloads: 7)



This content is originally created by EEWORLD forum user littleshrimp . If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source

This post is from MEMS sensors

Latest reply

[attach]466029[/attach] Or can you provide me with a project file that will not compile with errors? STM32F4 or F1 is fine. Thank you.   Details Published on 2020-3-24 11:55
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 

4

Posts

0

Resources
2
 
Hello, we use this chip to measure the inclination angle. Under wide temperature conditions, the angle drift is large. I would like to know some methods of temperature compensation.
This post is from MEMS sensors

Comments

What is the temperature range you tested? Compare the data sheet to see if the temperature drift is within the nominal range. Then measure the drift at different temperatures and the consistency of multiple devices. Use the temperature sensor inside the sensor for temperature compensation.  Details Published on 2019-10-10 15:04
 
 
 

9717

Posts

24

Resources
3
 
awei0822 posted on 2019-10-10 14:52 Hello, moderator, we use this chip to measure the inclination angle. Under wide temperature conditions, the angle drift is large. I would like to know some methods of temperature compensation
What is the temperature range you tested? Compare the data sheet to see if the temperature drift is within the nominal range, then measure the drift at different temperatures and the consistency of multiple devices. Use the temperature sensor inside the sensor for temperature compensation
This post is from MEMS sensors
 
 
 

4

Posts

0

Resources
4
 
This post was last edited by awei0822 on 2019-10-10 16:30
littleshrimp posted on 2019-10-10 15:04 What is the temperature range you tested? Compare the data sheet to see if the temperature drift is within the nominal range, then measure the drift at different temperatures and multiple devices...

Thanks!

The operating temperature is between -40 and +65 degrees. Consistency is a problem. After testing several pieces, the general trend of change is similar, but there is no obvious pattern to compensate.

This post is from MEMS sensors

Comments

The TCSo in the manual is 0.01%/degC. Check if your temperature drift is within this range. If so, you can record the drift at different temperatures and perform linear interpolation based on the current temperature and previous records.  Details Published on 2019-10-10 17:21
 
 
 

9717

Posts

24

Resources
5
 
awei0822 posted on 2019-10-10 16:24 littleshrimp posted on 2019-10-10 15:04 What is the temperature range you tested? Compare the data sheet to see if the temperature drift is within the nominal range...
The TCSo in the manual is 0.01%/degC. Check if your temperature drift is within this range. If so, you can record the drift at different temperatures and do linear interpolation based on the current temperature and previous records when using it.
This post is from MEMS sensors
 
 
 

4

Posts

0

Resources
6
 
littleshrimp posted on 2019-10-10 17:21 The TCSo in the manual is 0.01%/degC. Check if your temperature drift is within this range. If so, you can record the drift at different temperatures and use it as a reference...

OK, thanks!

This post is from MEMS sensors
 
 
 

11

Posts

0

Resources
7
 

Hello, I am working on this thing now, but after downloading, there is no i2cMEMS H and HW CONFIG configuration files, and I can't compile. How to deal with it? Thank you

This post is from MEMS sensors

Comments

Hello, the code in lis2hh12_STdC.rar can be used normally after simple modification on the STM32 platform. Where are the i2cMEMS H and HW CONFIG errors you mentioned?  Details Published on 2020-3-23 09:48
 
 
 

9717

Posts

24

Resources
8
 
yjjng posted on 2020-3-21 17:11 Hello moderator, I am working on this thing now, but after downloading, there is no i2cMEMS H and HW CONFIG configuration files, and I can't compile. What should I do? Thank you

Hello, the code in lis2hh12_STdC.rar can be used normally after simple modification on the STM32 platform

Where are the i2cMEMS H and HW CONFIG errors you mentioned?

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
9
 
littleshrimp posted on 2020-3-23 09:48 Hello, the code in lis2hh12_STdC.rar can be used normally under the STM32 platform after simple modification. The i2cMEMS you mentioned...

The prompt during compilation is that an error occurs when compiling STM32, and the H files for these two points cannot be found

This post is from MEMS sensors
 
 
 

11

Posts

0

Resources
10
 
yjjng posted on 2020-3-24 10:21 When compiling, it prompts that an error occurs when compiling STM32, and these two point H files cannot be found

cannot open source input file "I2C_MEMS.h" This is the prompt, because these two H files are included in the example main program. Thank you, I am working on it, but I don't know how to deal with it

This post is from MEMS sensors
 
 
 

9717

Posts

24

Resources
11
 

Is this the routine you use?

lis2hh12_STdC.rar

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
12
 
littleshrimp posted on 2020-3-24 11:24 Are you using this example? lis2hh12_STdC.rar

Yes, this is the routine used

This post is from MEMS sensors

Comments

Why don't I see the "I2C_MEMS.h" code you mentioned in this example? [attachimg]466020[/attachimg]  Details Published on 2020-3-24 11:35
 
 
 

9717

Posts

24

Resources
13
 
yjjng posted on 2020-3-24 11:32 Yes, use this routine

Why don't I see the "I2C_MEMS.h" code you mentioned in this example?

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
14
 
littleshrimp posted on 2020-3-24 11:35 Why don’t I see the “I2C_MEMS.h” code you mentioned in this example?

Yes, these two files are included in the main program of EXample. You can output data only when you call them in the main program. Thank you.

This post is from MEMS sensors

Comments

Which file and which line? [attachimg]466021[/attachimg]  Details Published on 2020-3-24 11:40
 
 
 

9717

Posts

24

Resources
15
 
yjjng posted on 2020-3-24 11:37 Yes, in the main program EXample, these two files are included. You can output data only when you call them in the main program. Thank you

Which specific file, line number?

This post is from MEMS sensors
Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

11

Posts

0

Resources
16
 
littleshrimp posted on 2020-3-24 11:40 Which specific file and which line?

This post is from MEMS sensors
 
 
 

11

Posts

0

Resources
17
 

This post is from MEMS sensors
 
 
 

11

Posts

0

Resources
18
 

I used the DEMO file downloaded from our forum.

This post is from MEMS sensors
 
 
 

11

Posts

0

Resources
19
 
yjjng posted on 2020-3-24 11:48 This DEMO file is downloaded from our forum

Or can you provide me with a project file that will not compile with errors? STM32F4 or F1 is fine. Thank you.

This post is from MEMS sensors

Comments

I sent you the project generated using stm32cubemx, and then configured I2C to import the corresponding file and you can use it  Details Published on 2020-3-24 14:12
I sent you the project generated using stm32cubemx, and then configured I2C to import the corresponding file and you can use it  Details Published on 2020-3-24 12:34
 
 
 

9717

Posts

24

Resources
20
 
yjjng posted on 2020-3-24 11:55 Or can you provide me with a project file that will not compile with errors? STM32F4 or F1 is fine, thank you moderator
I sent you the project generated using stm32cubemx, and then configured the I2C import corresponding file and you can use it
This post is from MEMS sensors
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list