cancel
Showing results for 
Search instead for 
Did you mean: 

Using VL53L1X to get an ambient light value

PaKw
Associate

Hi,

in my next application I plan to use VL53L1X. What I also need, independent from the object detection, is the amount of ambient light. Would it be possible to read that value from VL53L1X using it's full API? Is that value at all available in one of it's I2C registers?

Thanks for any support provided.

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

It's a good question, but it doesn't work. The Single Photon Avalanche Diodes detect the photons. But they don't care about which photons they detect. So we put a very narrow filter over the SPAD array. 

So we get a level of ambient - but only at 940nm. You could use it to detect sunlight as sunlight has a lot of 940nm in it. A better way to do it is buy an ambient light sensor. ST makes one - the VD6283. It will do a much better job of giving you the ambient light.

- john


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'

View solution in original post

1 REPLY 1
John E KVAM
ST Employee

It's a good question, but it doesn't work. The Single Photon Avalanche Diodes detect the photons. But they don't care about which photons they detect. So we put a very narrow filter over the SPAD array. 

So we get a level of ambient - but only at 940nm. You could use it to detect sunlight as sunlight has a lot of 940nm in it. A better way to do it is buy an ambient light sensor. ST makes one - the VD6283. It will do a much better job of giving you the ambient light.

- john


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'