MIKROE Spectral Click

Spectral Click is a multispectral light sensing device, which uses the state-of-the-art sensor IC for a very accurate chromatic white color sensing. Spectral Click provides a direct reading of the XYZ color coordinates, consistent with the CIE 1931 2° Standard Observer color coordinates. It provides the mapping of the XYZ coordinates to the x, y (Y) coordinates of the two-dimensional color gamut, and it scales them to the CIE 1976 u’v’ coordinate system. This Click board™ also provides accurate Correlated Color Temperature (CCT) measurements and color point deviation from the black body curve for white light color, in u’v’ coordinate system. Additionally, Spectral Click features the Near-IR (NIR) wavelengths sensing channel, as well as two programmable LED channels with a constant current.

The onboard sensor has minimal drift over time and with temperature, which makes it very reliable, even after long periods of time. The integrated temperature sensor compensates for all the thermal influences from the environment. Equipped with such an advanced multispectral sensor IC, Spectral Click can be used in various applications used for color measurement, color matching, identification, tuning, calibration. Essentially - for all the professional grade applications that require a high degree of color recognition accuracy, especially for the white light coloration sensing, with a great accuracy and consistency.

The multispectral sensor IC used on the Spectral Click is the AS7261, an XYZ chromatic white color sensor + NIR with electronic shutter and smart interface. This is a very advanced multispectral sensor, which integrates a 6 photodiodes array element. Every photo element is filtered through the Gaussian filters, implemented through the nano-optic deposited interference filter technology, designed to meet the X, Y, Z standard observer filter characteristics, compliant with the CIE 1931 standard. This technology ensures minimal drift of the color readings and the temperature stability. It should be noted that the filter accuracy will be affected by the angle of incidence, determined by an integrated aperture and the internal microlenses, which is ±20.5° for the AS7261 IC.

The measurements from the photo elements are digitized by the 16bit ADC converter and processed by the Cognitive Light Engine (CLE). Besides the raw X, Y and Z values, the CLE calculates all the calibrated and mapped values available on this device. After the specified integration time, those values are available in their respective registers and are accessible via the smart high-level UART interface driven by simple AT commands, or the I2C communication protocol bus. Even the temperature sensor can be accessed via its register. A complete list of all the available color coordinates and the registers which hold these values can be found in the AS7261 datasheet.

The sensor data is organized in two banks. The first bank contains readings from the X, Y, Z and NIR photodiodes, while the second bank contains readings from the X, Y, Z photodiodes, as well as D (dark), and C (clear) photodiodes. Different modes allow readings to be made from each bank, as well as the combinations between these two banks. There is also a mode for one-shot reading when time-critical or triggered measurement needs to be made.

An interrupt can be triggered when the data is ready for reading, depending on the selected bank mode. If the interrupt is enabled (INT = 1), the INT line is pulled to a LOW logic level and DATA_RDY bit of the control register is set to 1. The INT line is released when the control register has been read. The DATA_RDY bit will be cleared whenever the measurement registers are read. An interrupt will be generated after one or more integrating cycles are completed, depending on the selected bank mode. The INT line of the AS7261 is routed to the mikroBUS™ INT pin and can be used to trigger an interrupt on the host MCU. More about bank reading modes and the interrupts can be found in the provided AS7261 datasheet.

The RESET line of the sensor is routed to the mikroBUS™ RST pin. If this line is pulled to a LOW level for more than 100ms, it will reset the device.

The sensor firmware is kept externally, on the auxiliary flash memory IC. The AT25SF041, an SPI serial flash memory is used for storing the firmware of the AS7261 sensor. The AT25SF041 IC communicates with the sensor via the SPI lines, internally routed on the Spectral Click itself.

UART and I2C lines of the AS7261 sensor are routed to the mikroBUS™ respective UART pins (RX/TX and SDA/SCL). To select which interface will be used to drive the sensor IC, three onboard SMD jumpers labeled as COM SEL need to be moved either to the left position (to enable UART) or to the right position (to enable I2C). It should be noted that all the SMD jumpers need to be moved at once - if some of them are set as UART and some as I2C, the communication might not be possible at all.

There are two integrated programmable LED drivers on the AS7261 sensor. The first LED constant current driver can be programmed up to 10mA and it can be used as the status indicator. It is also activated during the sensor firmware programming. The second LED driver is intended for driving of the light source for the measurement surface illumination. It can drive high brightness LED with up to 100mA. Both of these LED drivers are available through the communication interfaces.

  • Interface: I2C, UART
  • Compatibility: mikroBUS™
  • Dimensions: 57.15 x 25.4mm
  • Input Voltage: 3.3V


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.