To begin reading sensor data, you will need to install the
The easiest way to do that is to open up the Manage Libraries... menu in the Arduino IDE
Then search for Adafruit TCS34725 and click Install
We also have a great tutorial on Arduino library installation at:
Run the TCS34725 test sketch to verify that your sensor is working properly.
Upload the sketch to your Aruduino or Flora and open the Serial Monitor to see the output. The sketch should print out basic color measurement parameters as shown below. Move the sensor around, cover it and/or expose it to different light sources to see how it reacts.
Color parameters reported are:
ColorView ComponentsIn addition to a processor and a color sensor, you will need an RGB LED and some resistors:
ColorView WiringIn addition to the basic power and I2C wiring, you will need the following connections: