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


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

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


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.