Skip to content

Hardware Overview

Color Sensor - OPT4048

The OPT4048 from Texas Instruments is a single-chip high resolution color sensor, capable of measuring four channels each with specific engineered spectral responses. Three of the four channels closely match the CIE tristimulus spectra with the fourth channel having a wide band spectral response. With measurements from these channels, important 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. For more information, refer to the datasheet.


The OPT4048 on the Tristimulus Color Sensor.

The OPT4048 on the Mini Tristimulus Color Sensor.

  • The OPT4048 on the Tristimulus Color Sensor.

  • The OPT4048 on the Mini Tristimulus Color Sensor.

Qwiic Connectors

The boards include two Qwiic connectors on each side of the board.


The QwiicConnectors on the Tristimulus Color Sensor.

The QwiicConnectors on the Mini Tristimulus Color Sensor.

  • The QwiicConnectors on the Tristimulus Color Sensor.

  • The QwiicConnectors on the Mini Tristimulus Color Sensor.

Power Pins

Ideally, power to these boards will be provided by the Qwiic cables. However, should you wish to provide power separately, the boards have pins broken out to PTH and you can wire up power via these.

Warning

Make sure to pay attention to logic levels - supply voltage range should be between 1.71V - 3.6V.


The Power Pins on the Tristimulus Color Sensor.

The Power Pins on the Mini Tristimulus Color Sensor.

  • Power pins for the Tristimulus color board are highlighted
    The Power Pins on the Tristimulus Color Sensor.

  • Power pins for the Mini Tristimulus color board are highlighted
    The Power Pins on the Mini Tristimulus Color Sensor.

I2C Pins

If you do not want to use the Qwiic connectors, I2C functionality has been broken out to PTH pins.


The I2C Pins on the Tristimulus Color Sensor.

The I2C Pins on the Mini Tristimulus Color Sensor.

  • The I2C Pins on the Tristimulus Color Sensor.

  • The I2C Pins on the Mini Tristimulus Color Sensor.

LEDs

When appropriate power is provided to the board, the power LED lights up on the front of the board.


The Power LED on the Tristimulus Color Sensor.

The Power LED on the Mini Tristimulus Color Sensor.

  • The Power LED on the Tristimulus Color Sensor.

  • The Power LED on the Mini Tristimulus Color Sensor.

Jumpers

Never modified a jumper before?

Check out our Jumper Pads and PCB Traces tutorial for a quick introduction!

Tutorial's thumbnail
How to Work with Jumper Pads and PCB Traces

Address Selection

The SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) boards have a default I2C address of 0x44, but by manipulating the address jumpers on the back of the board, you can select 0x45 or 0x46.


The Address Jumpers on the Tristimulus Color Sensor.

The Address Jumpers on the Mini Tristimulus Color Sensor.

  • The Address Jumpers on the Tristimulus Color Sensor.

  • The Address Jumpers on the Mini Tristimulus Color Sensor.

LED Jumpers

If you are concerned about power consumption or you just don't like LEDs, cut the traces here to disconnect the Power LED from, you guessed it, power.


The LED Jumpers on the Tristimulus Color Sensor.

The LED Jumpers on the Mini Tristimulus Color Sensor.

  • The LED Jumper on the Tristimulus Color Sensor.

  • The LED Jumper on the Mini Tristimulus Color Sensor.

I2C

Like our other Qwiic boards, the SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) boards come equipped with pull-up resistors on the clock and data pins. If you are daisy-chaining multiple Qwiic devices, you will want to cut this jumper; if multiple sensors are connected to the bus with the pull-up resistors enabled, the parallel equivalent resistance will create too strong of a pull-up for the bus to operate correctly. As a general rule of thumb, disable all but one pair of pull-up resistors if multiple devices are connected to the bus. To disable the pull up resistors, use an X-acto knife to cut the joint between the two jumper pads highlighted below.


The I2C Jumper on the Tristimulus Color Sensor.

The I2C Jumper on the Mini Tristimulus Color Sensor.

  • The I2C Jumper on the Tristimulus Color Sensor.

  • The I2C Jumper on the Mini Tristimulus Color Sensor.

Board Dimensions

The SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) follows the standard 1" x 1" convention of most of our Qwiic breakout boards.

SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) Board Outline

SparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic) Board Outline

The SparkFun Mini Tristimulus Color Sensor - OPT4048DTSR (Qwiic) measures 1" x 0.5".

SparkFun 6DoF - BMI270 (Qwiic) Board Outline

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

Need more measurements?

For more information about the board's dimensions, users can download the Eagle files for the 1" x 1" board, or the Eagle files for the Mini board. These files can be opened in Eagle and additional measurements can be made with the dimensions tool.

Eagle - Free Download!

Eagle is a CAD program for electronics that is free to use for hobbyists and students. However, it does require an account registration to utilize the software.

Download from
:autodesk-primary:{ .autodesk }

📏 Dimensions Tool

This video from Autodesk demonstrates how to utilize the dimensions tool in Eagle, to include additional measurements: