×

SparkFun will be closed Monday 7/4/2022 for the 4th of July holiday. Orders placed after 2 pm MT on Friday 7/1/2022 will be processed on Tuesday 7/6/2022. SparkFun Support will also resume on Tuesday 7/6/2022. Have a safe holiday!

MIKROE Color 8 Click

Color 8 Click is a color-sensing Click board™, a part of the sensor Click board™ line. Sensing the color by utilizing ROHM’s BH1749NUC, an integrated color sensor IC, it comes in the package which also includes the mikroSDK™ software, a library with all the functions. The Click board™ comes as a fully tested and approved prototype, making it a reliable device ready to use on the development board. It is perfect for sensing the subtle light changes, as it is equipped not only with the red, green, and blue (RGB) but also the infra-red sensor, allowing a very accurate measurement of the subtlest changes in light.

The great precision of color measuring is achieved with features such as the IRCUT filter which reduces the influence of the IR light to non-IR sensing elements, a dedicated IR photosensor, 50/60 Hz noise rejection algorithm, three independent 16-bit A/D converters, and very high color sensitivity with the programmable integrator and gain amplifier.

In addition to high accuracy and sensitivity, this color sensor also offers a programmable interrupt pin, which can be used to trigger an interrupt on the host MCU. This allows a more efficient controller firmware to be written. Features, such as the high dynamic range, programmable gain and integration time, a very high sensitivity, a flexible interrupt engine, and more, make it a very convenient solution for LED lighting color management, TFT display color correction, display color correction on mobile devices, and other similar applications that require an accurate color sensing.

Color 8 Click utilizes the BH1749NUC, an integrated color sensor IC, made by ROHM Semiconductor. This highly advanced four-channel color sensing device incorporates an IRCUT filter, that is used to block a portion of light in the IR spectrum, which can interfere with the readings of three independent photo-diodes, used to sense red, green and blue components of the light. However, it features an additional IR photo-sensing element, which is used to detect the intensity in the IR range. The IR measurement value can be used as a compensation parameter for the accurate color calculation.

The color intensity sensing is roughly matched to the sensitivity of the human eye, so the sensor is the most sensitive in the range between 500nm and 600nm. The datasheet of the BH1749NUC offers an intensity over the wavelength diagram, so an accurate color calculation can be made in respect to the variable sensitivity of the sensor over the light wavelength.

There are three independent A/D converters which are used to digitize the color intensity in 16-bit resolution. One of the converters, which is otherwise used for the blue light, is internally multiplexed with the IR photo-diode. A programmable transimpedance gain amplifier (TIA) is available for both the RGB and IR channels, allowing amplification of the signal in the range from 1x to 32x. When using the highest gain ratio, in combination with the longest measurement time, which can be set up to 240ms, it is possible to achieve very high resolution of 0.0125 lx per count. The color and IR conversion results are available at the output registers in MSB/LSB format. Color 8 Click communicates with the host MCU over the I2C interface, with its pin routed to the appropriate SCL and SDA pins of the mikroBUS™.

The I2C address can be selected between two possible values: The peripheral I2C address depends on the state of the ADDR pin: if the pin at LOW logic level (0), the 7-bit I2C peripheral address is 0x38. If the pin is at the HIGH logic level (1), the I2C address is 0x39. The I2C peripheral address selection can be done by switching the SMD jumper labeled as ADDR SEL to an appropriate position: left position for logic 0, right position for logic 1.

The powerful interrupt engine allows more optimized firmware for the controller (MCU) to be written. The interrupt engine allows 16-bit values for the upper and lower threshold levels to be defined, as well as the persistence interval during which the event has occurred, before the interrupt is triggered, and more. Also, the user has the possibility to select which channel is included in the interrupt event detection (R, G, or B channel)

The BH1749NUC requires a very low number of external components. It requires only pull-up resistors for the I2C bus lines and the INT pin, which is an open-drain interrupt line. This leaves room for yet another IC. The PCA9306, a bi-directional I2C level translator, from Texas Instruments, is often used in many Click board™ designs, due to its reliability and simplicity. It shifts the voltage levels of I2C and INT lines, thus allowing communication with MCUs that use both 3.3V and 5V as the communication voltage level. By moving the SMD jumper labeled as VCC SEL, it is possible to change the reference voltage for the PCA 9306, effectively changing the voltage level of the communication lines.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • ADC Resolution: 16bit
  • Signal Gain Ratio: Min. 1X, Max. 32X
  • Intensity Detection Range: 80klx

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.