此刻,我正在使用LSM303DLHC加速度计/磁力计/温度计.
At the moment I'm playing with the LSM303DLHC accelerometer/magnetometer/thermometer.
这是其数据表: http: //www.st/st-web-ui/static/active/zh/resource/technical/document/datasheet/DM00027543.pdf
一切正常,但是我不知道如何解释输出值.数据表(第9页)对我的配置中的线性加速度敏感度说"1 mg/LSB"(不,不是毫克:D).这到底是什么意思?与温度传感器的输出变化(8 LSB/°C)和磁增益设置(1100 LSB/高斯)相同,反之亦然.
Everything is working quite well, but I don't know how to interpret the output values. The datasheet (page 9) says something like "1 mg/LSB" (no, it's not milligramm :D) about the linear acceleration sensitivity in my configuration. What the hell should that mean? Same with temperature sensor output change (8 LSB/°C) and magnetic gain setting (1100 LSB/gauss), only the other way around.
例如,该加速度计输出如何处理:16384?那是我测得的重力加速度.
For example, what to do with this accelerometer output: 16384? That is my measured gravitational acceleration.
推荐答案现在我掌握了窍门.您必须了解此MEMS上的几件事,但数据表中未提及:
Now I got the trick. There are several things on this MEMS you have to know, but which are not mentioned in the datasheet:
有了该信息,便可以使用LSM303DLHC.但是到底是谁发明了这个呢? 让我们在一个封装中构建一个新的加速度计,磁力计和温度计,并通过混淆字长和字节序来使用户不知所措."
With that Information it's possible to use the LSM303DLHC. But who the hell invented this? "Let's build a new accelerometer, magnetometer and thermometer in one package and screw the user up by mixing word length and endianness up without mentioning it in the datasheet."
更多推荐
"LSB/单位"的含义是:和“单位/LSB"
发布评论