Skip to main content

Color Sensor (EF05006)

Back to article list

Note: All the preset colors match the color cards in the AI Lens Kit. For any other colors not listed, it's best to judge them based on their HUE values, as the results can vary depending on the object's color and how light reflects off its surface.

Sample Code

Hardware Connection: Connect the Colour sensor to IIC port and the OLED module to another IIC port in the Nezha Pro Breakout board.

Result: The colour of the detected object displays on the OLED module.

Specification

Item Parameter
SKU EF05006
Connection RJ11
Type of Connection IIC
Working Voltage 3.3V
Size 55.8 x 23.8 mm