

The Adafruit AS7343 14 Channel Light Color Sensor Breakout (Manufacturer Part ID: 6477) is a highly versatile sensor module designed to detect and measure light intensity across 14 distinct color channels. This advanced sensor enables precise color analysis, making it ideal for applications such as environmental monitoring, color matching, and scientific research. Its compact breakout board design ensures easy integration into a variety of projects.








The following table outlines the key technical details of the Adafruit AS7343 sensor:
| Parameter | Value |
|---|---|
| Operating Voltage | 3.3V to 5V |
| Communication Interface | I²C (default address: 0x39) |
| Spectral Channels | 14 (including UV, visible, and near-IR) |
| Spectral Range | 350 nm to 1000 nm |
| Measurement Resolution | 16-bit ADC |
| Operating Temperature | -40°C to +85°C |
| Dimensions | 25.4mm x 17.8mm x 4.6mm |
The breakout board features the following pins for easy connection:
| Pin | Name | Description |
|---|---|---|
| 1 | VIN | Power input (3.3V to 5V) |
| 2 | GND | Ground connection |
| 3 | SCL | I²C clock line |
| 4 | SDA | I²C data line |
| 5 | INT | Interrupt pin (optional, for event-driven applications) |
| 6 | RST | Reset pin (optional, to reset the sensor) |
VIN pin to a 3.3V or 5V power source and the GND pin to ground.SCL and SDA pins to the corresponding I²C pins on your microcontroller (e.g., Arduino UNO).INT pin for interrupt-driven applications or the RST pin to reset the sensor if needed.Below is an example code snippet to get started with the Adafruit AS7343 sensor:
#include <Wire.h>
#include <Adafruit_AS7343.h>
// Create an instance of the AS7343 sensor
Adafruit_AS7343 as7343;
void setup() {
Serial.begin(115200); // Initialize serial communication for debugging
while (!Serial) delay(10); // Wait for Serial to initialize
// Initialize I²C communication and the sensor
if (!as7343.begin()) {
Serial.println("Failed to find AS7343 sensor! Check connections.");
while (1) delay(10); // Halt execution if sensor is not found
}
Serial.println("AS7343 sensor initialized successfully!");
// Configure the sensor (e.g., set gain and measurement mode)
as7343.setATIME(100); // Set integration time
as7343.setASTEP(999); // Set step size
as7343.setGain(AS7343_GAIN_256X); // Set gain to 256x
}
void loop() {
// Read all 14 spectral channels
uint16_t channels[14];
if (as7343.readAllChannels(channels)) {
Serial.println("Spectral Data:");
for (int i = 0; i < 14; i++) {
Serial.print("Channel ");
Serial.print(i);
Serial.print(": ");
Serial.println(channels[i]);
}
} else {
Serial.println("Failed to read spectral data.");
}
delay(1000); // Wait 1 second before the next reading
}
Sensor Not Detected:
SCL and SDA connections and ensure the I²C address is set to 0x39.Inaccurate Readings:
Interrupt Pin Not Working:
INT pin is connected and properly configured in your code.Library Installation Issues:
By following this documentation, you can effectively integrate the Adafruit AS7343 14 Channel Light Color Sensor Breakout into your projects and achieve precise color and light intensity measurements.