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.

OPT4001: High level of erroneous values when testing in dark conditions

Part Number: OPT4001

When using a constant current LED source in conjunction with the OPT4001EVM, I am able to get excellent readings over I2C using an Arduino. 

However, when I turn this LED off, and have the OPT4001EVM set up in a dark enclosure, I get very puzzling results. While many of the data points read 0.00 as expected, many of the data points read values even HIGHER than what was read when the LED was on. 

My I2C code checks the overflow flag, the conversion finished flag, and the CRC bits in order to disregard erroneous data points, but I am still getting data that very obviously does not make sense given the environment of the OPT4001EVM. 

I have attached graphs of the two scenarios mentioned, which show the change in behaviour in dark environments.

Dark Noise Scenarios (two images above)

Amount of noise when LED is on, using the same code as the previous two values.