







How Does The Color 12 Click Board™ Work?
The Color 12 Click Board™ is based on the BU27006MUC-Z, an advanced digital colour 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 various 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.
The Color 12 Click Board™ 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.
SPECIFICATIONS
Type | Optical |
Applications | It 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 colour sensor from Rohm Semiconductor |
Key Features | Senses RGB/IR, integrated flicker detection, built-in IR-cut filter, rejecting light noise for colour sensing, I2C serial interface, vast detection rage, low power consumption, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Color 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
COLOR 12 CLICK ELECTRICAL SPECIFICATIONS
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 |
Software Support
We provide a library for the Color 12 Click Board™ and a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MIKROE Github account.
Library Description
This library contains API for the Color 12 Click Board™ driver.
Key functions
-
color12_get_color_data
Color 12 gets the colour 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 Board™ 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 The package Manager (recommended), is downloaded from our LibStock™ or found on the MIKROE Github account.
Other MIKROE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Color12
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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.
MIKROSDK
The Color 12 Click Board™ is supported with mikroSDK - MIKROE Software Development Kit, which 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.
Color 12 Click Board
Frequently Asked Questions
Ask a Question-
How can I use the Color 12 Click Board™?
To use the Color 12 Click Board™, you need to connect it to a system equipped with the mikroBUS™ socket. Then, you can use the provided mikroSDK-compliant library and functions to interface with the board and develop your software.
-
Is the Color 12 Click Board™ a fully tested product?
Yes, the Color 12 Click Board™ comes as a fully tested product, ready for use on a system equipped with the mikroBUS™ socket.
-
Is there a software library available for the Color 12 Click Board™?
Yes, the Color 12 Click Board™ is supported by a mikroSDK-compliant library. This library includes functions that simplify software development for the Click Board™.
-
What applications is the Color 12 Click Board™ suitable for?
The Color 12 Click Board™ is suitable for residential and commercial lighting management, contrast enhancement, detection of ambient light for backlight control, and more.
-
Can the Color 12 Click Board™ detect flicker noise?
Yes, the Color 12 Click Board™ can effectively detect flicker noise originating from displays and room lighting. It has a typical sensitivity of 10klx for flicker detection.
-
What are the key features of the BU27006MUC-Z sensor?
The BU27006MUC-Z sensor has remarkable high sensitivity, a wide dynamic range, and exceptional IR-cut characteristics. It enables precise illuminance measurement, typically up to 50klx, and accurate ambient light colour temperature determination.
-
How does the Color 12 Click Board™ convert light into digital values?
The Color 12 Click Board™ efficiently converts the sensed light into digital values via the I2C interface.
-
What can the BU27006MUC-Z sensor sense?
The BU27006MUC-Z sensor can sense Red, Green, Blue (RGB), and Infrared light.
-
What is the Color 12 Click Board™?
The Color 12 Click Board™ is a compact add-on board that provides an accurate colour-sensing solution. It features the BU27006MUC-Z, a digital colour sensor from Rohm Semiconductor with an integrated flicker sensing function.