完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨团队,
我们正在研究用于加速度计和温度读数的LIS2DH12芯片。 一个。 VDD和VDDIO:1.8 V 我们在温度读数方面面临问题。请在下面找到有关读取温度值的步骤。 一个。温度传感器初始化:TEMP_CFG_REG为11 湾CTRL_REG4 BDU位设置为1 一个。读取OUT_TEMP_L(0Ch),OUT_TEMP_H(0Dh) 湾将OUT_TEMP_H寄存器内容的值(以2s补码)转换为十进制。 湾温度值= 25C(参考温度)+(从上一步开始转换的十进制值。此值可以是+或 - 按值计算) 我们在OUT_TEMP_H(0Dh)寄存器内容中获得值0x09,0x08,0x0a。我们的环境温度为22至23摄氏度。 但根据计算,我们得到的温度为(25 + 10)= 35,这是不正确的。 请告知我们VDD 1.8 V的有效参考温度(目前用作25)。 数据表显示VDD 2.5 V的参考温度为25。 VDD 1.8 V的参考温度是多少 谢谢 , Anil N. 以上来自于谷歌翻译 以下为原文 Hi Team , We are working on LIS2DH12 chip for accelerometer and temperature readings . a. VDD and VDDIO : 1.8 V We are facing issue in the temperature readings. Please find below for the steps for reading the temperature value . a. Initialization of the temperature sensor : TEMP_CFG_REG to 11 b. CTRL_REG4 BDU bit set to 1 a. Reading the OUT_TEMP_L (0Ch), OUT_TEMP_H (0Dh) b. Convert the value of OUT_TEMP_H register content ( which is in 2s complement ) to decimal . b. Temperature Value = 25C (Reference Temperature ) + ( Converted decimal value from above step .This value may be + or - as per value ) We are getting value as 0x09,0x08,0x0a in OUT_TEMP_H (0Dh) register content. Our ambient temperature is 22 to 23 C. But as per calculation we are getting temperature as (25+10)=35 which is not correct . Please let us know what shall be valid reference temperature ( currently used as 25 ) for VDD 1.8 V . Datasheet says that reference temperature for VDD 2.5 V is 25 . What shall be reference temperature for VDD 1.8 V. Thanks , Anil N |
|
相关推荐
3个回答
|
|
|
嗨,
我们是否可以在生产线(即25℃)校准每个设备并保存一次,然后依靠测量值进行特征计算? 谢谢 以上来自于谷歌翻译 以下为原文 Hi, Can we calibrate each device at production line (i.e at 25C) and save the value once and then count on the measured value for calculations in feature ? Thanks |
|
|
|
|
|
遗憾的是,无法校准设备(将任何校准常数写入传感器)。我想您的设备中有一些微控制器,因此您必须将校准值存储在微控制器存储器中,并通过微控制器计算校正值。
最好的祝福 米罗斯拉夫 以上来自于谷歌翻译 以下为原文 Unfortunately it is not possible to calibrate the device (write any calibration constants into the sensor). I suppose you have some microcontroler in your device, so you would have to store the calibration value in the microcontroler memory and also calculate the corrected value by the microcontroler. Best regards Miroslav |
|
|
|
|
|
是的,我的意思是在MCU中保存参考值,然后通过MCU计算绝对温度......
所以我们可以做到吗?由于VCC或其他原因,参考值以后不会改变? 谢谢。 以上来自于谷歌翻译 以下为原文 Yes, i meant to save the reference value in MCU and then calculate absolute temperature by MCU ... so we can do it ? the reference value won't change later because of VCC or other reasons ?! Thanks. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1472 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1524 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3674 浏览 1 评论
3864 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2483 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
752浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
684浏览 5评论
730浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
975浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
779浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-14 14:17 , Processed in 0.680089 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1501