Mikroelektronika d.o.o.
Color 16 Click Board
Color 16 Click Board
Couldn't load pickup availability
Key Features:
- 14 optical channels distributed over visible spectrum, near-infrared, and clear channel, dedicated functions such as flicker detection, high senistivity, fast measurements, low power consumption, interrupt, and more
- Based on the AS7343 - multi-purpose spectral sensor from ams AG
- Can be used for reflective, transmissive, and emissive light applications
- mikroBUS: I2C Interface
The Color 16 Click Board™ is a compact add-on board providing an accurate colour-sensing solution. This board features ams AG’s AS7343, a 14-channel multi-purpose spectral sensor offering spectral response through a compatible I2C interface. It has a built-in aperture that controls the light entering the sensor array to increase accuracy, alongside precise optical filters integrated into standard CMOS silicon via deposited interference filter technology. The spectral response is defined by individual channels covering approximately 380nm to 1000nm with 11 channels centred in the visible spectrum, one near-infrared, and a clear channel. This Click board™ is suitable for reflective, transmissive, and emissive light applications.
The Color 16 Click Board™ is supported by a mikroSDK-compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505348319.jpg?v=1685088290&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505053407.jpg?v=1685088293&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505020639.jpg?v=1685088117&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505118943.jpg?v=1685088287&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505086175.jpg?v=1685088297&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505315551.jpg?v=1685088118&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505250015.jpg?v=1685088122&width=1445)
![Mikroelektronika d.o.o. MIKROE-5421 Color 16 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-color-16-click-board-39040505381087.jpg?v=1685088284&width=1445)
How Does The olor 16 Click Board™ Work?
The Color 16 Click Board™ is based on the AS7343, a 14-channel multi-purpose spectral sensor from ams AG, providing fast and accurate spectral measurements. It is optimized for reflective (thanks to an onboard LDC red LED controlled through AN pin of the mikroBUS™ socket), transmissive, and emissive light applications, including colour matching, fluid or reagent analysis, lateral flow test applications, and spectral identification in the visible range. The AS7343 has a built-in aperture that controls the light entering the sensor array to increase accuracy. The spectral response is defined by individual channels covering approximately 380nm to 1000nm with 11 channels centred in the visible spectrum, one near-infrared, and a clear channel.
The AS7343 features a 5x5 photodiode array. On top and below the photodiode array are two photodiodes with dedicated functions such as flicker detection and near-infrared response. In contrast, the array has a photodiode in each corner without filter responsive in the visible spectral range. The AS7343 can detect 14 channels: 12 wavelengths, plus a clear and flicker output channel, making this Click board™ great for LED colour calibration, miniature optical spectrometers, and more.
This sensor does not need a specific Power-Up sequence but requires a voltage of 1.8V for its interface and logic part to work correctly. Therefore, a small regulating LDO, the TLV700, provides a 1.8V out of 3.3V mikroBUS™ power rail.
The Color 16 Click Board™ communicates with MCU using the standard I2C 2-Wire interface with a maximum clock frequency of 400kHz, fully adjustable through software registers. Since the sensor for operation requires a power supply of 1.8V, this Click board™ also features the PCA9306 and SN74LVC1T45 voltage-level translators. The I2C interface bus lines are routed to the voltage-level translators allowing this Click board™ to work with 3.3V MCU properly. Also, it uses an interrupt pin, the INT pin of the mikroBUS™ socket, used when an interrupt occurs to alert the system when the color result crosses upper or lower threshold settings.
The Color 16 Click Board™ can only operate 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 | Colour Sensing, Optical |
Applications | It can be used for reflective, transmissive, and emissive light applications |
On-board modules | AS7343 - multi-purpose spectral sensor from ams AG |
Key Features | 14 optical channels distributed over the visible spectrum, near-infrared, and clear channel, dedicated functions such as flicker detection, high sensitivity, fast measurements, low power consumption, 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 of the Color 16 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
LDC Control | AN | 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 |
LD2 | LDC | - | Light Source |
COLOR 16 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Spectral Range | 380 | - | 1000 | nm |
Software Support
We provide a library for the Color 16 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 16 Click Board™ driver.
Key functions
-
color16_read_data
This function checks if the spectral measurement data is ready and reads data from all channels along with the STATUS and ASTATUS bytes. -
color16_set_wait_time_ms
This function sets the wait time in milliseconds by setting the WTIME register. -
color16_set_integration_time_ms
This function sets the integration time in milliseconds by setting the ATIME and ASTEP registers.
Example Description
This example demonstrates the use of the Color 16 Click Board™ by reading and displaying the values from all 14 channels.
void application_task ( void )
{
color16_data_t color_data;
if ( COLOR16_OK == color16_read_data ( &color16, &color_data ) )
{
log_printf ( &logger, " STATUS: 0x%.2Xrn", ( uint16_t ) color_data.status );
log_printf ( &logger, " ASTATUS: 0x%.2Xrn", ( uint16_t ) color_data.astatus );
log_printf ( &logger, " ------- Cycle 1 -------rn" );
log_printf ( &logger, " Channel FZ: %urn", color_data.ch_fz );
log_printf ( &logger, " Channel FY: %urn", color_data.ch_fy );
log_printf ( &logger, " Channel FXL: %urn", color_data.ch_fxl );
log_printf ( &logger, " Channel NIR: %urn", color_data.ch_nir );
log_printf ( &logger, " Channel 2xVIS_1: %urn", color_data.ch_2x_vis_1 );
log_printf ( &logger, " Channel FD_1: %urn", color_data.ch_fd_1 );
log_printf ( &logger, " ------- Cycle 2 -------rn" );
log_printf ( &logger, " Channel F2: %urn", color_data.ch_f2 );
log_printf ( &logger, " Channel F3: %urn", color_data.ch_f3 );
log_printf ( &logger, " Channel F4: %urn", color_data.ch_f4 );
log_printf ( &logger, " Channel F6: %urn", color_data.ch_f6 );
log_printf ( &logger, " Channel 2xVIS_2: %urn", color_data.ch_2x_vis_2 );
log_printf ( &logger, " Channel FD_2: %urn", color_data.ch_fd_2 );
log_printf ( &logger, " ------- Cycle 3 -------rn" );
log_printf ( &logger, " Channel F1: %urn", color_data.ch_f1 );
log_printf ( &logger, " Channel F5: %urn", color_data.ch_f5 );
log_printf ( &logger, " Channel F7: %urn", color_data.ch_f7 );
log_printf ( &logger, " Channel F8: %urn", color_data.ch_f8 );
log_printf ( &logger, " Channel 2xVIS_3: %urn", color_data.ch_2x_vis_3 );
log_printf ( &logger, " Channel FD_3: %urn", color_data.ch_fd_3 );
log_printf ( &logger, " -----------------------rnn" );
Delay_ms ( 300 );
}
}
The complete 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.Color16
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 16 Click Board™ is supported with mikroSDK - MikroE 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 16 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)