完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
在LSM6DS33应用笔记AN4682的“输出数据示例”部分中,有一些表格显示了给定比例的输出寄存器值和相应的加速度和角速率值的示例。你能详细说明这些数值的计算方法吗? 问候, Prachi #lsm6ds33 #accelerometer #gyroscope 以上来自于谷歌翻译 以下为原文 Hi, In the 'Examples of output data' section of the LSM6DS33 application note AN4682, there are tables showing examples of the output register values and the corresponding acceleration and angular rate values for a given scale. Can you please elaborate how the values are calculated? Regards, Prachi #lsm6ds33 #accelerometer #gyroscope |
|
相关推荐
1个回答
|
|
首先,有必要熟悉术语,(查看AN4682中的第4.5.1章或
https://en.wikipedia.org/wiki/Endianness )和https://en.wikipedia.org/wiki/Two's_complement 。你需要做的是将输出寄存器中的两个字节转换成一个数字,然后将这个数字乘以灵敏度。 例1(表格第2行): 16h = 22,69h = 105 ... MSB为0 - >这是值得的 22 * 256 + 105 = 5737 ... 5737 * 0.061 LSB / mg(数据表中表3中FS = 2g的灵敏度)= 350mg示例2(表格的第4行): E9h = 105,97h = 151 ... MSB是1 - >这是负值 - (105 * 256 + 151)+ 32768 = -5737 ... -5737 * 0.061 LSB / mg(灵敏度 对于FS = 2g 数据表中的表3)= -350mg 以上来自于谷歌翻译 以下为原文 First of all it is necessary to be familiar with terms , (check chapter 4.5.1 in AN4682 or https://en.wikipedia.org/wiki/Endianness ) and https://en.wikipedia.org/wiki/Two's_complement .Than what you need to do is convert two bytes from output registers into one number and multiply this number by sensitivity. Example 1 (2nd line of the table): 16h = 22, 69h = 105 ... MSB is 0 -> it is possitive value 22*256+105 = 5737 ... 5737 * 0.061 LSB/mg(sensitivity for FS=2g from Table 3 in datasheet) = 350mgExample 2 (4th line of the table): E9h = 105, 97h = 151 ... MSB is 1 -> it is negative value -(105*256 + 151) + 32768 = -5737 ... -5737 * 0.061 LSB/mg(sensitivity for FS=2g from Table 3 in datasheet) = -350mg |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2827 浏览 1 评论
3267 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1844 浏览 1 评论
3693 浏览 6 评论
6098 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
395浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
487浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
316浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
232浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
339浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-2 22:42 , Processed in 1.053629 second(s), Total 75, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号