An interesting proposition.
On the VL53L4CD there are no lenses. The natural area of illumination of the VCSEL is 18 degrees. The only thing over the SPAD photon detector array is the 940nm band pass filter. The closest analog would be a pin-hole camera.
I attempted to create a smaller field of view simply by covering the RX side of the sensor will a 1cm tall structure with a very narrow hole in it. One issue is that the TX side hits the structure.
I then tried to create a structure that had a narrow opening for both the TX and RX. This is when I noticed that all 3D plastics are basically translucent at 940nm. Painting appeared to the solution. But painting the inside of a narrow hole is difficult.
I then tried creating a pair of inverted cones - small openings away from the sensor and larger ones at the base of the sensor. This allowed me to get paint into the 3D-printed structure. Be careful to insure there is no crosstalk between the Tx and Rx sides.
Results were mixed. This sort of narrowing does work. But it also limits the distance at which the sensor can 'see'.
If you are only interested in a short distance, this idea will work.
But generally, I find it is easier to increase the reflectivity of the object I want to detect. With a nice bright target, it overwhelms any background objects.
- 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.