This module is perfect for light control applications. The light sensor enables a robot to detect light. Robots can be programmed to have a specific reaction if a certain amount of light is detected. The light sensor can give the robot vision and make it easier for it to operate autonomously.
The light sensor can detect distance accurately from 0-6ft away, depending on the intensity of the light source and the intensity of the ambient light. Consider the following example. It is easier to see a flashlight in the dark than it is outside on a sunny day. This applies to light sensors just like it does to humans. Light sensors can only detect visible lights, just like humans. It can see everything we can see, and cannot see things we cannot see as well, such as infrared and ultraviolet light.