完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我正在从两个LIS3DH中读取数据。所有工作都按预期工作,直到满刻度设置为+ -16g。 根据数据手册,当FS为11且启用低功耗模式时,数据输出寄存器中的每个LSb代表192mg。低功耗模式在OUT_X / Y / Z_H寄存器中提供8位输出。 8位2的补码数的最大值是127,因此数据输出寄存器理论上可以显示127 * 192mg = 24g。这超过了+ -16g的阈值。这是否意味着在低功耗模式和+ -16g满量程中,数据输出寄存器中的数字永远不会超过16000mg / 192mg = 83?我从数据输出寄存器中获取127和-128等值,这对我来说没有意义。 我相信我的寄存器配置是正确的,因为当加速度计平放在地面上时我能够读取(0,0,5)。考虑到有限的分辨率,5 * 192mg = 960mg,足够接近1g。 问候, 凯文S. 以上来自于谷歌翻译 以下为原文 Hi, I am reading data out from two LIS3DHs. All works as expected until the full scale is set to +-16g. According to the data sheet, when FS is 11 and low power mode is enabled, each LSb in the data output registers represent 192mg. Low-power mode gives a 8 bit output in the OUT_X/Y/Z_H registers. The maximum value of a 8 bit 2's complement number is 127, and thus the data output registers can in theory show 127*192mg = 24g. This exceeds the +-16g threshold. Does this mean that in low-power mode and +-16g full scale, the number in the data output registers can never exceed 16000mg / 192mg = 83? I am getting values such as 127 and -128 from the data output registers, which don't make sense to me. I believe my register configurations are correct, as I was able to read (0, 0, 5) when the accelerometer is placed flat on the ground. 5*192mg = 960mg, which is close enough to 1g considering the limited resolution. Regards, Kevin S |
|
相关推荐
3个回答
|
|
加速度计的功能保证高达+ -16g。
如果加速度较高,您可以读取超过16g但不保证精度,线性度和整体性能。 以上来自于谷歌翻译 以下为原文 The functionality of the accelerometer is guaranteed up to +-16g. In case the acceleration is higher you can read more than 16g but the accuracy, linearity and overall performance is not guaranteed. |
|
|
|
嗨,
谢谢你的快速反应。只是确保我理解正确,加速度计的数据输出不会在+ -16g处切断,但可以更高。但是,+ -16g以外的任何数据都不能保证准确。我的理解是否正确? 谢谢, 凯文S. 以上来自于谷歌翻译 以下为原文 Hi, Thank you for the quick response. Just making sure I understand correctly, the accelerometer's data output does not cutoff at +-16g, but can go up higher. However any data outside of +-16g is not guaranteed to be accurate. Is my understanding correct? Thank you, Kevin S |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2738 浏览 1 评论
3241 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1810 浏览 1 评论
3650 浏览 6 评论
6039 浏览 21 评论
1339浏览 4评论
201浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
353浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
444浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
275浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 08:06 , Processed in 1.206623 second(s), Total 51, Slave 45 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号