Color 3 click - MikroElektonika Documentation
Part | Datasheet |
---|---|
![]() |
MIKROE-2103 (pdf) |
PDF Datasheet Preview |
---|
Color 3 click - MikroElektonika Documentation Color 3 click From MikroElektonika Documentation Color 3 click is a mikroBUS add-on board with a TCS3771 color sensor also known as a light-todigital converter and a narrow beam Infrared LED. The circuit can also function as a proximity sensor. Color 3 click Features and usage notes TCS3771 is a RGBC sensor red, green, blue and clear . It consists of an array of 4x4 photodiodes and integrated amplifiers, 16-bit ADCs, accumulators, clocks, buffers, comparators and state machines. The IC performs well under a variety of lighting conditions and can be covered with different attenuation materials. Schematic also available in PDF detection in front of monitors or laptops. Paired with an onboard IR LED, the TCS3771 device works a proximity sensor the emitted IR LED is reflected back to the photodiodes . Since the sensor has a large dynamic range of operation, Color 3 click can take both short distance measurements behind dark glass or it can be configured for longer distance measurement, for example, human presence For power-saving, TCS3771 has an internal state machine that can put the device into a low power mode between successive RGBC and proximity measurements. TCS3771 is also fast enough to give off proximity information at a high rate of repetition. This makes it useful for proximity detection in portable devices such as a phone coming near to a speaker’s ear . Color 3 click communicates with the target MCU through the mikroBUS I2C interface, with additional functionality provided by an INT pin. Designed to use a power supply only. Programming Color 3 click IC/Module TCS3771 Interface I2C, INT Power 3.3V supply Website The following code snippet shows how to send temperature readings from Color 3 click to a TFT display. 1 void main //Local Declarations uint8_t _i2c_address = 0x29; color_t my_color; // GPIOs GPIO_Digital_Input &GPIOD_BASE, _GPIO_PINMASK_10 ; Delay_ms 300 ; // I2C I2C1_Init_Advanced &_GPIO_MODULE_I2C1_PB67 ; Delay_ms 300 ; //Color 3 color_3_init _i2c_address ; Delay_ms 300 ; color_3_get_rgb_data &my_color ; while 1 Code examples that demonstrate the usage of Color 3 click with MikroElektronika hardware, written for mikroC for ARM, AVR, dsPIC, FT90x, PIC and PIC32 are available on Libstock Resources Vendor’s data sheet Color 3 click Libstock example mikroBUS standard specification Retrieved from 11/2/2016 |
More datasheets: H11F23S | H11F3S | H11F1W | H11F3W | H11F2 | H11F1 | H11F3 | DDMM-24W7S-A101 | MDM-25SH025F | DAMA15PA101 |
Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived MIKROE-2103 Datasheet file may be downloaded here without warranties.