Summary of Quark D2000 I2C Interfacing Add a Color Sensor and Asynchronous Mode
This article completes a Quark D2000 I2C interfacing project by adding a color sensor and an object color identification program. It revisits using the BH1750FVI ambient light sensor in asynchronous I2C mode and explains integrating the Adafruit Flora color sensor (based on the TCS34725 chip) to detect and display object colors on an LCD. The article also references earlier parts and resources for further understanding of the Quark D2000 development board and its I2C capabilities.
Parts used in the Quark D2000 I2C Color Sensor Project:
- Quark D2000 development board
- Flora color sensor (Adafruit) based on TCS34725 chip
- BH1750FVI ambient light sensor
- LCD screen

Before 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:
- Overview of the Quark D2000 development board
- Using GPIO and PWM on the Quark D2000 development board
- Main Quark D2000 documentation page (links to user guides, design notes, schematics, and more)
- Intel Quark Microcontrollers forum
- Intel System Studio forum
- Where to get the Quark D2000 development board (1) (2)
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.
Read More: Color Sensor and Asynchronous Mode