Quark D2000 I2C Interfacing Add a Color Sensor and Asynchronous Mode Using Arduino

Color Sensor and Asynchronous Mode
We finish up our project using I2C on the Quark D2000 development board with the addition of a color sensor and an object color identifier program. Finally, we revisit interfacing the BH1750FVI ambient light sensor using asynchronous mode I2C.Color Sensor and Asynchronous ModeBefore continuing in this article, consider reading through part one of the article: Quark D2000 I2C Interfacing: Add a Light Sensor and an LCD

Be sure to consult the reference links below:

Add a Color Sensor

Color sensors have been around for a while and I wanted to try my hand at constructing a color identifier. That is, I wanted to build a circuit and program that would identify the color of an object and display that color on an LCD screen.

I chose the Flora color sensor from Adafruit. The module, illustrated below, is based on the TCS34725 color sensor chip and includes an I2C interface.

The sensor has an infra-red filter and the module has a white illumination LED on board for object illumination. This module is intended for wearables and they also have an alternative module that is more breadboard friendly and lets you control the illumination LED.

Module connection to the D2000 is straightforward and is illustrated on the right side of the picture above. Note from the module’s schematic that it already includes 10K pullup resistors on the I2C lines, so you should exclude the pullup resistors on the LCD display as described.

Read more: Color Sensor and Asynchronous Mode

Leave a Comment

Your email address will not be published. Required fields are marked *