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: designing and measurement

Part Number: OPT3101

I am trying to use OPT3101 as  TOF ranging device.

I am currently using OPT3101 with ESP32. The program i am suing is the example code for OPT3101 in Arduino.

The results I am getting are not promising. I am getting the distance in negative values.

Can you please help me with this?

Regards

Heena