The light sensor works by shining a white
light at an object and then recording the reflected colour. Through red, green
and blue colour filters (the photodiodes), it converts the amount of light to
current. The converter then converts the current to voltage which our
Avishkaar brain can read.
These sensors have many applications in industrial and art applications. Based on our experiments
what we have discovered is the sensors can be used in detecting what color is present, but
getting absolute R,G,B values is difficult. The primary reason for this anomaly is the environment.
As environments ambient light depends on the time of the day, the location, hence reflected light
is pretty much dependant on this. So, what we need to work on is the relative R,G and B values. What we
have seen, white color is mixture of all the three colors reflected in lowest values while black is mixture
of all colors reflected in highest values. Rest all colors are relative to these two extremes.
Based on our experiments and above theory, we have implemented our Color calibration feature.
You can get our Beta version of the Robo G software from our website (https://www.avishkaar.cc/softwares/robo-g-30).
Go ahead and use this feature as it allows you detect and calibrate per your environment.
Keep Inventing!!