ST意法半导体
直播中

唐般远

7年用户 159经验值
私信 关注
[问答]

使用LSM9DS0作为振动传感器是否需要激活磁力计才能在INT_GEN_1_REG中使用6D?

我正在尝试使用LSM9DS0作为使用加速度计数据的振动传感器,但我对数据表有一些疑问:


1.我是否需要激活磁力计才能在INT_GEN_1_REG中使用6D?如果我不这样做而且我只启用了ACC,这个6D标志会有什么不同吗?

2.我使用0.1G作为阈值(在THS中写入0x06,用于+ -2G标度)并且只有在INT_GEN_1_REG中使用与XLIE,YLIE和ZLIE的OR时才有效。如果我开始发出高事件(例如XHIE),那么我不会得到任何中断。这是为什么?

使用它作为振动传感器的最佳方法是什么?这个系统将在车内静止,我想在汽车启动时唤醒我的MCU(并因此振动)。错误的唤醒不是问题。

以上来自于谷歌翻译


以下为原文




I'm trying to use LSM9DS0 as a vibration sensor using accelerometer data, but I have some questions regarding the datasheet:


1. Do I need to have magnetometer activated in order to use 6D in INT_GEN_1_REG? If I don't and I only have ACC enabled, does this 6D flag make any difference?

2. I'm using 0.1G as a threshold (write 0x06 in THS, for +-2G scale) and it only works if use OR with XLIE, YLIE and ZLIE in INT_GEN_1_REG. If I start putting the high events (e.g. XHIE) then I don't get any interrupt. Why is that?

What's the best way to use this as vibration sensor? This system will be stationary inside a car and I would like to wake up my MCU when the car starts (and, consequently, vibrates). False wake ups are not a problem.

回帖(1)

曾玲娟

2018-9-19 17:51:47
没有必要激活磁力计进行6D检测。它对6D检测没有任何影响。你能否提供你的INT_GEN_1_REG(30h)寄存器值来检查你的设置。最好的问候
 
米罗斯拉夫

以上来自于谷歌翻译


以下为原文







  • It is not necessary to activate magnetometer for 6D detection. It doesn’t have any influence on 6D detection.
  • Can you please provide me your INT_GEN_1_REG (30h) register value to check your settings.
Best regards

Miroslav
举报

更多回帖

发帖
×
20
完善资料,
赚取积分