This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] OPT4001EVM:由于未知原点系数,GUI读取传感器值和I2C读取传感器值之间存在差异

Guru**** 1149560 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/1090722/opt4001evm-discrepancies-in-gui-read-sensor-values-and-i2c-read-sensor-values-due-to-coefficient-of-unknown-origins

部件号:OPT4001EVM

芯片数据表中提供的公式与GUI中用于计算lux值的公式之间存在差异。 数据表中提供了以下公式:

  

(Lux=ADC_CODES x 312.5E-6)

但是,在GUI的源代码中,使用以下公式:

TI-Latte screenshot showing the following line of code: codes2Lux = 1.96*312.5e-6. 

(代码2Lux=Lux*312.5e-6 1.96)

1.96 系数来自何处?

这种系数可以理解地导致在使用I2C读取值时与使用GUI时出现差异。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,Keyanna,

    你是对的,这个1.96 系数不应该存在。 我将很快更新软件以解决此问题。

    谢谢!

    Brent Elliott