I am working on a water tester that needs to accurately sense the color and depending on it output a result. my current plan is to use the TCS3200 without its lights. it will be in a dark chamber looking at a clear vial which will be backlit with a white background. would this work?
That sensor uses reflected light so no material no colour detection, yours will be light through so no material all 4 photodiodes will be lit with white light. why don’t you mock it up without a chamber and see if it works in principal
I think it should work if you keep out stray light. Is the interior of the compartment containing the lights white?
I would add a cover to keep out stray light from above. I would have the vial stick out more: it looks like it would be very hard to get a grip on it. The cover would have a recess to allow it to fit down over the exposed part of the vial.
There appears to be a 12mm hole in the wall under the sensor. That will have to be covered, too.
What are the round features under Led 1 and Led 2 in the B-B section?
The TCS3200 can be used to measure the absorbance of "colored" fluids, if you pass pure white light through the fluid and expose the sensor to what comes out. The measurement is limited to three broad bands (R, G, B), which does not tell you much but may be useful.
The AS7262 is not recommended for new designs and seem to be out of stock most places. The AS7341 is close (also seems better in every way) alternative.