我一直使用LSM9DS0传感器组装和测试带有城堡形连接的小型分线板,它们都为accel / mag和陀螺仪返回正确的WHO_AM_I寄存器内容。当我跳线连接到微控制器时,我得到了加速器和陀螺仪的预期读数。
然而,偶尔,mag会报告奇怪的结果;要么是非常低的值,不规律地跳转,要么在第一个回路上正确读取数据,然后固定在2000 mGauss。我希望这可能是由于跳线连接很差并且在某些情况下可能没有足够的电流来满足磁力计抽取。
有没有人注意到磁力计行为不稳定或出现故障,而其他传感器响应都很好?我不想只是为了测试它们来焊接
威廉希尔官方网站
板,但我担心只是确保I2C工作可能不足以确保正常工作。 ST的任何建议也会有所帮助!
以上来自于谷歌翻译
以下为原文
I have been assembling and tes
ting small breakout boards with castellated pin connects using the LSM9DS0 sensor and they all return the proper WHO_AM_I register contents for both the accel/mag and the gyro. And when I jumper connect them to a microcontroller, I get expected readings from the accel and gyro.
However, occasionally, the mag reports strange results; either very low values that jump around erratically or the data read correctly on the first loop then is pegged at 2000 mGauss. I am hoping this might be due to the fact that the jumper connections are poor and there might not be enough current flow to satisfy the magnetometer draw in some cases.
Has anybody noticed erratic or malfunctioning magnetometer behavior while the rest of the sensor responses are fine? I don't want to have to solder the boards just to test them but I am afraid that just ensuring the I2C works might not be enough to ensure proper function. Any advice from ST would be helpful too!