OFF
MIKROE-5724
16 g
Status:
Color 12 Click is a compact add-on board providing an accurate color-sensing solution. This board features the BU27006MUC-Z, a digital color sensor from Rohm Semiconductor with an integrated flicker sensing function. The BU27006MUC-Z can sense Red, Green, Blue (RGB), and Infrared light and efficiently convert them into digital values via the I2C interface. Its remarkable high sensitivity, wide dynamic range, and exceptional IR-cut characteristics enable precise illuminance measurement, typically up to 50klx, and accurate ambient light color temperature determination. Moreover, this sensor can effectively detect flicker noise originating from displays and room lighting, with a typical sensitivity of 10klx. This Click board™ is suitable for residential and commercial lighting management, contrast enhancement, detection of ambient for backlight control, and more.
Color 12 Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board.
This product is no longer in stock
Availability date:
Color 12 Click is based on the BU27006MUC-Z, an advanced digital color sensor from Rohm Semiconductor with an integrated flicker sensing function. The primary purpose of this sensor is to sense Red, Green, Blue (RGB), and Infrared light and convert them into digital values via the I2C interface. The BU27006MUC-Z stands out with its exceptional performance, high sensitivity, wide dynamic range, and excellent IR-cut characteristics. These features allow for precise illuminance measurement, typically up to 50klx, with peak wavelengths for red, green, and blue of 645/575/460nm, respectively, providing accurate information about the intensity of ambient light.
In addition, the BU27006MUC-Z excels at accurately determining the ambient light's color temperature. It can effectively detect flicker noise originating from displays and room lighting, with a typical sensitivity of 10klx. This Click board™ serves a wide range of residential and commercial lighting management applications. It can be employed for contrast enhancement in various settings where optimal lighting conditions are necessary for an immersive visual experience. Moreover, the accurate detection of ambient light makes it suitable for applications that require precise backlight control, ensuring optimal visibility and energy efficiency.
Color 12 Click communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Standard Mode operation with a clock frequency of 100kHz and Fast Mode up to 400kHz. Also, it uses an interrupt pin, the INT pin of the mikroBUS™ socket, used when an interrupt occurs to alert the system when some of the results cross upper or lower threshold settings.
This Click board™ can only be operated with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used as a reference for further development.
Type
Optical
Applications
Can be used for residential and commercial lighting management, contrast enhancement, detection of ambient for backlight control, and more
On-board modules
BU27006MUC-Z - advanced digital color sensor from Rohm Semiconductor
Key Features
Senses RGB/IR, integrated flicker detection, built-in IR-cut filter, rejecting light noise for color sensning, I2C serial interface, vast detection rage, low power consumption, and more
Interface
I2C
Feature
ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on Color 12 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Lux Detection Range | - | 50 | - | klx |
Flicker Detection Range | - | 10 | - | klx |
Peak Wavelength (R/G/B/IR) | 645/545/460/810 | nm |
We provide a library for the Color 12 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for Color 12 Click driver.
Key functions
color12_get_color_data
Color 12 gets the color measurement result function.
color12_set_config
Color 12 sets the configuration function.
color12_get_config
Color 12 gets the configuration function.
Example Description
This library contains API for the Color 12 Click driver. The demo application sets sensor configuration and reads and displays RGB/IR measurement results.
void application_task ( void )
{
if ( COLOR12_OK == color12_get_color_data( &color12, COLOR12_DATA_RED, &color_data ) )
{
log_printf( &logger, " Red : %urn", color_data );
}
if ( COLOR12_OK == color12_get_color_data( &color12, COLOR12_DATA_GREEN, &color_data ) )
{
log_printf( &logger, " Green : %urn", color_data );
}
if ( COLOR12_OK == color12_get_color_data( &color12, COLOR12_DATA_BLUE, &color_data ) )
{
log_printf( &logger, " Blue : %urn", color_data );
}
if ( COLOR12_OK == color12_get_color_data( &color12, COLOR12_DATA_IR, &color_data ) )
{
log_printf( &logger, " IR : %urn", color_data );
}
log_printf( &logger, " ---------------------- rn" );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.