TCS34725 For small item

Hello, how to detect small item color with TCS34725, I tried it but it always failed and cant detect small item

That color sensor has a wide field of view, and in any case, the "reported color" (the RGB values returned) will depend very strongly on the type of illumination.

I suggest to experiment with various sizes of colored paper squares until you understand the limitations of the sensor.

For forum members, this is the sensor in question: RGB Color Sensor with IR filter and White LED - TCS34725 : ID 1334 : $7.95 : Adafruit Industries, Unique & fun DIY electronics and kits

Hi @pokedna

What is small?

Pluto is small near Jupiter.

RV mineirin

@ruilviana Like coffee beans