Color 4 Click Board™
Product Code: MIKROE-2220
How Does The Color 4 Click Board™ Work? The Color 4 Click Board™ is based on the VEML6040, an advanced RGB/ambient light sensor from Vishay Semiconductors, providing fast and accurate spectral measurements. It is based on the Filtron™ technology achieving the closest ambient light spectral sensitivity to real-human eye responses. The VEML6040 senses red, green, blue, and white light and processes those signals by a signal conditioning circuit designed with CMOS technology. This digital RGBW information can be used in feedback control systems, among other things, to monitor and actively control a light source. The Color 4 Click Board™ detects light intensity under multiple lighting conditions and through different attenuation materials, including dark glass. The VEML6040 provides a selectable measurement range from 515.4lx up to 16.496lx with the highest sensitivity of 0.007865lx/step. Its peak sensitivities for red, green, and blue are 645nm, 575nm, and 460nm, respectively. Moreover, it provides excellent temperature compensation, keeping the output stable under changing temperatures.
The Color 4 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. The VEML6040 contains one configuration register (00h) used for operation control and parameter setup. Its measurement results are stored in four separate registers, each for red, green, blue, and white, with addresses from 08h to 0Bh, respectively. All registers are 16-bit wide.
The board can be operated only 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
Color Sensing
Applications
Can be used for industrial, mechanical, and consumer applications
On-board modules
VEML6040 - advanced RGB/ambient light sensor from Vishay Semiconductors
Key Features
Integrated RGBW and signal conditioning, Filtron™ technology provides real-human eye responses, supports low transmittance (dark) lens, high resolution, selectable detection range, high sensitivity, I2C interface, 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 4 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
NC
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 4 CLICK ELECTRICAL SPECIFICATIONS
Description
Min
Typ
Max
Unit
Supply Voltage
-
3.3
-
V
Spectral Response
515.4
-
16.496
lx
Sensitivity
-
0.007865
-
lx/step
Peak Wavelength (R/G/B)
-
645/575/460
-
nm
Resolution
-
16
Visit the Debug Store website for more information on Color 4 Click Board™