Mikroelektronika d.o.o.
Color 13 Click Board
Color 13 Click Board
Couldn't load pickup availability
The Color 13 Click Board™ is a compact add-on board that measures the subtlest changes in light. This board features the APDS-9999, I2C compatible RGB, proximity detector, and vertical-cavity surface-emitting laser (VCSEL) in one optical module from Broadcom Limited. The APDS-9999 uses four individual channels of red, green, blue, and IR in a specially designed matrix arrangement allowing optimal angular response and accurate RGB spectral response with high Lux accuracy over various light sources. It detects light intensity under multiple lighting conditions and through different attenuation materials, including dark glass configurable as ambient light and RGB sensor.
This Click Board™ is suitable for ambient light and colour measurement, and proximity detection, allowing for maximum flexibility in applications.
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-30261153923261.jpg?v=1684994152&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-30261260910781.jpg?v=1685209257&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-30261099888829.jpg?v=1684994158&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-30261099069629.jpg?v=1684994327&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-30261098479805.jpg?v=1684994161&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-29805113147581.jpg?v=1685162099&width=1445)
![Mikroelektronika d.o.o. MIKROE-4741 Color 13 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-13-click-board-29805112852669.jpg?v=1685100713&width=1445)
How Does The Color 13 Click Board™ Work?
The Color 13 Click Board™ as its foundation uses the APDS-9999, an RGB and proximity sensor with 940nm VCSEL from Broadcom Limited. The APDS-9999 uses four individual channels of red, green, blue, and IR in a specially designed matrix arrangement allowing the device to have an optimal angular response and accurate RGB spectral response with high Lux accuracy over various light sources. The device detects light intensity under multiple lighting conditions and through different attenuation materials, including dark glass.
The APDS-9999 is configurable as ambient light and RGB sensor. It is also fast enough to provide proximity detection (PS) information at a high repetition rate, operating well from bright sunlight to dark rooms. PS resolution can be varied from 8 to 11 bits, with the measurement rate from 6.25ms to 400ms. To offset unwanted reflected light from the cover glass, a PS intelligent cancellation level register allows for an on-chip subtraction of the ADC count contributed by any unwanted reflected light from the cover glass.
The addition of the micro-optics lenses within the module provides highly efficient transmission and reception of infrared energy, lowering overall power dissipation. In addition, the APDS-9999 can be put into a low-power standby mode providing low average power consumption.
Color 13 Click communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Fast Mode operation with a clock frequency up to 400kHz. It also features an intelligent interrupt function that generates independent light and proximity interrupt signals, available on the INT pin of the mikroBUS™ socket, which reduces power consumption by eliminating polling communication traffic between the sensor and MCU.
This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with 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 | Colour Sensing, Optical |
Applications | Can be used for ambient light and colour measurement, and proximity detection, allowing for maximum flexibility in applications |
On-board modules | APDS-9999 - I2C compatible RGB, proximity detector, and vertical-cavity surface-emitting laser (VCSEL) in one optical module from Broadcom Limited |
Key Features | Low power consumption, RGB and ambient light sensing, proximity detection, works well under different light source conditions, programmable interrupt, 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 on Color 13 Click 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 13 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Detection Range | 0 | - | 60 | mm |
Peak Wavelength (R/G/B) | 610/550/470 | nm | ||
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
MikroE provides a library for the Color 13 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
Library Description
This library contains API for Color 13 Click driver.
Key Functions
color13_cfg_setup
- Config Object Initialization function.color13_init
- Initialization function.
Example Description
This application showcases the ability of a click board to read RGB and IR data from the device. Also, it can be configured to read proximity data and ALS data in lux units.
The application is composed of three sections :
void application_task ( void ) { switch ( example_type ) { case COLOR13_EXAMPLE_PS_LS: { color13_proximity_als_example( ); break; } case COLOR13_EXAMPLE_RGB: { color13_rgb_example( ); break; } default: { log_error( &logger, " Select example!" ); break; } } Delay_ms( 500 ); }
The full application code, and ready to use projects can be found on our LibStock page.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe GitHub account.
- MikroSDK.Board
- MikroSDK.Log
- Click.Color13
Additional Notes and Information
Depending on the development board you are using, you may need a 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Color 13 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif)