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 Calibration: While measuring Phase ambient coefficient, the ambient code always be 069 and not change.

Other Parts Discussed in Thread: OPT3101

I'm using the OPT3101 EVM to test calibration process in auto HDR mode, after measuring Illumination crosstalk coefficient and Phase offset temperature coefficient, get these two coefficients just exactly the same as picture show in 《slau791 How to set up and calibrate OPT3101 based systems for proximity sensing》 . While I'm measuring Phase ambient coefficient, I find that the ambient code always be 069 and not change no matter how far the distance between light(LED up to 10000 lux) and target.

Below are my questions:

1. The number in code " envController.setAmbientLight(0); " is 0, why set 0 lux ? Can I change to other number ?
2. If it must set to 0 lux, should I switch off all the ambient light, then change the intensity of the light from 0 lux to max  ?  ( this process is different from slau791 document.)
3. Does ambient code mean the result print from code "host.printf("%03u,",this->ambient);" ?
4. Must I use bright hallogen lamp to change the ambient ?Can I use LED (up to 10000 lux)?Must the light radiate IR ?

  • Hi,

    A white LED cannot be used for ambient calibration as the ambient light received by the photodiode is NIR. You should use a halogen lamp that simulates sunlight as explained in the calibration document online.

    1. this only matters if you implement automation in the envController - otherwise this line is just a placeholder

    2. see 1

    3. yes

    4. yes

    Best,

    Alex