M5Stack Unit Color Pinout

Unit Color uses the TCS34725 to measure red, green, blue and clear light. Two white LEDs illuminate the target. Port A carries 5 V power and I²C.

Main pinout

100%Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show circuit details

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

4 visible
PinMCU pinTypesNotes
GNDJ1.4. Common ground and supply return.
PowerJ1.3. Nominal 5 V supply input.
I2CJ1.2. Bidirectional open-drain I²C data.
I2CJ1.1. I²C clock from the host.

Specifications

Model
Unit Color · U009
Sensor
ams TCS34725FN · RGBC sensing with IR blocking
Serial bus
I²C · Fixed 7-bit address 0x29 · Up to 400 kHz at the sensor
Socket
PORT.A / J1 · HY2.0-4P · 2.0 mm pitch
Power and logic
5 V nominal input · 3.3 V I²C with onboard 4.7 kΩ pull-ups
Optical conversion
16-bit readings per channel · 1×, 4×, 16× or 60× gain
Enclosure
32 × 24 × 8 mm · Two mounting holes

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Unit Color U009Product documentationM5StackSKU, photos, cable colors and mechanical drawing.Datasheet
Unit Color U009Circuit schematicM5StackSheet V1.0, 2018-07-19. J1 numbering, power and sensor nets.Datasheet
TCS34725FNSensor datasheetamsPin functions, I²C timing and the 0x29 address.Datasheet
Unit Color enclosureMechanical CADM5StackOptical opening, socket cutout and mounting geometry.Datasheet

Board notes

Socket orientation
With the window facing you and the socket below it, the contacts read GND, 5V, SDA and SCL from left to right. SCL is J1.1 on the right. Viewed from the back with the socket end down, the sticker reads SCL, SDA, 5V and GND.
Illumination and interrupt
Both white LEDs are powered from the 5 V input through individual resistors. The sensor's INT terminal ends at the internal JP1 test node. Port A has four contacts.
PCB revision
The case label identifies the TCS34725 sensor. V1.0 is the revision shown on the schematic. The enclosed PCB revision is unconfirmed.