/SparkFun_Tristimulus_Color_Sensor-OPT4048

Documentation and Hardware for the SparkFun Tristimulus Color Sensor OPT4048

Primary LanguageHTMLOtherNOASSERTION

SparkFun Tristimulus Color Sensor - OPT4048

SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) SparkFun Mini Tristimulus Color Sensor - OPT4048DTSR (Qwiic)

The SparkFun Qwiic Tristimulus Color Sensors are built around the OPT4048 High-Speed High Precision Tristimulus XYZ Color Sensor from Texas Instruments. These sensors feature a single-chip high-resolution color sensor capable of measuring four channels, each with specific engineered spectral responses. The main breakout board is only 1" x 1", while the Mini is 0.5" by 1". Both have been equipped with two I2C Qwiic connectors to make interfacing with the OPT4048 a bit easier. It’s part of SparkFun’s Qwiic connect system, so you won’t have to do any soldering to figure out how things are oriented. However, we still have broken out 0.1"-spaced pins if you prefer to use a breadboard.

Three of the four channels on the OPT4048DTSR closely match the CIE tristimulus spectra, with the fourth channel having a wide-band spectral response. With measurements from these channels, essential characteristics of the lighting environment can be extracted, like (i) light intensity (lux), (ii) color in CIE XY, LUV coordinates, and (iii) Correlated Color Temperature. This aids in applications where measuring the precise characteristics of the lighting environment is critical, like display brightness, color temperature adjustment, camera color temperature correction, object true color recognition, & medical applications.

We've written an Arduino library to make reading the various measurements easy. It can be downloaded through the Arduino Library manager: search for 'SparkFun OPT4048', or it can be found in the Documents section.

Repository Contents

  • /Hardware - Eagle design files (.brd, .sch)
  • /Production - Production panel files (.brd)
  • /docs - Related software for the

Documentation

  • Library - Arduino library for the SparkFun Tristimulus Color Sensor - OPT4048.
  • Hookup Guide - Basic hookup guide for the SparkFun Tristimulus Color Sensor - OPT4048.

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.