DF Robot 11 Channel Light Sensor
The DFRobot AS7341 11-Channel Visible Light Breakout Board employs the new generation of AS7341 spectral sensor IC launched by the well-known AMS company. The sensor features eight channels for the visible light, one channel for near-IR, and one channel without a filter. Also it integrates a dedicated channel to detect ambient light flicker. Besides that, this sensor comes with 6 independent 16-bit ADC channels for data processing in parallel. The two on-board extra-bright LEDs can supply light in dark environment.

Quick Spec
- Power Supply: 3.3 ~ 5V
- Visible Light Detection Range: F1(405-425nm), F2(435-455nm), F3(470-490nm), F4(505-525nm), F5(545-565nm), F6(580-600nm), F7(620-640nm), F8(670-690nm)
- Operating Current (LED Off): <5mA
- LED Driving Current: Class 1-20 (4-42mA)
- I2C Address: 0x39
- Operating Temperature Range: -30 ~ +85°C
- Operating Humidity Range: 5%RH~85%RH
- Dimension: 18 x 14mm
- Net Weight: 13g
Pinout

- VCC: Positive
- GND: Negative
- SCL: I2C Clock line
- SDA: I2C Data line
- INT: Interrupt Pin: active Low
- GPIO: General input/output
Wiring Diagram

Demo Code
/*!
* @file getData.ino
* @brief Read the values of 10 optical channels of the AS7341 spectral sensor, the more light of a certain wavelength of the light source,
* the greater the corresponding channel value.
*
* @copyright Copyright (c) 2010 DFRobot Co.Ltd (http://www.dfrobot.com)
* @licence The MIT License (MIT)
* @author [fengli]([email protected])
* @version V1.0
* @date 2020-07-16
* @get from https://www.dfrobot.com
* @url https://github.com/DFRobot/DFRobot_AS7341
*/
#include "DFRobot_AS7341.h"
/*!
* @brief Construct the function
* @param pWire IC bus pointer object and construction device, can both pass or not pass parameters, Wire in default.
*/
DFRobot_AS7341 as7341;
void setup(void)
{
Serial.begin(115200);
//Detect if IIC can communicate properly
while (as7341.begin() != 0) {
Serial.println("IIC init failed, please check if the wire connection is correct");
delay(1000);
}
// //Integration time = (ATIME + 1) x (ASTEP + 1) x 2.78µs
// //Set the value of register ATIME, through which the value of Integration time can be calculated. The value represents the time that must be spent during data reading.
// as7341.setAtime(29);
// //Set the value of register ASTEP, through which the value of Integration time can be calculated. The value represents the time that must be spent during data reading.
// as7341.setAstep(599);
// //Set gain value(0~10 corresponds to X0.5,X1,X2,X4,X8,X16,X32,X64,X128,X256,X512)
// as7341.setAGAIN(7);
// //Enable LED
// //as7341.enableLed(true);
// //Set pin current to control brightness (1~20 corresponds to current 4mA,6mA,8mA,10mA,12mA,......,42mA)
// //as7341.controlLed(10);
}
void loop(void)
{
DFRobot_AS7341::sModeOneData_t data1;
DFRobot_AS7341::sModeTwoData_t data2;
//Start spectrum measurement
//Channel mapping mode: 1.eF1F4ClearNIR,2.eF5F8ClearNIR
as7341.startMeasure(as7341.eF1F4ClearNIR);
//Read the value of sensor data channel 0~5, under eF1F4ClearNIR
data1 = as7341.readSpectralDataOne();
Serial.print("F1(405-425nm):");
Serial.println(data1.ADF1);
Serial.print("F2(435-455nm):");
Serial.println(data1.ADF2);
Serial.print("F3(470-490nm):");
Serial.println(data1.ADF3);
Serial.print("F4(505-525nm):");
Serial.println(data1.ADF4);
//Serial.print("Clear:");
//Serial.println(data1.ADCLEAR);
//Serial.print("NIR:");
//Serial.println(data1.ADNIR);
as7341.startMeasure(as7341.eF5F8ClearNIR);
//Read the value of sensor data channel 0~5, under eF5F8ClearNIR
data2 = as7341.readSpectralDataTwo();
Serial.print("F5(545-565nm):");
Serial.println(data2.ADF5);
Serial.print("F6(580-600nm):");
Serial.println(data2.ADF6);
Serial.print("F7(620-640nm):");
Serial.println(data2.ADF7);
Serial.print("F8(670-690nm):");
Serial.println(data2.ADF8);
Serial.print("Clear:");
Serial.println(data2.ADCLEAR);
Serial.print("NIR:");
Serial.println(data2.ADNIR);
delay(1000);
}
Expected Result


Resources
Shipping List
- 1 x DF Robot 11 Channel Light Sensor
DF Robot 11 Channel Light Sensor
- Brand: DF Robot
- Product Code: SEN0364
- Weight: 0.013kg
- Product Status : Active
Stock
Warehouse | Stock Status | Location |
---|---|---|
Centurion | Limited Stock | HH166 |
Stellenbosch | No Stock |
We ship free of charge between branches to complete your order.
-
R447.00 (Inc Tax: R514.05)
Related Products
SparkFun RGB Light Sensor
SparkFun RGB Light Sensor - ISL29125 If you’ve had ideas for a project that depends on the ability to sense different spectrums of visible light and react based on those measurements, the ISL29125 bre..
R150.00 (Inc Tax: R172.50)
SparkFun Ambient Light Sensor Breakout - APDS-9301
SparkFun Ambient Light Sensor Breakout - APDS-9301 The APDS-9301 Ambient Light Sensor Breakout is an I2C-compatible luminosity sensor board that converts light intensity to a digital output signal. T..
R125.00 (Inc Tax: R143.75)
SI1145 Digital LUX, UV & IR Sensor Module
SI1145 Digital LUX, UV & IR Sensor Module The SI1145 is a new sensor from SiLabs with a calibrated light sensing algorithm that can calculate UV Index. It doesn't contain an actual UV sensing ele..
R149.00 (Inc Tax: R171.35)
Wave High Sensitivity Light Sensor - TSL25911
Wave High Sensitivity Light Sensor - TSL25911 This is a high sensitivity digital ambient light sensor module based on TSL25911, features 600M:1 wide dynamic range, detects light intensity up to 880..
R89.00 (Inc Tax: R102.35)
Wave Spectral Colour Sensor
Wave Spectral Colour Sensor With AS7341 visible spectrum sensing IC as the core, the Wave Spectral Colour Sensor can sense the visible light component values of different bands in the environment. ..
R326.00 (Inc Tax: R374.90)
TCS34725 Colour Sensor - I2C
TCS34725 Colour Sensor - I2C The TCS34725 is a compact, high-accuracy colour sensor module that can detect the colour of objects with precision. It features an integrated IR-blocking filter to mini..
R69.00 (Inc Tax: R79.35)
Tags: dfrobot, 11 channel, light, sensor, as734, colour, color