Inside AI
← Discover
Device profile / Experimental/DIY Hardware

Adafruit AS7341 10-Channel Light / Color Sensor Breakout (4698)

Read a small spectrum instead of a camera image, then test whether those readings can distinguish two materials under controlled light. The $18.95 breakout needs a host board; classification is a proposed build, not a built-in AI feature.

Specifications

Manufacturer specifications
Exact model and priceAdafruit product 4698, AS7341 10-Channel Light / Color Sensor Breakout; US$18.95, listed in stock 25 Nov 2026. [1]
Optical channelsEight named visible-band channels from 415 to 680 nm, plus clear and near-infrared readings; separate flicker detection is described. [2]
ConnectionI2C through STEMMA QT/Qwiic connectors or VIN/GND/SCL/SDA header pads. [3]
First-build hardwareFeather RP2040 product 4884 US$11.95; 50 mm QT cable 4399 US$0.95; USB data cable 4696 US$4.95; conditional US$36.80 subtotal. [4]

Is this for me?

For makers who want a compact, inexpensive input for comparing the reflected light from objects or checking changes in illumination. The first result is a vector of light-band readings, useful for an experimental material sorter or lighting monitor. It is not a camera, does not identify objects by itself, and has no onboard AI accelerator. A classifier would run on the attached controller or a computer. Exact board

What you can do with it

First observable result: connect product 4698 to a CircuitPython Feather RP2040 with a STEMMA QT cable, run Adafruit's AS7341 Python/CircuitPython example, and print the readings for the eight named visible bands plus clear and near-infrared. Compare a white card and a colored card under the same lamp and distance. Values should change; a missing I2C device or unchanged/saturated readings call for wiring, power, gain and lighting checks. The official guide uses a Feather M4 as its pictured example; using Feather RP2040's documented STEMMA I2C port is a supported board adaptation, not an Inside AI hands-on result. Build guide · Adafruit example

Proposed next build, untested: collect labeled readings for two visually similar surfaces and train a small host-side classifier. Experiment

What the complete setup costs

US Adafruit single-unit prices checked 25 Nov 2026: exact AS7341 board 4698 $18.95, Feather RP2040 4884 $11.95, 50 mm STEMMA QT cable 4399 $0.95, and USB-A-to-C data cable 4696 $4.95. The four listings showed in stock, not a delivery guarantee. First-year example with an existing USB-A computer: $18.95 + $11.95 + $0.95 + $4.95 + 12 × $0 subscription + $0 local API = US$36.80. Reusing a compatible STEMMA QT host and both cables lowers incremental hardware to $18.95; a missing computer needs a separate quote, so $36.80 is conditional, not the cost of a completely new workstation. Sensor · Feather · QT cable · USB cable

The local readout requires no account, paid plan, cloud inference or API hosting. A fixed lamp, opaque shroud or mount may be useful for the later classifier but is optional for the first reading and has not been priced. Tax, shipping, electricity and labor excluded.

How to start — and what you need to learn

Beginner CircuitPython/I2C work for the first reading, with a computer to edit code and view serial output. Install CircuitPython on the Feather RP2040, add Adafruit's AS7341 library and dependencies, connect the keyed QT cable, and use the Feather's STEMMA I2C bus. Set the USB cable's switch to Data before plugging it in. The official example may need its generic I2C initialization changed to board.STEMMA_I2C() for this host. Keep target distance and ambient light similar when comparing readings; later classification adds data collection and validation work. No setup duration or accuracy is claimed. AS7341 guide · Feather STEMMA port

When another product is a better choice

Choose Raspberry Pi AI Camera when you need shape, position or objects in a scene. Choose this breakout when a small number of light bands is the actual signal of interest and a camera would be excessive. If near-infrared material differences are central, the 18-band SparkFun Triad is a possible alternative, and its exact SEN-15050 manufacturer listing showed in stock at US$69.95 on 25 Nov 2026. These are fit judgments, not measured classifier rankings. Triad listing

What we know — and what still needs testing

Documented: product 4698 exposes eight named visible-band channels, clear light and NIR through I2C, with Python/CircuitPython and Arduino libraries. Adafruit lists the exact board and the proposed starter parts in stock on 25 Nov 2026. No Inside AI hardware trial has been run. The material classifier is proposed and untested; the key experiment is whether readings remain separable across different days, distance and ambient light, compared with a simple one-channel threshold. Neither material identity, wavelength resolution nor classifier accuracy should be inferred from a single reading. Product · Proposed test

Architecture

Reflected or emitted light enters the AS7341 spectral sensor on the breakout. The sensor measures band intensities and exposes values over I2C. The Feather RP2040 supplies power, reads the registers through Adafruit's driver and prints values over USB to a local computer. A future classifier would normalize and label readings in host application code; no model runs on the bare AS7341. The board has STEMMA QT connectors and a VIN/GND/SCL/SDA header. The provided source image is a CAD render of the external board, not a teardown or hidden chip-location map. Pinouts · Python example

Documented capabilities

The manufacturer describes eight overlapping visible bands from 415 to 680 nm, a clear channel, a near-infrared channel and flicker detection. The breakout offers I2C over STEMMA QT/Qwiic or header pins. Values are light measurements, not material labels; stable comparison needs controlled illumination and distance. The store's '10-channel' product name and library's broader sensor terminology should not be used to imply ten independent learned classes. Product details · Guide

SDKs, APIs & extensibility

Adafruit provides a Python/CircuitPython driver and an Arduino library to read channels and adjust sensor settings. The Arduino library is BSD-licensed; no firmware or custom-model upload to the AS7341 is documented. The physical I2C readings can feed a controller-side threshold or a separately trained model. The public board schematic and Eagle files document hardware connections, but their file licenses should be checked independently before a hardware derivative. Python guide · Arduino library · Downloads

Limitations

This is a point light sensor, not a spatial image or a chemically specific spectrometer. Ambient light, angle, distance, surface finish, gain, integration time and saturation can change the reading. Reflectance experiments need a controlled light source and repeatable geometry; identical colors do not guarantee identical spectra or separable classes. The documented starter outputs numbers only. The first classifier's false classifications and generalization have not been measured. Product guide

Privacy & data flow

For the proposed local first build, light-band readings travel over I2C to the Feather and over USB serial to the user's computer. No image, microphone, account or cloud service is required by this setup. Any saved dataset, remote dashboard or API is an optional application choice that creates its own retention and sharing obligations. No traffic or telemetry audit of the host setup has been performed.

Primary sources

Adafruit AS7341 product 4698 Adafruit AS7341 product guide Adafruit AS7341 Python and CircuitPython example Adafruit AS7341 pinouts Adafruit Feather RP2040 product 4884 Adafruit 50 mm STEMMA QT cable 4399 Adafruit USB data cable 4696 Adafruit AS7341 board render and license Adafruit AS7341 Arduino library