I2C已经可以获取数据,但是相位值跟随着物体与传感器的距离成反比,即:距离越近,相位值越大,导致测出的距离不准确,理论来说:应该距离越近,偏移值越小,因为传感器距离=0.23*偏移值,现在反了,是什么原因导致的呢?
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.
您好,
您测量的距离范围是多少?
您测试的目标是什么?透明或高反射镜状目标可能会导致问题
下面链接是开发OPT3101提供的相关资源,希望对您有帮助:
有关工作原理,请参阅第2节:https://www.ti.com.cn/cn/lit/an/sbau305b/sbau305b.pdf
相位输出与距离关系见数据表第7.3.8 Output Data。它是成正比的。
请在设计电路板之前阅读我们的相关资料,这个设备需要仔细的PCB布局和校准,然后才能运行。
OPT3101相关资料:https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/815766/faq-opt3101-what-are-the-resources-ti-provides-for-developing-with-opt3101