Optical sensor for picking up 15 mm² area at a distance of 1 cm and return RGB value (or similar estimate)

optoelectronicssensor

I need an optical sensor for picking up 15mm² area at a distance of 1 cm and return the RGB value or any similar estimate.

I am going to use a custom lens for this focus.

This is basically to read a strip on which a chemical reaction happened on a small surface area and get an estimate of color.

I am thinking of using TCS230 or TCS3200.

Please suggest any better sensor and anything about how I can get such a lens.

This whole thing is going to be packaged in a small cellphone sized device so I also have area constraints .

Best Answer

Consider using a simple light level sensor and providing separate red, green, and blue illumination. Flash them separately and record the light levels to determine the color. This would reduce your dependency on the outside light source, and the "flash" could be a tiny fraction of a second long.

This would be like using a red light to illuminate a barcode to give better contrast than scanning without the red light.