Understanding light sensor technology