Inside AI
← Ideas Lab
Experiment · unrun / Experimental/DIY Hardware

Do AS7341 readings survive a change of light and day?

Proposed, unrun test: compare a two-material classifier with a one-channel threshold across new sessions, distances and lighting. No accuracy result is claimed.

Device profile · Adafruit AS7341 10-Channel Light / Color Sensor Breakout (4698) ↗

Define two specific surfaces

Pick two safe materials or cards, including at least one pair that looks similar in ordinary light. Use a simple fixture to keep the sensor angle and distance reproducible. Record which board, driver version, gain, integration setting and light source are used. The fixture and lamp are experimental additions whose cost depends on what the reader already has.

Separate training from evaluation

Collect repeated labeled 10-channel readings in one session. Keep a later day and different lighting/distance as held-out conditions; do not train on those readings. Compare a simple threshold on one band with a small classifier using multiple bands. Record false labels and saturated or missing readings, not just the best example.

Use the result to decide

If classes overlap or performance collapses after a lighting change, improve illumination and geometry or choose another sensor before adding software complexity. If a one-band threshold works equally well, a classifier may not be worth the effort. This is an editorial experiment design, not a manufacturer claim or hardware measurement. AS7341 channels and driver

Primary sources

Adafruit AS7341 product 4698 Adafruit AS7341 product guide Adafruit AS7341 Python and CircuitPython example