我使用的是LSM303D,发现噪音水平非常高。我用以下参数配置它:
#define CTRL0 0b00000000 //对于普通模式,过滤器被旁路
#define CTRL1 0b00011111 //读取后更新,所有加速轴均在3.125Hz启用
#define CTRL2 0b11000001 // 50Hz抗锯齿,+ / - 2g,无自检,(SPI 3线)
#define CTRL3 0b00000000 //没有INT1操作
#define CTRL4 0b00000000 // INT2上没有活动。
#define CTRL5 0b01100000 //无温度,高分辨率磁场,25Hz,无INT2锁存
#define CTRL6 0b00000000 // + / - 2gauss灵敏度。
#define CTRL7 0b00000000 //正常加速度滤波器,无温度,磁性始终开启,连续转换模式
我将它放在固定位置和静磁场中,并获得附加的XLSX文件中显示的值:
我能改进吗?
以上来自于谷歌翻译
以下为原文
I am using an LSM303D and find the noise level surprisingly high. I have configured it with the following parameters:
#define CTRL0 0b00000000 //for normal mode, filters by-passed
#define CTRL1 0b00011111 //update after read, and all axes of accelera
tion enabled at 3.125Hz
#define CTRL2 0b11000001 //50Hz anti-alias, +/- 2g, no self-test, (SPI 3-wire)
#define CTRL3 0b00000000 //No INT1 actions
#define CTRL4 0b00000000 //No activity on INT2.
#define CTRL5 0b01100000 //No temperature, high-res magnetic, 25Hz, no INT2 latching
#define CTRL6 0b00000000 //+/-2gauss sensitivity.
#define CTRL7 0b00000000 //normal acceleration filter, no Temp, magnetic always on, continuous conversion mode
I have it at a fixed position and static magnetic field and get the values shown in the attached XLSX file:
Could I improve it?