Skip to content
TCS230 TCS3200 RGB Color Sensor Library
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Updated documentation to doxygen standard Feb 15, 2018
docs
examples - Under version Control Nov 14, 2016
media Updated documentation to doxygen standard Feb 15, 2018
src Added LICENCE, fixed url in library.properties, updated documentation. Jul 18, 2018
.gitignore Updated documentation to doxygen standard Feb 15, 2018
Doxyfile.dox Updated documentation to doxygen standard Feb 15, 2018
LICENSE Added LICENCE, fixed url in library.properties, updated documentation. Jul 18, 2018
README.md Added LICENCE, fixed url in library.properties, updated documentation. Jul 18, 2018
keywords.txt - Under version Control Nov 14, 2016
library.properties Added LICENCE, fixed url in library.properties, updated documentation. Jul 18, 2018

README.md

MD_TCS230

The TCS230 is a color light-to-frequency converter on single CMOS integrated circuit. The output is a square wave (50% duty cycle) with frequency directly proportional to light intensity (irradiance). The full-scale output frequency can be scaled by one of three preset values via two control input pins. Output enable (OE) places the output in the high-impedance state for multiple-unit sharing of a microcontroller input.

Library example code includes:

  • Simple blocking read from the sensor
  • Simple RGB non-blocking read
  • Example incorporating sensor calibration
  • Color learning and matching

If you like and use this library please consider making a small donation using PayPal

Library Documentation

IMPORTANT NOTE

This library has a dependency on the FreqCount library for frequency counting (https://github.com/PaulStoffregen/FreqCount).

Please read the setup information in the FreqCount header file or its distribution web site. The type of Arduino that you are running will determine which pin should be used for connecting to the sensor's output pin. This is the most commonly asked question once the library is downloaded, so read the documentation and avoid frustration!

You can’t perform that action at this time.